Sei sulla pagina 1di 18

Upsizing Wizard Report

Database1
Microsoft Access Database:
SQL Server Database:

D:\Projects\vacation\vacationcontrol.accdb
vacationcontrolSQL

Errors
Table: PeriodUserTemp

Attached table is not updatable because it has no unique index.

Table: RegisterPeriodo

Attached table is not updatable because it has no unique index.

Table: TempPeriodUser

Attached table is not updatable because it has no unique index.

Upsizing Parameters
Table Attributes to Export
Indexes

Table relationships:

Validation rules

Upsized using triggers

Defaults
Structure only, no data

Timestamp fields added:


All tables

-1-

16-sep-15

Modifications to Existing Database


Attach newly created
SQL Server tables

Save password and


user ID with attached
tables

Client/Server Modifications
Create a new Access
client/server
application.

Save password and


user ID with
application

Tables
Table: AbsenceRegister
Table Name:
Attached Table Name:

Microsoft Access

SQL Server

AbsenceRegister_local

AbsenceRegister

AbsenceRegister

Aliasing Query:
Validation Rule:

Timestamp field added to SQL Server table.

Fields

Microsoft Access

SQL Server

Field Name: ID_register

ID_register

Data Type: Number (Long)

int

Field Name: ID_Type

ID_Type

Data Type: Number (Long)

int

Field Name: ID_User

ID_User

Data Type: Number (Long)

int

Field Name: StartDate

StartDate

Data Type: Date/Time

datetime

Field Name: EndDate

EndDate

Data Type: Date/Time

datetime

Field Name: Status

Status

Data Type: Number (Long)

int

Field Name: CreationUser

CreationUser

Data Type: Text(255)

nvarchar(255)

Field Name: CreationDate

CreationDate

Data Type: Date/Time

datetime

-2-

16-sep-15

Field Name: ModificationDate

ModificationDate

Data Type: Date/Time

datetime

Field Name: Comments

Comments

Data Type: Memo

text

Field Name: Processed

Processed

Data Type: Yes/No

Indexes

Microsoft Access

bit
SQL Server

Name: ID_register

ID_register

Fields: ID_register

ID_register

Type: DuplicatesOK

DuplicatesOK

Name: ID_Type

ID_Type

Fields: ID_Type

ID_Type

Type: DuplicatesOK

DuplicatesOK

Name: ID_User

ID_User

Fields: ID_User

ID_User

Type: DuplicatesOK

DuplicatesOK

-3-

16-sep-15

Table: AbsenceRegisterTemp
Table Name:
Attached Table Name:

Microsoft Access

SQL Server

AbsenceRegisterTemp_local

AbsenceRegisterTemp

AbsenceRegisterTemp

Aliasing Query:
Validation Rule:

Timestamp field added to SQL Server table.

Fields

Microsoft Access

SQL Server

Field Name: ID_Register

ID_Register

Data Type: Number (Long)

int

Field Name: GUI_register

GUI_register

Data Type: Text(255)

nvarchar(255)

Field Name: ID_Type

ID_Type

Data Type: Number (Long)

int

Field Name: ID_User

ID_User

Data Type: Number (Long)

int

Field Name: StartDate

StartDate

Data Type: Date/Time

datetime

Field Name: EndDate

EndDate

Data Type: Date/Time

datetime

Field Name: Status

Status

Data Type: Number (Long)

int

Field Name: CreationUser

CreationUser

Data Type: Text(255)

nvarchar(255)

Field Name: CreationDate

CreationDate

Data Type: Date/Time

datetime

Field Name: ModificationDate

ModificationDate

Data Type: Date/Time

datetime

Field Name: Comments

Comments

Data Type: Memo

text

Field Name: Processed

Processed

Data Type: Yes/No

bit

-4-

16-sep-15

Indexes

Microsoft Access

SQL Server

Name: ID_register

ID_register

Fields: GUI_register

GUI_register

Type: DuplicatesOK

DuplicatesOK

Name: ID_Register1

ID_Register1

Fields: ID_Register

ID_Register

Type: DuplicatesOK

DuplicatesOK

Name: ID_Type

ID_Type

Fields: ID_Type

ID_Type

Type: DuplicatesOK

DuplicatesOK

Name: ID_User

ID_User

Fields: ID_User

ID_User

Type: DuplicatesOK

DuplicatesOK

-5-

16-sep-15

Table: AbsenceType
Table Name:
Attached Table Name:

Microsoft Access

SQL Server

AbsenceType_local

AbsenceType

AbsenceType

Aliasing Query:
Validation Rule:

Timestamp field added to SQL Server table.

Fields

Microsoft Access

SQL Server

Field Name: ID_absence

ID_absence

Data Type: Number (Long)

int

Field Name: AbsenceName

AbsenceName

Data Type: Text(255)

nvarchar(255)

Field Name: SPName

SPName

Data Type: Text(255)

nvarchar(255)

Field Name: FieldsNumber

FieldsNumber

Data Type: Number (Integer)

smallint

Field Name: Comments

Comments

Data Type: Memo

Indexes

Microsoft Access

text
SQL Server

Name: ID_Ausencia

ID_Ausencia

Fields: ID_absence

ID_absence

Type: DuplicatesOK

DuplicatesOK

-6-

16-sep-15

Table: Changelog
Table Name:
Attached Table Name:

Microsoft Access

SQL Server

Changelog_local

Changelog

Changelog

Aliasing Query:
Validation Rule:

Timestamp field added to SQL Server table.

Fields

Microsoft Access

SQL Server

Field Name: ID_ChangeLog

ID_ChangeLog

Data Type: Number (Long)

int

Field Name: Store_ID

Store_ID

Data Type: Number (Long)

int

Field Name: ChangedBy

ChangedBy

Data Type: Text(255)

nvarchar(255)

Field Name: DateTime

DateTime

Data Type: Date/Time

datetime

Field Name: Field

Field

Data Type: Text(255)

nvarchar(255)

Field Name: OldValue

OldValue

Data Type: Text(255)

nvarchar(255)

Field Name: NewValue

NewValue

Data Type: Text(255)

Indexes

Microsoft Access

nvarchar(255)
SQL Server

Name: ChangeLog_ID

ChangeLog_ID

Fields: ID_ChangeLog

ID_ChangeLog

Type: DuplicatesOK

DuplicatesOK

Name: Store_ID

Store_ID

Fields: Store_ID

Store_ID

Type: DuplicatesOK

DuplicatesOK

-7-

16-sep-15

Table: Department
Table Name:
Attached Table Name:

Microsoft Access

SQL Server

Department_local

Department

Department

Aliasing Query:
Validation Rule:

Timestamp field added to SQL Server table.

Fields

Microsoft Access

SQL Server

Field Name: ID_Department

ID_Department

Data Type: Number (Long)

int

Field Name: DepartmentName

DepartmentName

Data Type: Text(255)

Indexes

Microsoft Access

nvarchar(255)
SQL Server

Name: ID

ID

Fields: ID_Department

ID_Department

Type: DuplicatesOK

DuplicatesOK

-8-

16-sep-15

Table: PeriodStatus
Table Name:
Attached Table Name:

Microsoft Access

SQL Server

PeriodStatus_local

PeriodStatus

PeriodStatus

Aliasing Query:
Validation Rule:

Timestamp field added to SQL Server table.

Fields

Microsoft Access

SQL Server

Field Name: ID_PeriodStatus

ID_PeriodStatus

Data Type: Number (Long)

int

Field Name: PeriodStatus

PeriodStatus

Data Type: Text(255)

Indexes

Microsoft Access

nvarchar(255)
SQL Server

Name: ID_PeriodState

ID_PeriodState

Fields: ID_PeriodStatus

ID_PeriodStatus

Type: DuplicatesOK

DuplicatesOK

-9-

16-sep-15

Table: PeriodUser
Table Name:
Attached Table Name:

Microsoft Access

SQL Server

PeriodUser_local

PeriodUser

PeriodUser

Aliasing Query:
Validation Rule:

Timestamp field added to SQL Server table.

Fields

Microsoft Access

SQL Server

Field Name: ID_PeriodUser

ID_PeriodUser

Data Type: Number (Long)

int

Field Name: ID_periodo

ID_periodo

Data Type: Number (Integer)

smallint

Validation Rule: >1900 And <2100

ALTER TABLE [PeriodUser] ADD


CONSTRAINT [CK PeriodUser ID_periodo]
CHECK (ID_periodo>1900 And
ID_periodo<2100)
EXEC sp_addextendedproperty
N'MS_ConstraintText', N'The value entered is
prohibited by the validation rule set for field
''ID_periodo''.', N'user', N'dbo', N'table',
N'PeriodUser', N'constraint', N'CK PeriodUser
ID_periodo'

Field Name: ID_User

ID_User

Data Type: Number (Long)

int

Field Name: PeriodStartDate

PeriodStartDate

Data Type: Date/Time

datetime

Field Name: PeriodEndDate

PeriodEndDate

Data Type: Date/Time

datetime

Field Name: TotalLaboredDays

TotalLaboredDays

Data Type: Number (Long)

int

Field Name: TotalDays

TotalDays

Data Type: Number (Long)

int

Field Name: TotalTakenDays

TotalTakenDays

Data Type: Number (Long)

int

Field Name: FinishDate

FinishDate

Data Type: Date/Time

datetime

- 10 -

16-sep-15

Field Name: PeriodStatus

PeriodStatus

Data Type: Number (Long)

Indexes

Microsoft Access

int
SQL Server

Name: ID_periodo

ID_periodo

Fields: ID_periodo

ID_periodo

Type: DuplicatesOK

DuplicatesOK

Name: ID_User

ID_User

Fields: ID_User

ID_User

Type: DuplicatesOK

DuplicatesOK

- 11 -

16-sep-15

Table: PeriodUserTemp
Table Name:
Attached Table Name:

Microsoft Access

SQL Server

PeriodUserTemp_local

PeriodUserTemp

PeriodUserTemp

Aliasing Query:
Validation Rule:

Fields

Microsoft Access

SQL Server

Field Name: GUI

GUI

Data Type: Text(255)

nvarchar(255)

Field Name: ID_periodo

ID_periodo

Data Type: Number (Integer)

smallint

Validation Rule: >1900 And <2100

ALTER TABLE [PeriodUserTemp] ADD


CONSTRAINT [CK PeriodUserTemp
ID_periodo] CHECK (ID_periodo>1900 And
ID_periodo<2100)
EXEC sp_addextendedproperty
N'MS_ConstraintText', N'The value entered is
prohibited by the validation rule set for field
''ID_periodo''.', N'user', N'dbo', N'table',
N'PeriodUserTemp', N'constraint', N'CK
PeriodUserTemp ID_periodo'

Field Name: ID_User

ID_User

Data Type: Number (Long)

int

Field Name: PeriodStartDate

PeriodStartDate

Data Type: Date/Time

datetime

Field Name: PeriodEndDate

PeriodEndDate

Data Type: Date/Time

datetime

Field Name: TotalLaboredDays

TotalLaboredDays

Data Type: Number (Long)

int

Field Name: TotalDays

TotalDays

Data Type: Number (Long)

int

Field Name: TotalTakenDays

TotalTakenDays

Data Type: Number (Long)

int

Field Name: FinishDate

FinishDate

Data Type: Date/Time

datetime

- 12 -

16-sep-15

Field Name: PeriodStatus

PeriodStatus

Data Type: Number (Long)

int

Field Name: Changed

Changed

Data Type: Yes/No

Indexes

Microsoft Access

bit
SQL Server

Name: ID_periodo

ID_periodo

Fields: ID_periodo

ID_periodo

Type: DuplicatesOK

DuplicatesOK

Name: ID_User

ID_User

Fields: ID_User

ID_User

Type: DuplicatesOK

DuplicatesOK

Table: RegisterPeriodo
Table Name:
Attached Table Name:

Microsoft Access

SQL Server

RegisterPeriodo_local

RegisterPeriodo

RegisterPeriodo

Aliasing Query:
Validation Rule:

Fields

Microsoft Access

SQL Server

Field Name: ID_AbsenceRegister

ID_AbsenceRegister

Data Type: Number (Long)

int

Field Name: ID_Period

ID_Period

Data Type: Number (Long)

Indexes

Microsoft Access

int

SQL Server

Name: ID_Period

ID_Period

Fields: ID_Period

ID_Period

Type: DuplicatesOK

DuplicatesOK

- 13 -

16-sep-15

Table: RegisterStatus
Table Name:
Attached Table Name:

Microsoft Access

SQL Server

RegisterStatus_local

RegisterStatus

RegisterStatus

Aliasing Query:
Validation Rule:

Timestamp field added to SQL Server table.

Fields

Microsoft Access

SQL Server

Field Name: ID_RegisterStatus

ID_RegisterStatus

Data Type: Number (Long)

int

Field Name: StatusName

StatusName

Data Type: Text(255)

Indexes

Microsoft Access

nvarchar(255)
SQL Server

Name: ID_ResgisterStatus

ID_ResgisterStatus

Fields: ID_RegisterStatus

ID_RegisterStatus

Type: DuplicatesOK

DuplicatesOK

- 14 -

16-sep-15

Table: TempPeriodUser
Table Name:
Attached Table Name:

Microsoft Access

SQL Server

TempPeriodUser_local

TempPeriodUser

TempPeriodUser

Aliasing Query:
Validation Rule:

Fields

Microsoft Access

SQL Server

Field Name: ID_PeriodUser

ID_PeriodUser

Data Type: Number (Long)

int

Field Name: ID_periodo

ID_periodo

Data Type: Number (Integer)

smallint

Validation Rule: >1900 And <2100

ALTER TABLE [TempPeriodUser] ADD


CONSTRAINT [CK TempPeriodUser
ID_periodo] CHECK (ID_periodo>1900 And
ID_periodo<2100)
EXEC sp_addextendedproperty
N'MS_ConstraintText', N'The value entered is
prohibited by the validation rule set for field
''ID_periodo''.', N'user', N'dbo', N'table',
N'TempPeriodUser', N'constraint', N'CK
TempPeriodUser ID_periodo'

Field Name: ID_User

ID_User

Data Type: Number (Long)

int

Field Name: PeriodStartDate

PeriodStartDate

Data Type: Date/Time

datetime

Field Name: PeriodEndDate

PeriodEndDate

Data Type: Date/Time

datetime

Field Name: TotalLaboredDays

TotalLaboredDays

Data Type: Number (Long)

int

Field Name: TotalDays

TotalDays

Data Type: Number (Long)

int

Field Name: TotalTakenDays

TotalTakenDays

Data Type: Number (Long)

int

Field Name: FinishDate

FinishDate

Data Type: Date/Time

datetime

- 15 -

16-sep-15

Field Name: PeriodStatus

PeriodStatus

Data Type: Number (Long)

Indexes

Microsoft Access

int
SQL Server

Name: ID_periodo

ID_periodo

Fields: ID_periodo

ID_periodo

Type: DuplicatesOK

DuplicatesOK

Name: ID_User

ID_User

Fields: ID_User

ID_User

Type: DuplicatesOK

DuplicatesOK

- 16 -

16-sep-15

Table: users
Table Name:
Attached Table Name:

Microsoft Access

SQL Server

users_local

users

users

Aliasing Query:
Validation Rule:

Timestamp field added to SQL Server table.

Fields

Microsoft Access

SQL Server

Field Name: ID_User

ID_User

Data Type: Number (Long)

int

Field Name: OracleID

OracleID

Data Type: Number (Long)

int

Field Name: UserName

UserName

Data Type: Text(255)

nvarchar(255)

Field Name: email

email

Data Type: Text(255)

nvarchar(255)

Field Name: StartDate

StartDate

Data Type: Date/Time

datetime

Field Name: Department

Department

Data Type: Number (Long)

int

Field Name: Manager

Manager

Data Type: Number (Long)

int

Field Name: Activo

Activo

Data Type: Yes/No

bit

Field Name: AD_user

AD_user

Data Type: Text(255)

nvarchar(255)

Field Name: Comment

Comment

Data Type: Memo

text

Field Name: CreationUser

CreationUser

Data Type: Text(255)

nvarchar(255)

Field Name: CreationDate

CreationDate

Data Type: Date/Time

datetime

- 17 -

16-sep-15

Field Name: ModificationDate

ModificationDate

Data Type: Date/Time

datetime

Field Name: Comments

Comments

Data Type: Memo

Indexes

Microsoft Access

text
SQL Server

Name: OracleID

OracleID

Fields: OracleID

OracleID

Type: Unique

Unique

- 18 -

16-sep-15

Potrebbero piacerti anche