Download as txt, pdf, or txt
Download as txt, pdf, or txt
You are on page 1of 57

#!

/bin/sh

# Release 7.2.1.3-P3 [Build 49525]

nzsql -l > /tmp/LPGP_C_ENTITY_schema.sh_$$.sqlout


if egrep -iq '^ +LPGP_C_ENTITY +\|' /tmp/LPGP_C_ENTITY_schema.sh_$$.sqlout; then
echo "Database 'LPGP_C_ENTITY' already exists."
echo "Please verify the purpose and value of the existing database before
proceeding."
rm -f /tmp/LPGP_C_ENTITY_schema.sh_$$.sqlout
exit -1
fi
rm -f /tmp/LPGP_C_ENTITY_schema.sh_$$.sqlout

nzsql system -q <<-EOF

-- Create Database
\echo -n 'Creating "LPGP_C_ENTITY" database...'
create database LPGP_C_ENTITY;
\echo 'done.'

EOF

export NZ_ENCODING=utf8
nzsql LPGP_C_ENTITY -q <<-EOF

-- Number of Schemas = 1
-- Number of Tables = 2
-- Number of Views = 0
-- Number of Sequences = 0
-- Number of Synonyms = 0
-- Number of UDFs = 0
-- Number of Stored Procedures = 0
-- Number of UDAs = 0
-- Number of libraries = 0

-- Schema Definitions

\echo -n 'Creating Schemas...'

CREATE SCHEMA ADMBOEKH;


\echo -n .

\echo 'done(1 Schemas).'

-- Table Definitions

\echo -n 'Creating Tables'


CREATE TABLE ADMBOEKH.LPES_LINK_2 ( -- Number of Columns = 5
CODCLIENTEJDE INTEGER not null,
CODCLIENTENOLS INTEGER not null,
CLIENTE NATIONAL CHARACTER VARYING(42) not null,
MATRICULA NATIONAL CHARACTER VARYING(9),
COUNT INTEGER not null
) DISTRIBUTE ON RANDOM;
\echo -n .

CREATE TABLE ADMBOEKH.OUTFILE ( -- Number of Columns = 49


DATA_DATE CHARACTER VARYING(200),
ENTITY_CODE CHARACTER VARYING(2),
REGISTRATION_NUMBER NATIONAL CHARACTER VARYING(125),
UNIT_NUMBER NATIONAL CHARACTER VARYING(125),
CUSTOMER_NO NATIONAL CHARACTER VARYING(125),
CUSTOMER_NAME NATIONAL CHARACTER VARYING(125),
TO_TRANSFER_DATE CHARACTER VARYING(200),
FROM_TRANSFER_DATE CHARACTER VARYING(200),
UNIT_STATUS NATIONAL CHARACTER VARYING(125),
CHASSIS_NUMBER NATIONAL CHARACTER VARYING(125),
VEHICLE_DESC NATIONAL CHARACTER VARYING(377),
ADDED_MONTH BYTEINT,
YEAR_OF_REGISTRATION SMALLINT,
MANF_NAME NATIONAL CHARACTER VARYING(125),
MOD_DESCRIPTION NATIONAL CHARACTER VARYING(125),
START_DATE CHARACTER VARYING(200),
VEHICLE_REGISTRATION_DATE CHARACTER VARYING(200),
LEASE_TERM NUMERIC(3,0),
LEASE_MILEAGE NUMERIC(7,0),
CONTRACTUAL_END_DATE CHARACTER VARYING(200),
CAPITAL_COST NUMERIC(11,2),
NET_BOOK_VALUE NUMERIC(38,2),
MONTHS_IN_SERVICE NUMERIC(9,0),
INVOICE_DAY CHARACTER VARYING(2),
SALE_DATE CHARACTER VARYING(200),
SALE_AMOUNT NUMERIC(11,2),
MONTHLY_LEASE_PAYMENT NUMERIC(38,2),
MONTHLY_DEPRECIATION NUMERIC(38,2),
MONTHLY_MANAGEMENT_FEE NUMERIC(38,2),
MONTHLY_MAINTENANCE NUMERIC(38,2),
MONTHLY_ANCILLARY_MANAGEMENT NUMERIC(38,2),
MONTHLY_PROGRAM_FEE INTEGER,
MONTHLY_ROAD_TAX NUMERIC(38,2),
RESIDUAL_VALUE NUMERIC(38,2),
BILLED_INTEREST_RATE_PERCENTAGE NUMERIC(38,3),
MONTHLY_BILLED_INTEREST NUMERIC(38,2),
PROGRAM_TYPE NATIONAL CHARACTER VARYING(10) not null,
DELIVERY_STATION CHARACTER VARYING(10),
DSP_CODE CHARACTER VARYING(10),
CURRENCY_CODE NATIONAL CHARACTER VARYING(125),
FIRST_BILL_DATE CHARACTER VARYING(200),
FIRST_BILL_LEASING_AMOUNT NUMERIC(38,2),
FIRST_BILL_FREQUENCY INTEGER,
SECOND_BILL_DATE CHARACTER VARYING(200),
SECOND_BILL_LEASING_AMOUNT NUMERIC(38,2),
SECOND_BILL_FREQUENCY INTEGER,
LAST_BILL_DATE CHARACTER VARYING(200),
LAST_BILL_LEASING_AMOUNT NUMERIC(8,2),
LAST_BILL_FREQUENCY INTEGER
) DISTRIBUTE ON RANDOM;
\echo -n .

\echo 'done(2 tables).'

-- Load Statistics.
-- Template of stats output, fields are separated by TABs.
-- relname, relrefs, reltuples, relpages, attnum, attname, datatype, attdispersion,
staop, stanullfrac, stacommonfrac, starecent, stacommonval, staloval, stahival
--
\echo -n 'Updating Statistics'

------------- ADMBOEKH.LPES_LINK_2 -------------

-- ADMBOEKH.LPES_LINK_2 f 0 94086 26 1 CODCLIENTEJDE INTEGER


5.89866e-05 97 0 0 341 34
99250684 0 0 58807444 58807442
\echo -n .

UPDATE _t_class
SET
reltuples = 94086,
relrefs = 0,
relpages = 26
WHERE
oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
;

UPDATE _t_attribute
SET
attdispersion = (CAST (5.89866e-05 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 1 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);
INSERT INTO _t_statistic (
starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
1, 97, (CAST(0 as float)),
(CAST(0 as float)), '341', '',
'34 ', '99250684 ', 0, 0
);

-- ADMBOEKH.LPES_LINK_2 f 0 94086 26 2 CODCLIENTENOLS INTEGER


5.87889e-05 97 0 0 341 34
990002138 0 0 58807444 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (5.87889e-05 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 2 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
2, 97, (CAST(0 as float)),
(CAST(0 as float)), '341', '',
'34 ', '990002138 ', 0, 0
);

-- ADMBOEKH.LPES_LINK_2 f 0 94086 26 3 CLIENTE NATIONAL CHARACTER


VARYING(42) 5.88893e-05 1022 0 0 341 **CARGLASS BV SUCURSAL EN
ESPAÑA
ÑARUPARK S.A.
50 2339303 58807444 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (5.88893e-05 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 3 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
3, 1022, (CAST(0 as float)),
(CAST(0 as float)), '341', '',
'**CARGLASS BV SUCURSAL EN ESPAÑA
', 'ÑARUPARK S.A.
', 50, 2339303
);

-- ADMBOEKH.LPES_LINK_2 f 0 94086 26 4 MATRICULA NATIONAL CHARACTER


VARYING(9) 1.18163e-05 1022 0.0839338 0 341 *0095JRK
Z9564BM
11 776258 58807444 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1.18163e-05 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 4 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
4, 1022, (CAST(0.0839338 as float)),
(CAST(0 as float)), '341', '',
'*0095JRK
', 'Z9564BM
', 11, 776258
);

-- ADMBOEKH.LPES_LINK_2 f 0 94086 26 5 COUNT INTEGER 0.0128205


97 0 0 341 1 251
0 0 58807444 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0128205 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 5 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^LPES_LINK_2^ and objschemaoid =
(
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
5, 97, (CAST(0 as float)),
(CAST(0 as float)), '341', '',
'1 ', '251 ', 0, 0
);

------------- ADMBOEKH.OUTFILE -------------

-- ADMBOEKH.OUTFILE f 0 1153 22 1 DATA_DATE CHARACTER


VARYING(200) 0.5 1066 0 0 85 07/28/2019
09/01/2019
12 13836 58807445 58807442
\echo -n .

UPDATE _t_class
SET
reltuples = 1153,
relrefs = 0,
relpages = 22
WHERE
oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
;

UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 1 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 1 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
1, 1066, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'07/28/2019
', '09/01/2019
', 12, 13836
);

-- ADMBOEKH.OUTFILE f 0 1153 22 2 ENTITY_CODE CHARACTER


VARYING(2) 1 1066 0 0 85 UK
UK
4 4612 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 2 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 2 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
2, 1066, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'UK
', 'UK
', 4, 4612
);

-- ADMBOEKH.OUTFILE f 0 1153 22 3 REGISTRATION_NUMBER


NATIONAL CHARACTER VARYING(125) 0.0017331 1022 0 0 85
DA68ZLY
YL68RZC
9 10377 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0017331 as float))
WHERE
attnum = 3 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 3 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
3, 1022, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'DA68ZLY
', 'YL68RZC
', 9, 10377
);

-- ADMBOEKH.OUTFILE f 0 1153 22 4 UNIT_NUMBER NATIONAL CHARACTER


VARYING(125) 0.0017331 1022 0 0 85 UK-1216587
UK-1237474
12 13836 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0017331 as float))
WHERE
attnum = 4 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 4 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
4, 1022, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'UK-1216587
', 'UK-1237474
', 12, 13836
);

-- ADMBOEKH.OUTFILE f 0 1153 22 5 CUSTOMER_NO NATIONAL CHARACTER


VARYING(125) 0.0909091 1022 0 0 85 66388
78576
7 8071 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0909091 as float))
WHERE
attnum = 5 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 5 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
5, 1022, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'66388
', '78576
', 7, 8071
);

-- ADMBOEKH.OUTFILE f 0 1153 22 6 CUSTOMER_NAME NATIONAL


CHARACTER VARYING(125) 0.0909091 1022 0 0 85 AL Logistics Group
Limited
The Last Mile (DSP) Limited
37 37784 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0909091 as float))
WHERE
attnum = 6 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 6 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
6, 1022, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'AL Logistics Group Limited
', 'The Last Mile (DSP) Limited
', 37, 37784
);

-- ADMBOEKH.OUTFILE f 0 1153 22 7 TO_TRANSFER_DATE CHARACTER


VARYING(200) 0.0526316 1066 0.797918 0 85 01/11/2019
04/03/2019
12 2796 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0526316 as float))
WHERE
attnum = 7 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 7 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
7, 1066, (CAST(0.797918 as float)),
(CAST(0 as float)), '85', '',
'01/11/2019
', '04/03/2019
', 12, 2796
);

-- ADMBOEKH.OUTFILE f 0 1153 22 8 FROM_TRANSFER_DATE


CHARACTER VARYING(200) 1 1066 1 0 85

0 0 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 8 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 8 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
8, 1066, (CAST(1 as float)),
(CAST(0 as float)), '85', '',
'
', '
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 9 UNIT_STATUS NATIONAL CHARACTER


VARYING(125) 1 1022 0 0 85 Operational
Operational
13 14989 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 9 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 9 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
9, 1022, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'Operational
', 'Operational
', 13, 14989
);

-- ADMBOEKH.OUTFILE f 0 1153 22 10 CHASSIS_NUMBER NATIONAL


CHARACTER VARYING(125) 0.0017331 1022 0 0 85 WDB9106332P031229
WDB9106332P049244
19 21907 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0017331 as float))
WHERE
attnum = 10 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 10 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
10, 1022, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'WDB9106332P031229
', 'WDB9106332P049244
', 19, 21907
);

-- ADMBOEKH.OUTFILE f 0 1153 22 11 VEHICLE_DESC NATIONAL


CHARACTER VARYING(377) 1 1022 0 0 85 Mercedes Benz SPRINTER
314CDi FWD
Mercedes Benz SPRINTER 314CDi FWD
35 40355 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 11 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 11 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
11, 1022, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'Mercedes Benz SPRINTER 314CDi FWD
', 'Mercedes Benz SPRINTER 314CDi FWD
', 35, 40355
);

-- ADMBOEKH.OUTFILE f 0 1153 22 12 ADDED_MONTH BYTEINT 0.2


2525 0 0 85 1 12
0 0 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.2 as float))
WHERE
attnum = 12 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 12 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
12, 2525, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'1 ', '12 ', 0, 0
);
-- ADMBOEKH.OUTFILE f 0 1153 22 13 YEAR_OF_REGISTRATION
SMALLINT 0.5 95 0 0 85 2018
2019 0 0 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 13 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 13 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
13, 95, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'2018 ', '2019 ', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 14 MANF_NAME NATIONAL CHARACTER


VARYING(125) 1 1022 0 0 85 Mercedes Benz
Mercedes Benz
15 17295 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 14 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 14 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
14, 1022, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'Mercedes Benz
', 'Mercedes Benz
', 15, 17295
);

-- ADMBOEKH.OUTFILE f 0 1153 22 15 MOD_DESCRIPTION NATIONAL


CHARACTER VARYING(125) 1 1022 0 0 85 SPRINTER
SPRINTER
10 11530 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 15 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 15 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
15, 1022, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'SPRINTER
', 'SPRINTER
', 10, 11530
);

-- ADMBOEKH.OUTFILE f 0 1153 22 16 START_DATE CHARACTER


VARYING(200) 0.0277778 1066 0 0 85 01/02/2019
12/31/2018
12 13836 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0277778 as float))
WHERE
attnum = 16 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 16 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
16, 1066, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'01/02/2019
', '12/31/2018
', 12, 13836
);

-- ADMBOEKH.OUTFILE f 0 1153 22 17 VEHICLE_REGISTRATION_DATE


CHARACTER VARYING(200) 0.0454545 1066 0 0 85 01/20/2019
12/31/2018
12 13836 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0454545 as float))
WHERE
attnum = 17 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 17 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
17, 1066, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'01/20/2019
', '12/31/2018
', 12, 13836
);

-- ADMBOEKH.OUTFILE f 0 1153 22 18 LEASE_TERM NUMERIC(3,0)


1 1754 0 0 85 60
60 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 18 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 18 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
18, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'60 ', '60
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 19 LEASE_MILEAGE NUMERIC(7,0)


1 1754 0 0 85 150000
150000 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 19 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 19 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
19, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'150000 ', '150000
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 20 CONTRACTUAL_END_DATE


CHARACTER VARYING(200) 0.0277778 1066 0 0 85 01/01/2024
12/30/2023
12 13836 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0277778 as float))
WHERE
attnum = 20 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 20 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
20, 1066, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'01/01/2024
', '12/30/2023
', 12, 13836
);

-- ADMBOEKH.OUTFILE f 0 1153 22 21 CAPITAL_COST


NUMERIC(11,2) 1 1754 0 0 85 24067.16
24067.16 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 21 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 21 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
21, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'24067.16 ', '24067.16
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 22 NET_BOOK_VALUE


NUMERIC(38,2) 0.0114943 1754 0 0 85 -2095.17
45306.49 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0114943 as float))
WHERE
attnum = 22 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 22 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);
INSERT INTO _t_statistic (
starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
22, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'-2095.17 ', '45306.49
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 23 MONTHS_IN_SERVICE NUMERIC(9,0)


0.25 1754 0 0 85 8
11 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.25 as float))
WHERE
attnum = 23 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 23 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
23, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'8 ', '11
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 24 INVOICE_DAY CHARACTER


VARYING(2) 1 1066 0 0 85 15
15
4 4612 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 24 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 24 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
24, 1066, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'15
', '15
', 4, 4612
);

-- ADMBOEKH.OUTFILE f 0 1153 22 25 SALE_DATE CHARACTER


VARYING(200) 1 1066 1 0 85

0 0 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 25 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 25 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
25, 1066, (CAST(1 as float)),
(CAST(0 as float)), '85', '',
'
', '
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 26 SALE_AMOUNT NUMERIC(11,2)


1 1754 1 0 85 0
0 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 26 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 26 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
26, 1754, (CAST(1 as float)),
(CAST(0 as float)), '85', '',
'0 ', '0
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 27 MONTHLY_LEASE_PAYMENT


NUMERIC(38,2) 0.0714286 1754 0 0 85 430.77
568.53 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0714286 as float))
WHERE
attnum = 27 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 27 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
27, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'430.77 ', '568.53
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 28 MONTHLY_DEPRECIATION


NUMERIC(38,2) 1 1754 0 0 85 312.79
312.79 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 28 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 28 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
28, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'312.79 ', '312.79
', 0, 0
);
-- ADMBOEKH.OUTFILE f 0 1153 22 29 MONTHLY_MANAGEMENT_FEE
NUMERIC(38,2) 0.5 1754 0 0 85 11.70
15.70 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 29 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 29 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
29, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'11.70 ', '15.70
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 30 MONTHLY_MAINTENANCE


NUMERIC(38,2) 0.5 1754 0 0 85 0.00
29.25 0 0 58807445
58807442
UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 30 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 30 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
30, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'0.00 ', '29.25
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 31 MONTHLY_ANCILLARY_MANAGEMENT


NUMERIC(38,2) 0.25 1754 0 0 85 42.11
45.36 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.25 as float))
WHERE
attnum = 31 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 31 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
31, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'42.11 ', '45.36
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 32 MONTHLY_PROGRAM_FEE


INTEGER 0.5 97 0 0 85 0
100 0 0 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 32 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 32 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
32, 97, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'0 ', '100 ', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 33 MONTHLY_ROAD_TAX


NUMERIC(38,2) 1 1754 0 0 85 20.83
20.83 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 33 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 33 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
33, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'20.83 ', '20.83
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 34 RESIDUAL_VALUE


NUMERIC(38,2) 1 1754 0 0 85 5300.00
5300.00 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 34 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 34 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
34, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'5300.00 ', '5300.00
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 35
BILLED_INTEREST_RATE_PERCENTAGE NUMERIC(38,3) 0.142857 1754 0
0 85 3.350 3.780
0 0 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.142857 as float))
WHERE
attnum = 35 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 35 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
35, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'3.350 ', '3.780
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 36 MONTHLY_BILLED_INTEREST


NUMERIC(38,2) 0.125 1754 0 0 85 41.34
46.60 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.125 as float))
WHERE
attnum = 36 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 36 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
36, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'41.34 ', '46.60
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 37 PROGRAM_TYPE NATIONAL


CHARACTER VARYING(10) 0.333333 1022 0 0 85 AMDA
POOLED
9 9323 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.333333 as float))
WHERE
attnum = 37 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 37 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
37, 1022, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'AMDA
', 'POOLED
', 9, 9323
);

-- ADMBOEKH.OUTFILE f 0 1153 22 38 DELIVERY_STATION CHARACTER


VARYING(10) 0.1 1066 0 0 85 AMDA
POOLED
8 8318 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.1 as float))
WHERE
attnum = 38 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 38 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
38, 1066, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'AMDA
', 'POOLED
', 8, 8318
);

-- ADMBOEKH.OUTFILE f 0 1153 22 39 DSP_CODE CHARACTER


VARYING(10) 0.0909091 1066 0 0 85 ALLD
SWTR
8 8318 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0909091 as float))
WHERE
attnum = 39 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 39 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
39, 1066, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'ALLD
', 'SWTR
', 8, 8318
);

-- ADMBOEKH.OUTFILE f 0 1153 22 40 CURRENCY_CODE NATIONAL


CHARACTER VARYING(125) 1 1022 0 0 85 GBP
GBP
5 5765 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 40 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 40 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
40, 1022, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'GBP
', 'GBP
', 5, 5765
);

-- ADMBOEKH.OUTFILE f 0 1153 22 41 FIRST_BILL_DATE CHARACTER


VARYING(200) 0.25 1066 0 0 85 01/15/2019
12/15/2018
12 13836 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.25 as float))
WHERE
attnum = 41 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 41 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
41, 1066, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'01/15/2019
', '12/15/2018
', 12, 13836
);

-- ADMBOEKH.OUTFILE f 0 1153 22 42 FIRST_BILL_LEASING_AMOUNT


NUMERIC(38,2) 0.0103093 1754 0 0 85 652.82
1029.02 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0103093 as float))
WHERE
attnum = 42 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 42 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
42, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'652.82 ', '1029.02
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 43 FIRST_BILL_FREQUENCY


INTEGER 1 97 0 0 85 1
1 0 0 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 43 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 43 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
43, 97, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'1 ', '1 ', 0, 0
);
-- ADMBOEKH.OUTFILE f 0 1153 22 44 SECOND_BILL_DATE CHARACTER
VARYING(200) 0.25 1066 0 0 85 01/15/2019
12/15/2018
12 13836 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.25 as float))
WHERE
attnum = 44 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 44 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
44, 1066, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'01/15/2019
', '12/15/2018
', 12, 13836
);

-- ADMBOEKH.OUTFILE f 0 1153 22 45 SECOND_BILL_LEASING_AMOUNT


NUMERIC(38,2) 0.0714286 1754 0 0 85 409.94
418.45 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0714286 as float))
WHERE
attnum = 45 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 45 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
45, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'409.94 ', '418.45
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 46 SECOND_BILL_FREQUENCY


INTEGER 0.5 97 0 0 85 57
58 0 0 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.5 as float))
WHERE
attnum = 46 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 46 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
46, 97, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'57 ', '58 ', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 47 LAST_BILL_DATE CHARACTER


VARYING(200) 0.25 1066 0 0 85 01/15/2024
12/15/2023
12 13836 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.25 as float))
WHERE
attnum = 47 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 47 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
47, 1066, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'01/15/2024
', '12/15/2023
', 12, 13836
);

-- ADMBOEKH.OUTFILE f 0 1153 22 48 LAST_BILL_LEASING_AMOUNT


NUMERIC(8,2) 0.0107527 1754 0 0 85 0.00
401.01 0 0 58807445
58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (0.0107527 as float))
WHERE
attnum = 48 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 48 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
48, 1754, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'0.00 ', '401.01
', 0, 0
);

-- ADMBOEKH.OUTFILE f 0 1153 22 49 LAST_BILL_FREQUENCY


INTEGER 1 97 0 0 85 1
1 0 0 58807445 58807442

UPDATE _t_attribute
SET
attdispersion = (CAST (1 as float))
WHERE
attnum = 49 and
attrelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

DELETE FROM _t_statistic


WHERE
staattnum = 49 and
starelid = (select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
);

INSERT INTO _t_statistic (


starelid,
staattnum, staop, stanullfrac,
stacommonfrac, starecent, stacommonval,
staloval, stahival, stamaxlen, stasumlen
) VALUES (
(select max(relfilenode) from _t_class where oid = (
select objid from _t_object where objname = ^OUTFILE^ and objschemaoid = (
select objid from _t_object where objclass = 4941 and objname = ^ADMBOEKH^
and objdb = (
select _t_database.oid from _t_database where datname = ^LPGP_C_ENTITY^
)
)
)
),
49, 97, (CAST(0 as float)),
(CAST(0 as float)), '85', '',
'1 ', '1 ', 0, 0
);
\echo 'done.'

-- Environment Settings:
set SPU_COUNT = 120;
set HOST_CPU_SPEED = 20;
set SPU_AVAIL_MEMORY = 262144;
set HOST_AVAIL_MEMORY = 66080696;
set SPU_DISK_READ = 100;
set SPU_DISK_WRITE = 25;
set HOST_DISK_READ = 200;
set HOST_DISK_WRITE = 155;
set SPU_TO_HOST_SEND = 1382.6;
set SPU_TO_SPU_BROADCAST = 92;
set HOST_TO_SPU_BROADCAST = 92;
set SPU_TO_SPU_DISTRIBUTE = 2760;
set HOST_TO_SPU_DISTRIBUTE = 1565.21;
set SPU_FABRIC_JOIN_COST = 30;
set SPU_FABRIC1_JOIN_COST = 20;
set CANONICAL_QUALS_HINT = 0;
set FACTREL_MOVEMENT_COST = 1200;
set ENABLE_ABT = 0;
set ENABLE_SEQSCAN = 1;
set ENABLE_INDEXSCAN = 1;
set ENABLE_MVIEW_SCAN = 1;
set ENABLE_MVIEW_INDEXSCAN = 1;
set ENABLE_ALTBASERELSCAN = 1;
set ENABLE_CHUNKRELSCAN = 1;
set ENABLE_THINTABLE = 0;
set ENABLE_MVIEW = 1;
set ENABLE_TIDSCAN = 1;
set ENABLE_SORT = 1;
set ENABLE_NESTLOOP = 1;
set ENABLE_MERGEJOIN = 1;
set ENABLE_HASHJOIN = 1;
set ENABLE_FPGAJOIN = 0;
set ENABLE_LEFT_EXISTSJOIN = 1;
set ENABLE_RIGHT_EXISTSJOIN = 1;
set ENABLE_LEFT_OUTERJOIN = 1;
set ENABLE_RIGHT_OUTERJOIN = 1;
set ENABLE_PROJECTEXPR = 1;
set ENABLE_NDE_OPTIMIZER = 1;
set ENABLE_PUSHDOWN_RELS = 0;
set ENABLE_STAR_PLANNER = 1;
set NUM_STAR_PLANNER_RELS = 8;
set ENABLE_ADAPTIVE_PLANNER = 0;
set ENABLE_AGGKEY_DISTINCT_AGG = 1;
set ENABLE_GROUP_DISTINCT_AGG = 1;
set NUM_DISTINCTAGG_GROUPS = 1000;
set ENABLE_PRINT_PLAN_TEXT = 0;
set ENABLE_PRINT_PLAN_HTML = 0;
set ENABLE_UNIQUE_DISTINCTION = 0;
set ENABLE_INLIST_JOIN = 1;
set INLIST_THRESHOLD = 5;
set ENABLE_TRANSFORM_JOINEXPR = 1;
set ENABLE_TRANSFORM_OUTERJOIN = 1;
set ENABLE_ONCLAUSE_TRANSITIVITY = 1;
set ENABLE_FACTREL_PLANNER = 1;
set FACTREL_SIZE_THRESHOLD = 1e+08;
set FACTREL_LIST = '';
set ENABLE_AGGKEY2_DISTINCT_PLANNER = 1;
set ENABLE_TRANSFORM_SETOPS = 1;
set ENABLE_TRANSFORM_DISTINCT = 1;
set ENABLE_TRANSFORM_NULL_EQUALITY = 1;
set ENABLE_ORDERBY_OPTIMIZATION = 1;
set ENABLE_SNOWFLAKE_PLANNER = 1;
set ENABLE_EXPRESS_DISPERSION = 1;
set ENABLE_SEQUENCE_CACHESIZE = 0;
set ENABLE_RESTORE_MODE = 0;
set ENABLE_JIT_STATS = 1;
set FORCE_JIT_STATS = 0;
set ENABLE_JITSTATS_ON_MVIEWS = 1;
set JIT_STATS_MIN_ROWS = 5000000;
set STATS_COL_GRP_LIMIT = 10;
set EXPRESS_STATS_COL_GRP_LIMIT = 30;
set CTAS_AUTOSTATS_MIN_ROWS = 10000;
set DISPERSION_SPU_MAX_MEMPCT = 4;
set DISTQUALS_MAX_COST = 100;
set DISTQUALS_MAX_JOINS = 2;
set DISTQUALS_MAX_SUBQUERY_LEVELS = 2;
set ENABLE_2PHASE_PLANNER = 1;
set ENABLE_COMPACT_SUBQ_TLIST = 1;
set ENABLE_DISPERSION_ADJUSTMENT = 1;
set ENABLE_DSID_JOINS = 0;
set ENABLE_EXISTS_SELECTIVITY = 1;
set ENABLE_FILTER_NULLS = 1;
set ENABLE_FULLPARTITION_REWRITE = 1;
set ENABLE_JIT_DISPERSION = 1;
set ENABLE_JIT_JOIN = 1;
set ENABLE_SIMPLE_JIT_AVOIDANCE = 1;
set SIMPLE_JIT_AVOIDANCE_EXTRA_CHECK = 1;
set ENABLE_IGNORE_SUSPECT_JIT = 1;
set SUSPECT_JIT_MIN_PAGES = 160;
set ENABLE_ORDERBY_IN_INSERT = 1;
set ENABLE_ORLIST_MERGE = 1;
set ENABLE_PROJECT_JOINEXPR = 1;
set ENABLE_PUSHDOWN_EXISTS_TO_SUBQUERY = 1;
set ENABLE_PUSHDOWN_EXISTS_TO_SUBQUERY_LOG = 0;
set ENABLE_PUSHDOWN_RELS_GROUPBY = 1;
set ENABLE_RANDOM_TABLE_DISTRIBUTE = 1;
set ENABLE_SMALL_CTAS_AUTOSTATS = 1;
set ENABLE_SPECIALS_IN_GENSTATS = 0;
set JIT_SAMPLE_GROWTH_POWER = 0.4;
set JIT_DISP_MIN_ROWS = 5e+08;
set PREBROADCAST_LIMIT = 10;
set PREBROADCAST_ROWS_PER_UNIQUE_VAL = 3;
set SAMPLED_STATS_COL_GRP_LIMIT = 50;
set MAX_STATS_COL_GRP_LIMIT = 100;
set SAMPLED_STATS_MIN_ROWS = 0;
set SCHEDULE_JIT_IN_LONG_QUEUE = 0;
set SNOWFLAKE_GROUP_SIZE = 120;
set SNOWFLAKE_MIN_FACT_SIZE = 1000000;
set SNOWFLAKE_MIN_RATIO = 10;
set SPU_FABRIC2_JOIN_COST = 0;
set STATS_COLUMN_MEMORY_LIMIT = 2048;
set WINDOWAGG_METHOD = 0;
set FORCE_PG_EVAL = 0;
set ROWSETLIMIT_LEVEL = 1;
set CPU_OPERATOR_COST = 0.0005;
set CPU_TUPLE_COST = 5e-05;
set AVG_HASH_COLLISIONS = 4;
set HASH_COLLISION_SAMEAS_DISTRIBUTE = 1;
set HASH_COLLISION_SAMEAS_DISTRIBUTE_MIN_ROWS = 1e+06;
set TRANSFORM_EXPR_SUBLINK_TO_EXISTS_JOIN = 0;
set DBHJ_MEMORY_THRESHOLD = 1;
set ENABLE_ALT_DBHJ_COSTS = 0;
set ENABLE_2PHASE_COST_ADJ = 1;
set ENABLE_CAP_JOIN_NDV = 0;
set ENABLE_CAP_JOIN_SEL = 1;
set ENABLE_CALC_COMPLEX_COLWIDTH = 1;
set ENABLE_USE_SUBPLAN_AVGWIDTH = 1;
set FACTREL_TAG_METHOD = 0;
set FACTREL_LIST_SUBQUERY_SCOPE = 1;
set SWAP_SMALL_MB_THRESH = 10;
set FORCE_TRANSFORM_WINDOWAGG_LAST_VALUE = 0;
set ENABLE_OPT_DELUPD_RESTRICTS = 1;
set COST_JOIN_AS_MULTICOL_HASH = 0;
set DISABLE_GENC_GCC_OPTIMIZATION = 0;
set PROPAGATE_IMPLIED_ENUMERATED_OR_CLAUSES = 1;
set AVOID_COST_MAGNITUDE = 5;
set ENABLE_SP_ESCAPE_QUOTE_PROCESSING = 1;
set ENABLE_NOTIN_OPTIMIZATION = 1;
set ENABLE_NOTIN_TRANSFORMATION = 0;
set ENABLE_OUTERJOIN_EXISTS_PUSHDOWN = 1;
set ENABLE_UNION_STRING_NONSTRING_TYPES = 0;
set ENABLE_RANGECLAUSE_SEL_OPT = 1;
set ENABLE_PB_HASHJOINABLE_RESTRICT = 1;
set ENABLE_EXTEND_MAX_SEGMENT_SIZE = 1;
set EXTEND_MAX_SEGMENT_SIZE = 20971520;
set ENABLE_SETOP_DISPERSION_ADJ = 1;
set ENABLE_DATASLICE_FILTER = 0;
set VALIDATE_DATASLICE_FILTER = 0;
set ENABLE_USERTYPECAST_FOR_VIEW = 1;
set ENABLE_RANDOM_DIST_CHUNK = 1;
set ENABLE_HOST_CHUNK_DIST = 0;
set ENABLE_RST_PARALLEL_INSERT = 0;
set ENABLE_PULLUP_NOTEXISTS_SUBLINK = 1;
set ENABLE_USERNAME_DOMAIN = 0;
set FIXUP_VAR_INSIDE_VAR_CLAUSE = 1;
set ENABLE_DATETIME_MERIDIAN_DELIM = 0;
set MAX_TRANSFORM_SETOPS = 0;

EOF

You might also like