create table _SYS_APP_FIELDS (
_rowid longlong NOT NULL UNIQUE ,
_timestamp datetime ,
_version long ,
indexType int ,
name varchar ,
type varchar ,
primaryKey int ,
length int ,
table_id longlong ,
notNull int ,
defaultValue varchar )
go
create table _SYS_APP_PREFERENCES (
_rowid longlong NOT NULL UNIQUE ,
_timestamp datetime ,
_version long ,
key varchar INDEX ,
value varchar ,
order long INDEX )
go
create table _SYS_APP_TABLES (
_rowid longlong NOT NULL UNIQUE ,
_timestamp datetime ,
_version long ,
name varchar ,
x float ,
y float ,
height float ,
width float ,
primaryKeyFieldID longlong ,
clusteredFieldID longlong )
go
delete from _SYS_APPS
go
delete from _SYS_GROUPS
go
create table _SYS_JDBC2v1 (
_rowid longlong NOT NULL UNIQUE ,
_timestamp datetime ,
_version long ,
typename char(50) ,
type int ,
searchable int ,
precision int ,
max_scale int ,
order int )
go
create table _SYS_JDBC4 (
_rowid longlong NOT NULL UNIQUE ,
_timestamp datetime ,
_version long ,
typename char(50) ,
type int ,
searchable int ,
precision int ,
max_scale int ,
order int )
go
delete from _SYS_PERM
go
create table _SYS_QUERY (
_rowid longlong NOT NULL UNIQUE ,
_timestamp datetime ,
_version long ,
title char(200) INDEX ,
sql object )
go
delete from _SYS_RELATIONSHIP
go
delete from _SYS_REPLICATION
go
delete from _SYS_USERS
go
create table CITY (
_rowid longlong NOT NULL UNIQUE ,
_timestamp datetime ,
_version long ,
CITY_ID int UNIQUE ,
NAME varchar )
go
CREATE PRIMARY KEY CITY (CITY_ID)
go
create table DEPARTMENT (
_rowid longlong NOT NULL UNIQUE ,
_timestamp datetime ,
_version long ,
PHONE varchar ,
NAME varchar ,
SECRETARY_ID int ,
DEPARTMENT_ID int UNIQUE )
go
CREATE PRIMARY KEY DEPARTMENT (DEPARTMENT_ID)
go
create table EMPLOYEE (
_rowid longlong NOT NULL UNIQUE ,
_timestamp datetime ,
_version long ,
CITY_ID int ,
DEPARTMENT_ID int ,
EMPLOYEE_ID int NOT NULL UNIQUE ,
LASTNAME varchar ,
FIRSTNAME varchar ,
EXTENSION varchar )
go
CREATE PRIMARY KEY EMPLOYEE (EMPLOYEE_ID)
go
create table EO_PK_TABLE (
_rowid longlong NOT NULL UNIQUE ,
_timestamp datetime ,
_version long ,
NAME char(40) ,
PK int )
go
TABLE _SYS_APP_FIELDS
_rowid, _timestamp, _version, defaultValue, indexType, length, name, notNull, primaryKey, table_id, type
'1' , '11207787.889387995004' , '5' , '' , '2' , '4' , 'CITY_ID' , '0' , '1' , '1' , 'integer' 
'2' , '11207787.873592067510' , '5' , '' , '2' , '8' , '_rowid' , '1' , '0' , '1' , 'longlong' 
'3' , '11207787.881354546174' , '5' , '' , '0' , '8' , '_timestamp' , '0' , '0' , '1' , 'datetime' 
'4' , '11207787.885409614071' , '5' , '' , '0' , '4' , '_version' , '0' , '0' , '1' , 'long' 
'5' , '11207787.894005864858' , '5' , '' , '0' , '4096' , 'NAME' , '0' , '0' , '1' , 'char' 
'6' , '11207787.995252961292' , '6' , '' , '0' , '4096' , 'LASTNAME' , '0' , '0' , '2' , 'char' 
'7' , '11207787.975824093446' , '5' , '' , '0' , '4' , '_version' , '0' , '0' , '2' , 'long' 
'8' , '11207787.979770679026' , '5' , '' , '0' , '4' , 'CITY_ID' , '0' , '0' , '2' , 'integer' 
'9' , '11207787.962303306907' , '5' , '' , '2' , '8' , '_rowid' , '1' , '0' , '2' , 'longlong' 
'10' , '11207787.970909984782' , '5' , '' , '0' , '8' , '_timestamp' , '0' , '0' , '2' , 'datetime' 
'11' , '11207936.149342946708' , '7' , '' , '0' , '4096' , 'EXTENSION' , '0' , '0' , '2' , 'char' 
'12' , '11207787.991427551954' , '7' , '' , '2' , '4' , 'EMPLOYEE_ID' , '1' , '1' , '2' , 'integer' 
'13' , '11207788.003969855606' , '6' , '' , '0' , '4096' , 'FIRSTNAME' , '0' , '0' , '2' , 'char' 
'14' , '11207787.987668121233' , '5' , '' , '0' , '4' , 'DEPARTMENT_ID' , '0' , '0' , '2' , 'integer' 
'15' , '11207788.081188667565' , '5' , '' , '0' , '4096' , 'PHONE' , '0' , '0' , '3' , 'char' 
'16' , '11207788.073375049978' , '5' , '' , '0' , '8' , '_timestamp' , '0' , '0' , '3' , 'datetime' 
'17' , '11207788.064866315573' , '5' , '' , '2' , '8' , '_rowid' , '1' , '0' , '3' , 'longlong' 
'18' , '11207788.084977816790' , '5' , '' , '0' , '4096' , 'NAME' , '0' , '0' , '3' , 'char' 
'19' , '11207788.088803105056' , '5' , '' , '0' , '4' , 'SECRETARY_ID' , '0' , '0' , '3' , 'integer' 
'20' , '11207788.077288936823' , '5' , '' , '0' , '4' , '_version' , '0' , '0' , '3' , 'long' 
'21' , '11207788.092554474250' , '5' , '' , '2' , '4' , 'DEPARTMENT_ID' , '0' , '1' , '3' , 'integer' 
TABLE _SYS_APP_PREFERENCES
_rowid, _timestamp, _version, key, order, value
'1' , '11725615.682600136846' , '9' , 'SchemaDatabaseVersion' , '0' , '1' 
'2' , '9475504.511265635490' , '1' , 'SchemaVersion' , '0' , '' 
'3' , '11207936.239944290370' , '12' , 'SchemaTimeStamp' , '0' , '182;2001-05-10 13:18:56 -0400;3;2001-05-10 13:18:56 -0400;21;2001-05-10 13:18:56 -0400' 
TABLE _SYS_APP_TABLES
_rowid, _timestamp, _version, clusteredFieldID, height, name, primaryKeyFieldID, width, x, y
'1' , '11207936.171712143346' , '11' , '405328' , '75.0000000000000' , 'CITY' , NULL, '150.0000000000000' , '204.0000000000000' , '153.0000000000000' 
'2' , '11207936.153827134520' , '11' , '405328' , '75.0000000000000' , 'EMPLOYEE' , NULL, '150.0000000000000' , '204.0000000000000' , '153.0000000000000' 
'3' , '11207936.188525659963' , '10' , '405328' , '75.0000000000000' , 'DEPARTMENT' , NULL, '150.0000000000000' , '204.0000000000000' , '153.0000000000000' 
TABLE _SYS_APPS
_rowid, _timestamp, _version, appName
'2' , '9475502.458313584327' , '1' , 'OpenBaseManager' 
'3' , '11125299.483367169275' , '1' , 'JDBC' 
TABLE _SYS_GROUPS
_rowid, _timestamp, _version, appAuthorizationEnabled, authorizedApps, blockedRadApps, group
'1' , '15869401.859825039282' , '3' , '0' , '||' , '||' , 'admin' 
TABLE _SYS_JDBC2v1
_rowid, _timestamp, _version, max_scale, order, precision, searchable, type, typename
'1' , '15869376.265289928764' , '1' , '0' , '0' , '0' , '3' , '1' , 'char' 
'2' , '15869376.267148101702' , '1' , '0' , '0' , '10' , '2' , '4' , 'int' 
'3' , '15869376.268743053078' , '1' , '0' , '0' , '0' , '1' , '-4' , 'object' 
'4' , '15869376.276104232296' , '1' , '0' , '0' , '20' , '2' , '-5' , 'longlong' 
'5' , '15869376.277965048328' , '1' , '0' , '1' , '20' , '2' , '8' , 'double' 
'6' , '15869376.279329052194' , '1' , '6' , '0' , '20' , '2' , '93' , 'datetime' 
'7' , '15869376.280617693440' , '1' , '2' , '0' , '20' , '2' , '3' , 'money' 
'8' , '15869376.281898763030' , '1' , '15' , '0' , '20' , '2' , '8' , 'float' 
'9' , '15869376.283183138817' , '1' , '0' , '1' , '10' , '2' , '4' , 'long' 
'10' , '15869376.284771358594' , '1' , '0' , '0' , '0' , '2' , '91' , 'date' 
'11' , '15869376.286046359688' , '1' , '0' , '0' , '0' , '2' , '92' , 'time' 
TABLE _SYS_JDBC4
_rowid, _timestamp, _version, max_scale, order, precision, searchable, type, typename
'1' , '9475499.504065632820' , '1' , '0' , '0' , '0' , '3' , '1' , 'char' 
'2' , '9475499.504065632820' , '1' , '0' , '0' , '10' , '2' , '4' , 'int' 
'3' , '9475499.514080047607' , '1' , '0' , '0' , '0' , '1' , '-4' , 'object' 
'4' , '9475499.514080047607' , '1' , '0' , '0' , '20' , '2' , '-5' , 'longlong' 
'5' , '9475499.514080047607' , '1' , '0' , '1' , '20' , '2' , '8' , 'double' 
'6' , '9475499.514080047607' , '1' , '6' , '0' , '20' , '2' , '93' , 'datetime' 
'7' , '9475499.514080047607' , '1' , '2' , '0' , '20' , '2' , '3' , 'money' 
'8' , '9475499.514080047607' , '1' , '15' , '0' , '20' , '2' , '8' , 'float' 
'9' , '9475499.514080047607' , '1' , '0' , '1' , '10' , '2' , '4' , 'long' 
'10' , '9475499.524094343185' , '1' , '0' , '0' , '0' , '2' , '91' , 'date' 
'11' , '9475499.524094343185' , '1' , '0' , '0' , '0' , '2' , '92' , 'time' 
TABLE _SYS_PERM
_rowid, _timestamp, _version, name, p_delete, p_insert, p_select, p_update, table
TABLE _SYS_QUERY
_rowid, _timestamp, _version, sql, title
OBJECT
'<<<<*1*>>>>'
object
78
53454C4543542074302E5F726F7769642C2074302E5F74696D657374616D702C2074302E5F7665727369
6F6E2C2074302E434954595F49442C2074302E4E414D452046524F4D2043495459207430
.end.
'1' , '10515524.025541719050' , '2' , '<<<<*1*>>>>' , 'CityQuery' 
OBJECT
'<<<<*2*>>>>'
object
111
53454C4543542074302E5F726F7769642C2074302E5F74696D657374616D702C2074302E5F7665727369
6F6E2C2074302E444550545F49442C2074302E4E414D452C2074302E50484F4E452C2074302E53454352
45544152595F49442046524F4D204445504152544D454E54207430
.end.
'2' , '10515536.128062479197' , '1' , '<<<<*2*>>>>' , 'DepartmentQuery' 
OBJECT
'<<<<*3*>>>>'
object
137
53454C4543542074302E5F726F7769642C2074302E5F74696D657374616D702C2074302E5F7665727369
6F6E2C2074302E434954595F49442C2074302E444550545F49442C2074302E454D505F49442C2074302E
455854454E53494F4E2C2074302E46495253544E414D452C2074302E4C4153544E414D452046524F4D20
454D504C4F594545207430
.end.
'3' , '10515545.771298721432' , '1' , '<<<<*3*>>>>' , 'EmployeeQuery' 
TABLE _SYS_REPLICATION
_rowid, _timestamp, _version, conflict_code, local_date, remote_date, tablename, target_database, target_host, target_password
TABLE _SYS_USERS
_rowid, _timestamp, _version, appSecurity, authorizedApps, email, fullname, login, password, popLogin, popPassword, popServer, smtpServer, usergroup
'1' , '15869401.867665303871' , '3' , '0' , NULL, '' , 'Administrator' , 'admin' , 'DIAJDIGDHDBCJDCI' , '' , '' , '' , '' , 'admin' 
TABLE CITY
_rowid, _timestamp, _version, CITY_ID, NAME
'1' , '11733756.967038359493' , '9' , '1' , 'Orlando' 
'2' , '11125299.370046524330' , '4' , '2' , 'New York' 
'3' , '11125299.436561474576' , '6' , '3' , 'Toronto' 
'5' , '11125299.423119541257' , '4' , '5' , 'San Luis Obispo' 
'6' , '11125299.429148418828' , '5' , '6' , 'Salt Lake City' 
'7' , '11125299.441440487280' , '4' , '7' , 'Kansas City' 
'8' , '11125299.440038463100' , '3' , '8' , 'Bismarck' 
'10' , '11296994.582311162725' , '1' , '300' , 'Springfield' 
'11' , '11733755.998177478090' , '3' , '11' , 'Washington DC' 
TABLE DEPARTMENT
_rowid, _timestamp, _version, DEPARTMENT_ID, NAME, PHONE, SECRETARY_ID
'1' , '11125299.410846965387' , '12' , '1' , 'Sales' , '5521' , NULL
'2' , '11125299.409506827592' , '4' , '2' , 'Engineering' , '5531' , NULL
TABLE EMPLOYEE
_rowid, _timestamp, _version, CITY_ID, DEPARTMENT_ID, EMPLOYEE_ID, EXTENSION, FIRSTNAME, LASTNAME
'52' , '21482695.351134277880' , '1' , '2' , '2' , '90' , '9032' , 'Mark' , 'Yellowford' 
'33' , '11824000.298210268840' , '1' , '3' , '2' , '7878' , '2932' , 'Katie' , 'Mullholland' 
'32' , '11733864.158240400254' , '1' , '11' , '2' , '69' , '6969' , 'Stan' , 'Foresight' 
'31' , '11733666.934869606047' , '1' , '6' , '2' , '59' , '5555' , 'Catalin' , 'Poll' 
'30' , '16134490.803055632860' , '5' , '5' , '2' , '89' , '2222' , 'Quentin' , 'Varquee' 
'26' , '11733875.436699779704' , '4' , '11' , '1' , '2' , '9023' , 'Elisabeth' , 'Muskrat' 
'25' , '11824025.344245314598' , '3' , '1' , '1' , '6' , '9932' , 'Juniper' , 'Beads' 
'24' , '11725296.852966878563' , '3' , '6' , '1' , '7' , '2930' , 'Debbie' , 'Reynolds' 
'23' , '11725305.505942394956' , '4' , '8' , '2' , '5' , '6609' , 'Marilyn' , 'Colburn' 
'22' , '11721548.348074020817' , '1' , '7' , '2' , '3' , '4004' , 'Colby' , 'Smith' 
'20' , '16132498.553308600560' , '4' , '1' , '2' , '1' , '1001' , 'Joseph' , 'Turner' 
'39' , '16134802.706042600795' , '2' , '1' , '1' , '9095' , '23' , 'Tracy' , 'Davis' 
'40' , '16132589.374745823442' , '2' , '1' , '1' , '9096' , '0033' , 'Michael' , 'Strongman' 
'44' , '21482777.570284608751' , '4' , '1' , '1' , '666' , '666' , 'Jonathan' , 'Wensleydale' 
'48' , '16149047.240697329863' , '1' , '1' , '1' , '9102' , '1234' , 'Peter' , 'Piper' 
'49' , '16149221.292628999800' , '3' , '5' , '2' , '888' , '9876' , 'Theodore' , 'Bonn' 
'50' , '17162220.083476159721' , '1' , '5' , '2' , '9890' , '9923' , 'Gweneth' , 'Pecan' 
TABLE EO_PK_TABLE
_rowid, _timestamp, _version, NAME, PK
'1' , '16149047.143503218890' , '10' , 'EMPLOYEE' , '9102'