SlideShare a Scribd company logo
Sybase ASE 16,15 , Access 
2010 & MS SQL Server 2012 & 
2008R2 
By Sunny Okoro
1 
Contents 
Database Systems...............................................................................................................................4 
Application.........................................................................................................................................5 
Sybase ASE ....................................................................................................................................... 10 
ASE 15.......................................................................................................................................... 10 
ASE 16.......................................................................................................................................... 17 
Database Creation ..................................................................................................................... 19 
Tables Creation ......................................................................................................................... 19 
Database Diagram ..................................................................................................................... 24 
Audit Tables Creation ................................................................................................................ 24 
Triggers .................................................................................................................................... 36 
Indexes ..................................................................................................................................... 43 
Database Dictionary .................................................................................................................. 46 
Table Population ...................................................................................................................... 58 
Revised Physical Database Diagram ............................................................................................ 79 
Data Verfication ........................................................................................................................ 90 
Data Manipulation .................................................................................................................. 111 
Microsoft SQL Server 2012 .............................................................................................................. 138 
Database Creation ...................................................................................................................... 139 
Tables and Index ......................................................................................................................... 143 
Triggers ...................................................................................................................................... 150 
Database Dictionary .................................................................................................................... 154 
Database Physical Diagram .......................................................................................................... 171 
Table Population and Verification ................................................................................................ 172 
DBA ........................................................................................................................................... 177 
Data Manipulation ...................................................................................................................... 179 
Xml ............................................................................................................................................ 248 
Microsoft SQL Server 2008 .............................................................................................................. 261 
Database Creation ...................................................................................................................... 263 
Tables and Indexes...................................................................................................................... 265 
Triggers ...................................................................................................................................... 270 
Audit Records ............................................................................................................................. 273
2 
Database Dictionary .................................................................................................................... 275 
Database Physical Diagram .......................................................................................................... 286 
ETL ............................................................................................................................................. 288 
Data Verification ......................................................................................................................... 292 
ETL 2 .......................................................................................................................................... 302 
Data Manipulation ...................................................................................................................... 307 
Microsoft Access 2010 .................................................................................................................... 317 
Linked Server .............................................................................................................................. 317 
Imported Data ............................................................................................................................ 329 
Database Creation ...................................................................................................................... 336 
ETL ......................................................................................................................................... 343 
Microsoft Excel............................................................................................................................... 357 
Linked Server .............................................................................................................................. 357
3
4 
Database Systems 
Sybase Adaptive Server 
Microsoft SQL Server 2012
5 
Microsoft SQL Server 2008R2 
Microsoft Access 2010 
Oracle 11Gr2 
Application
6 
Oracle SQL Developer 
Sybase Central 
Dell Quest TOAD SQL Server Edition
7 
Microsoft Visual Studio 2008 
Microsoft SQL Server Management Studio
8 
SAP Interactive SQL 
Microsoft SSIS 2012/ SQL Server Data Tools
9 
Microsoft Visio 2010 
Oracle JDeveloper 12c
10 
Talend Open Studio 
Sybase ASE 
ASE 15
11
12
13
14
15
16
17 
ASE 16
18 
Store 
PK Store_ID 
Store_Name 
Address 
City 
State 
Phone 
HRRecords 
PK,FK1 Employee_ID 
PK,FK2 Store_ID 
PK HR_ID 
Employee 
Hire_Date 
Hire_EndDate 
DOB 
PK Employee_ID 
First_Name 
Midd_Name 
Last_Name 
Address 
City 
State 
Phone 
Customer 
PK Customer_ID 
PK,FK1 Store_ID 
First_Name 
Midd_Name 
Last_Name 
Address 
City 
Phone 
Orders 
PK Order_ID 
PK,FK3 Product_ID 
PK,FK1 Store_ID 
PK,FK2 Employee_ID 
QTY 
Order_Notes 
Order_Date 
Order_Amt 
Order_Tax 
Order_FinalAmt 
Order_Ship 
Shipment 
PK Shipping_ID 
PK,FK1 Order_ID 
PK,FK1,FK2 Employee_ID 
Shipping_Date 
Shipping_Amt 
Recieve_Date 
ProductCategory 
PK Category_ID 
Category_Name 
Description 
Product 
PK Product_ID 
PK,FK1 Category_ID 
Porudct_Name 
Product_Flavor 
Product_BoxQTY
19 
Database Creation 
Tables Creation
20
21
22
23
24 
Database Diagram 
Audit Tables Creation
25
26
27
28 
Tables Alteration
29
30
31
32
33
34
35
36 
Triggers
37
38
39
40
41
42
43 
Indexes
44
45
46 
Database Dictionary
47
48
49
50
51
52
53
54
55
56
57
58 
Table Population
59
60
61
62
63
64
65
66
67 
This stored procedure will be utilized for table population.
68
69
70
71 
Due to an error with the table and stored procedure utilized for the Order table population, the entire 
triggers and tables associated with Orders and Shipment tables were dropped and recreated.
72
73
74
75
76
77
78
79 
Revised Physical Database Diagram
80
81
82
83
84
85
86
87
88
89
90 
Data Verfication
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111 
Data Manipulation
112 
Results Abridged
113 
Results Abridged
114 
Results Abridged 
Results Abridged
115 
Results Abridged
116
117
118
119
120 
Results Abridged
121 
Results Abridged
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138 
Microsoft SQL Server 2012
139 
Database Creation
140
141
142
143 
Tables and Index
144
145
146
147
148
149
150 
Triggers
151
152
153
154 
Database Dictionary
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171 
Database Physical Diagram 
Customer 
PK,I2,I1 Customer_ID INTEGER 
PK,FK1,I1 Store_ID INTEGER 
U2 First_Name CHAR(45) 
Mid_Name CHAR(45) 
U3 Last_Name CHAR(45) 
Address CHAR(55) 
U1 City CHAR(40) 
Phone CHAR(35) 
U4 Customer_State CHAR(8) 
Product 
PK,I2,I1 Product_ID INTEGER 
PK,FK1,I1 Category_ID INTEGER 
Product_Name CHAR(50) 
Product_BoxQTy INTEGER 
Employee 
PK,I1 Employee_ID INTEGER 
U2 First_Name CHAR(40) 
Midd_Name CHAR(40) 
U3 Last_Name CHAR(40) 
Adress CHAR(55) 
U1 City CHAR(40) 
U4 State CHAR(5) 
Phone CHAR(25) 
ProductCategory 
PK,I1 Category_ID INTEGER 
Category_Name CHAR(50) 
Description CHAR(32767) 
PK,FK1,I1 Employee_ID INTEGER 
PK,FK2,I1 Store_ID INTEGER 
PK,I2,I1 HR_ID INTEGER 
U2 Hire_Date WCHAR(10) 
U1 DOB WCHAR(10) 
shipment 
HRRecords 
PK,I2,I1 Shipping_ID INTEGER 
PK,FK2,I1 Order_ID INTEGER 
PK,FK1,I1 Employee_ID INTEGER 
U2 Shipping_Date WCHAR(10) 
U1 Shipping_Amt CURRENCY 
Recieve_Date WCHAR(10) 
U3 Shipping_Type CHAR(35) 
Store 
PK,I1 Store_ID INTEGER 
U3 Store_Name CHAR(35) 
Address CHAR(45) 
U1 City CHAR(40) 
U2 State CHAR(5) 
Phone CHAR(25) 
orders 
PK,I2,I1 Order_ID INTEGER 
PK,FK3,I1 Product_ID INTEGER 
PK,FK4,I1 Store_ID INTEGER 
PK,FK1,I1 Customer_ID INTEGER 
PK,FK2,I1 Employee_ID INTEGER 
Order_QTY INTEGER 
Order_Notes CHAR(200) 
U3 Order_Date WCHAR(10) 
U2 Order_Amt CURRENCY 
Order_Tax CURRENCY 
U1 Order_FinalAmt CURRENCY 
Order_Ship CHAR(9)
172 
Table Population and Verification
173
174
175
176
177 
DBA
178
179 
Data Manipulation
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201 
Results Abridged
202 
Results Abridged
203
204
205
206
207
208
209 
Results Abridged
210 
Results Abridged
211
212 
Results Abridged
213 
Results Abridged
214 
Results Abridged
215
216
217
218
219
220
221
222
223
224
225
226 
Results Abridged
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248 
Xml
249
250 
Results Abridged
251
252
253
254
255 
Results Abridged
256
257 
Results Abridged
258
259
260 
Results Abridged
261 
Microsoft SQL Server 2008
262
263 
Database Creation
264
265 
Tables and Indexes
266
267
268
269
270 
Triggers
271
272
273 
Audit Records
274 
Results Abridged
275 
Database Dictionary
276
277
278
279
280
281
282
283
284
285
286 
Database Physical Diagram
287 
Customer 
PK,I2,I1 Customer_ID 
PK,I1 Store_ID 
U2 First_Name 
Mid_Name 
U3 Last_Name 
Address 
U1 City 
Phone 
U4 Customer_State 
Product 
PK,I2,I1 Product_ID 
PK,FK1,I1 Category_ID 
U1 Product_Name 
Product_BoxQTy 
Employee 
PK,I1 Employee_ID 
U2 First_Name 
Midd_Name 
U3 Last_Name 
Adress 
U1 City 
U4 State 
Phone 
ProductCategory 
PK,I1 Category_ID 
Category_Name 
Description 
shipment 
PK,I2,I1 Shipping_ID 
PK,FK2,I1 Order_ID 
PK,FK1,I1 Employee_ID 
U2 Shipping_Date 
U1 Shipping_Amt 
Recieve_Date 
U3 Shipping_Type 
HRRecords 
PK,FK1,I1 Employee_ID 
PK,FK2,I1 Store_ID 
PK,I2,I1 HR_ID 
U2 Hire_Date 
U1 DOB 
Store 
PK,I1 Store_ID 
U3 Store_Name 
Address 
U1 City 
U2 State 
Phone 
orders 
PK,I2,I1 Order_ID 
PK,FK3,I1 Product_ID 
PK,FK4,I1 Store_ID 
PK,FK1,I1 Customer_ID 
PK,FK2,I1 Employee_ID 
Order_QTY 
Order_Notes 
U3 Order_Date 
U2 Order_Amt 
Order_Tax 
U1 Order_FinalAmt 
Order_Ship
288 
ETL
289
290
291
292 
Data Verification
293
294
295
296
297
298 
]
299
300
301 
Results Abridged
302 
ETL 2 
The underlying audit tables remained empty after SSIS has been utilized to populate the database which 
did not activate the audit triggers. The data in all the populated tables will be deleted, the identity 
column option would be set back to on and Talend would be utilized to populate the store table. SSIS 
would be utilized to repopulate the rest of the tables.
303
304
305
306
307 
Data Manipulation
308 
Results Abridged
309 
Results Abridged
310
311
312
313
314
315
316 
Results Abridged
317 
Microsoft Access 2010 
Linked Server
318
319
320
321
322
323
324
325
326
327 
Changed the first name to Philip for employee id 631 and re verify if the changes has been applied in 
SQL Server
328
329 
Imported Data
330
331
332
333
334
335 
Linked server does not apply since the data was exported to MySQL Server
336 
Microsoft Access 2010 Employee XML Sheet 
Database Creation
337
338
339
340
341
342
343 
ETL 
Oracle student sample database would be utilized to populate the course, section and instructor table 
created in Access.
344
345
346
347
348
349
350
351
352
353
354
355 
Table has been removed as a result the view failed to open. 
I have to change the query to point to courseclass2 table which has the same query definition from the 
old section table but was a table not a view.
356
357 
Microsoft Excel 
Linked Server
358
359
360
361

More Related Content

PDF
Ob loading data_oracle
PDF
Scripted Data Loads with Salesforce DataLoader and ANT
PDF
Tn548 installing microsoft sql server 2012 for wonderware products
PDF
high availability case study fusion middleware cluster1
PDF
Oracle bi 10g_install_migration
PDF
Oracle Apps INVENTORY
DOCX
OBIEE 11g : Repository Creation Steps
PDF
Oracle Database Backup
Ob loading data_oracle
Scripted Data Loads with Salesforce DataLoader and ANT
Tn548 installing microsoft sql server 2012 for wonderware products
high availability case study fusion middleware cluster1
Oracle bi 10g_install_migration
Oracle Apps INVENTORY
OBIEE 11g : Repository Creation Steps
Oracle Database Backup

What's hot (8)

PPT
Web adi success story
PDF
Oracle 10g Reference
PDF
PDF
Esm rel notes_5.5
PPT
4 01 peters
DOCX
Excel2007 analysisservicescubespivottables
PDF
Creating a repository using the oracle business intelligence administration tool
PPT
Oracle Web ADI Implementation Steps
Web adi success story
Oracle 10g Reference
Esm rel notes_5.5
4 01 peters
Excel2007 analysisservicescubespivottables
Creating a repository using the oracle business intelligence administration tool
Oracle Web ADI Implementation Steps
Ad

Viewers also liked (20)

PDF
Tabular Data Stream: The Binding Between Client and SAP ASE
PDF
Choosing Indexes For Performance
PDF
Tips Tricks and Little known features in SAP ASE
PDF
Advanced ASE Performance Tuning Tips
PDF
Tips and Tricks for SAP Sybase ASE
PDF
ASE Performance and Tuning Parameters Beyond the cfg File
PPT
Moyano mónica the wine marking process
PPT
Task 10 formal proposal#
PDF
Knowledge-based web service integration for industrial automation
PPTX
HSC Partner Meeting 11-07-12
PDF
Gfi News Maroc - Numéro 2
DOCX
Preliminary Evaluation
PPTX
Онлайн фото редактор fanstudio
PPTX
5й ежегодный конкурс "Музыка перевода", 2013 г.
PDF
Resultados Finales Master Arequipa Peru
PPTX
слинговстреча 20130718
DOCX
Advanced SSRS 2012-SSAS,SSIS, XML, ASP.NET,Forms
DOC
Self liberation201003終結獨裁政權或其他壓迫的行動戰略規劃指南
PDF
Твердотопливный напольный котел Buderus Logano G221-20
PPTX
Introduction to Learning and Leading by Design
Tabular Data Stream: The Binding Between Client and SAP ASE
Choosing Indexes For Performance
Tips Tricks and Little known features in SAP ASE
Advanced ASE Performance Tuning Tips
Tips and Tricks for SAP Sybase ASE
ASE Performance and Tuning Parameters Beyond the cfg File
Moyano mónica the wine marking process
Task 10 formal proposal#
Knowledge-based web service integration for industrial automation
HSC Partner Meeting 11-07-12
Gfi News Maroc - Numéro 2
Preliminary Evaluation
Онлайн фото редактор fanstudio
5й ежегодный конкурс "Музыка перевода", 2013 г.
Resultados Finales Master Arequipa Peru
слинговстреча 20130718
Advanced SSRS 2012-SSAS,SSIS, XML, ASP.NET,Forms
Self liberation201003終結獨裁政權或其他壓迫的行動戰略規劃指南
Твердотопливный напольный котел Buderus Logano G221-20
Introduction to Learning and Leading by Design
Ad

Similar to DB 3 Sybase ASE 15 & MS SQL Server (20)

PPT
Chapter01 introduction
PPTX
SQL Server Developer 70-433
PPTX
Organisation of database Organisation of database
PPTX
Introduction to Database_konsep dasar basis data.pptx
PPT
Chap1-Introduction to database systems.ppt
PPT
data base
PPTX
1585625790_SQL-SESSION1.pptx
PDF
DBMS unit-1.pdf
PPTX
Introduction to Data , Information, Meta Data
PDF
Lee oracle
PPTX
Module-1.pptx
PPT
Database overview unit 4 part 1
PPTX
1588332331-lecture-1-database-systems-overview.pptx
PPTX
PPTX
DBMS Part1.pptx
PPTX
Database Management Systems and SQL SERVER.pptx
PDF
(Dbms) class 1 & 2 (Presentation)
PPTX
Database Basics Theory
Chapter01 introduction
SQL Server Developer 70-433
Organisation of database Organisation of database
Introduction to Database_konsep dasar basis data.pptx
Chap1-Introduction to database systems.ppt
data base
1585625790_SQL-SESSION1.pptx
DBMS unit-1.pdf
Introduction to Data , Information, Meta Data
Lee oracle
Module-1.pptx
Database overview unit 4 part 1
1588332331-lecture-1-database-systems-overview.pptx
DBMS Part1.pptx
Database Management Systems and SQL SERVER.pptx
(Dbms) class 1 & 2 (Presentation)
Database Basics Theory

More from Sunny U Okoro (20)

DOCX
SQL Server and SSAS
DOCX
BI Apps Reports 5 QlikSense Desktop
DOCX
MS SSAS 2008 & MDX Reports
DOCX
DBA Oracle,SQL Server, MYSQL,DB2 Express Postgres & Sybase
DOCX
Database Migration
DOCX
Cognos Express
DOCX
BI Apps ETL 4- Informatica PowerCenter Express
DOCX
Oracle ODI
DOCX
BI Apps Reports 4 Cognos BI and Crystal Reports
DOCX
Tableau Reports and Oracle OBIEE
DOCX
MS SSAS 2012 & MDX
DOCX
Advanced ETL2 Pentaho
DOCX
BI Apps Reports2- Oracle OBIEE & SAP Business Objects
DOCX
MiS SharePoint 2010-SSRS, Power View & PowerPivot 2012
DOCX
BI Apps OLAP & Reports- SSAS 2012 Tabular & Multidimensional
DOCX
Advanced ETL MS SSIS 2012 & Talend
DOCX
DB Develop 2 Oracle 12c, DB2, MYSQL, SQL Anywhere 16
DOCX
DB Security Oracle 11g-Application Context, Dynamic Views & Aduits
DOCX
DB Devlop- PostgreSQL 9.2.4 IQ 15.4
DOCX
BI Apps Reports-Cognos,Crystal Reports & SSRS 2012
SQL Server and SSAS
BI Apps Reports 5 QlikSense Desktop
MS SSAS 2008 & MDX Reports
DBA Oracle,SQL Server, MYSQL,DB2 Express Postgres & Sybase
Database Migration
Cognos Express
BI Apps ETL 4- Informatica PowerCenter Express
Oracle ODI
BI Apps Reports 4 Cognos BI and Crystal Reports
Tableau Reports and Oracle OBIEE
MS SSAS 2012 & MDX
Advanced ETL2 Pentaho
BI Apps Reports2- Oracle OBIEE & SAP Business Objects
MiS SharePoint 2010-SSRS, Power View & PowerPivot 2012
BI Apps OLAP & Reports- SSAS 2012 Tabular & Multidimensional
Advanced ETL MS SSIS 2012 & Talend
DB Develop 2 Oracle 12c, DB2, MYSQL, SQL Anywhere 16
DB Security Oracle 11g-Application Context, Dynamic Views & Aduits
DB Devlop- PostgreSQL 9.2.4 IQ 15.4
BI Apps Reports-Cognos,Crystal Reports & SSRS 2012

Recently uploaded (20)

PDF
Machine learning based COVID-19 study performance prediction
PDF
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
PDF
cuic standard and advanced reporting.pdf
PDF
Network Security Unit 5.pdf for BCA BBA.
PDF
Review of recent advances in non-invasive hemoglobin estimation
PDF
Electronic commerce courselecture one. Pdf
PDF
Dropbox Q2 2025 Financial Results & Investor Presentation
PPTX
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
PDF
NewMind AI Weekly Chronicles - August'25-Week II
PDF
Agricultural_Statistics_at_a_Glance_2022_0.pdf
PPT
Teaching material agriculture food technology
PDF
The Rise and Fall of 3GPP – Time for a Sabbatical?
PPTX
Big Data Technologies - Introduction.pptx
PDF
A comparative analysis of optical character recognition models for extracting...
PDF
Advanced methodologies resolving dimensionality complications for autism neur...
PDF
Spectral efficient network and resource selection model in 5G networks
PDF
Per capita expenditure prediction using model stacking based on satellite ima...
PDF
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
PPT
“AI and Expert System Decision Support & Business Intelligence Systems”
PPTX
Machine Learning_overview_presentation.pptx
Machine learning based COVID-19 study performance prediction
Optimiser vos workloads AI/ML sur Amazon EC2 et AWS Graviton
cuic standard and advanced reporting.pdf
Network Security Unit 5.pdf for BCA BBA.
Review of recent advances in non-invasive hemoglobin estimation
Electronic commerce courselecture one. Pdf
Dropbox Q2 2025 Financial Results & Investor Presentation
ACSFv1EN-58255 AWS Academy Cloud Security Foundations.pptx
NewMind AI Weekly Chronicles - August'25-Week II
Agricultural_Statistics_at_a_Glance_2022_0.pdf
Teaching material agriculture food technology
The Rise and Fall of 3GPP – Time for a Sabbatical?
Big Data Technologies - Introduction.pptx
A comparative analysis of optical character recognition models for extracting...
Advanced methodologies resolving dimensionality complications for autism neur...
Spectral efficient network and resource selection model in 5G networks
Per capita expenditure prediction using model stacking based on satellite ima...
Blue Purple Modern Animated Computer Science Presentation.pdf.pdf
“AI and Expert System Decision Support & Business Intelligence Systems”
Machine Learning_overview_presentation.pptx

DB 3 Sybase ASE 15 & MS SQL Server

  • 1. Sybase ASE 16,15 , Access 2010 & MS SQL Server 2012 & 2008R2 By Sunny Okoro
  • 2. 1 Contents Database Systems...............................................................................................................................4 Application.........................................................................................................................................5 Sybase ASE ....................................................................................................................................... 10 ASE 15.......................................................................................................................................... 10 ASE 16.......................................................................................................................................... 17 Database Creation ..................................................................................................................... 19 Tables Creation ......................................................................................................................... 19 Database Diagram ..................................................................................................................... 24 Audit Tables Creation ................................................................................................................ 24 Triggers .................................................................................................................................... 36 Indexes ..................................................................................................................................... 43 Database Dictionary .................................................................................................................. 46 Table Population ...................................................................................................................... 58 Revised Physical Database Diagram ............................................................................................ 79 Data Verfication ........................................................................................................................ 90 Data Manipulation .................................................................................................................. 111 Microsoft SQL Server 2012 .............................................................................................................. 138 Database Creation ...................................................................................................................... 139 Tables and Index ......................................................................................................................... 143 Triggers ...................................................................................................................................... 150 Database Dictionary .................................................................................................................... 154 Database Physical Diagram .......................................................................................................... 171 Table Population and Verification ................................................................................................ 172 DBA ........................................................................................................................................... 177 Data Manipulation ...................................................................................................................... 179 Xml ............................................................................................................................................ 248 Microsoft SQL Server 2008 .............................................................................................................. 261 Database Creation ...................................................................................................................... 263 Tables and Indexes...................................................................................................................... 265 Triggers ...................................................................................................................................... 270 Audit Records ............................................................................................................................. 273
  • 3. 2 Database Dictionary .................................................................................................................... 275 Database Physical Diagram .......................................................................................................... 286 ETL ............................................................................................................................................. 288 Data Verification ......................................................................................................................... 292 ETL 2 .......................................................................................................................................... 302 Data Manipulation ...................................................................................................................... 307 Microsoft Access 2010 .................................................................................................................... 317 Linked Server .............................................................................................................................. 317 Imported Data ............................................................................................................................ 329 Database Creation ...................................................................................................................... 336 ETL ......................................................................................................................................... 343 Microsoft Excel............................................................................................................................... 357 Linked Server .............................................................................................................................. 357
  • 4. 3
  • 5. 4 Database Systems Sybase Adaptive Server Microsoft SQL Server 2012
  • 6. 5 Microsoft SQL Server 2008R2 Microsoft Access 2010 Oracle 11Gr2 Application
  • 7. 6 Oracle SQL Developer Sybase Central Dell Quest TOAD SQL Server Edition
  • 8. 7 Microsoft Visual Studio 2008 Microsoft SQL Server Management Studio
  • 9. 8 SAP Interactive SQL Microsoft SSIS 2012/ SQL Server Data Tools
  • 10. 9 Microsoft Visio 2010 Oracle JDeveloper 12c
  • 11. 10 Talend Open Studio Sybase ASE ASE 15
  • 12. 11
  • 13. 12
  • 14. 13
  • 15. 14
  • 16. 15
  • 17. 16
  • 19. 18 Store PK Store_ID Store_Name Address City State Phone HRRecords PK,FK1 Employee_ID PK,FK2 Store_ID PK HR_ID Employee Hire_Date Hire_EndDate DOB PK Employee_ID First_Name Midd_Name Last_Name Address City State Phone Customer PK Customer_ID PK,FK1 Store_ID First_Name Midd_Name Last_Name Address City Phone Orders PK Order_ID PK,FK3 Product_ID PK,FK1 Store_ID PK,FK2 Employee_ID QTY Order_Notes Order_Date Order_Amt Order_Tax Order_FinalAmt Order_Ship Shipment PK Shipping_ID PK,FK1 Order_ID PK,FK1,FK2 Employee_ID Shipping_Date Shipping_Amt Recieve_Date ProductCategory PK Category_ID Category_Name Description Product PK Product_ID PK,FK1 Category_ID Porudct_Name Product_Flavor Product_BoxQTY
  • 20. 19 Database Creation Tables Creation
  • 21. 20
  • 22. 21
  • 23. 22
  • 24. 23
  • 25. 24 Database Diagram Audit Tables Creation
  • 26. 25
  • 27. 26
  • 28. 27
  • 30. 29
  • 31. 30
  • 32. 31
  • 33. 32
  • 34. 33
  • 35. 34
  • 36. 35
  • 38. 37
  • 39. 38
  • 40. 39
  • 41. 40
  • 42. 41
  • 43. 42
  • 45. 44
  • 46. 45
  • 48. 47
  • 49. 48
  • 50. 49
  • 51. 50
  • 52. 51
  • 53. 52
  • 54. 53
  • 55. 54
  • 56. 55
  • 57. 56
  • 58. 57
  • 60. 59
  • 61. 60
  • 62. 61
  • 63. 62
  • 64. 63
  • 65. 64
  • 66. 65
  • 67. 66
  • 68. 67 This stored procedure will be utilized for table population.
  • 69. 68
  • 70. 69
  • 71. 70
  • 72. 71 Due to an error with the table and stored procedure utilized for the Order table population, the entire triggers and tables associated with Orders and Shipment tables were dropped and recreated.
  • 73. 72
  • 74. 73
  • 75. 74
  • 76. 75
  • 77. 76
  • 78. 77
  • 79. 78
  • 80. 79 Revised Physical Database Diagram
  • 81. 80
  • 82. 81
  • 83. 82
  • 84. 83
  • 85. 84
  • 86. 85
  • 87. 86
  • 88. 87
  • 89. 88
  • 90. 89
  • 92. 91
  • 93. 92
  • 94. 93
  • 95. 94
  • 96. 95
  • 97. 96
  • 98. 97
  • 99. 98
  • 100. 99
  • 101. 100
  • 102. 101
  • 103. 102
  • 104. 103
  • 105. 104
  • 106. 105
  • 107. 106
  • 108. 107
  • 109. 108
  • 110. 109
  • 111. 110
  • 115. 114 Results Abridged Results Abridged
  • 117. 116
  • 118. 117
  • 119. 118
  • 120. 119
  • 123. 122
  • 124. 123
  • 125. 124
  • 126. 125
  • 127. 126
  • 128. 127
  • 129. 128
  • 130. 129
  • 131. 130
  • 132. 131
  • 133. 132
  • 134. 133
  • 135. 134
  • 136. 135
  • 137. 136
  • 138. 137
  • 139. 138 Microsoft SQL Server 2012
  • 141. 140
  • 142. 141
  • 143. 142
  • 144. 143 Tables and Index
  • 145. 144
  • 146. 145
  • 147. 146
  • 148. 147
  • 149. 148
  • 150. 149
  • 152. 151
  • 153. 152
  • 154. 153
  • 156. 155
  • 157. 156
  • 158. 157
  • 159. 158
  • 160. 159
  • 161. 160
  • 162. 161
  • 163. 162
  • 164. 163
  • 165. 164
  • 166. 165
  • 167. 166
  • 168. 167
  • 169. 168
  • 170. 169
  • 171. 170
  • 172. 171 Database Physical Diagram Customer PK,I2,I1 Customer_ID INTEGER PK,FK1,I1 Store_ID INTEGER U2 First_Name CHAR(45) Mid_Name CHAR(45) U3 Last_Name CHAR(45) Address CHAR(55) U1 City CHAR(40) Phone CHAR(35) U4 Customer_State CHAR(8) Product PK,I2,I1 Product_ID INTEGER PK,FK1,I1 Category_ID INTEGER Product_Name CHAR(50) Product_BoxQTy INTEGER Employee PK,I1 Employee_ID INTEGER U2 First_Name CHAR(40) Midd_Name CHAR(40) U3 Last_Name CHAR(40) Adress CHAR(55) U1 City CHAR(40) U4 State CHAR(5) Phone CHAR(25) ProductCategory PK,I1 Category_ID INTEGER Category_Name CHAR(50) Description CHAR(32767) PK,FK1,I1 Employee_ID INTEGER PK,FK2,I1 Store_ID INTEGER PK,I2,I1 HR_ID INTEGER U2 Hire_Date WCHAR(10) U1 DOB WCHAR(10) shipment HRRecords PK,I2,I1 Shipping_ID INTEGER PK,FK2,I1 Order_ID INTEGER PK,FK1,I1 Employee_ID INTEGER U2 Shipping_Date WCHAR(10) U1 Shipping_Amt CURRENCY Recieve_Date WCHAR(10) U3 Shipping_Type CHAR(35) Store PK,I1 Store_ID INTEGER U3 Store_Name CHAR(35) Address CHAR(45) U1 City CHAR(40) U2 State CHAR(5) Phone CHAR(25) orders PK,I2,I1 Order_ID INTEGER PK,FK3,I1 Product_ID INTEGER PK,FK4,I1 Store_ID INTEGER PK,FK1,I1 Customer_ID INTEGER PK,FK2,I1 Employee_ID INTEGER Order_QTY INTEGER Order_Notes CHAR(200) U3 Order_Date WCHAR(10) U2 Order_Amt CURRENCY Order_Tax CURRENCY U1 Order_FinalAmt CURRENCY Order_Ship CHAR(9)
  • 173. 172 Table Population and Verification
  • 174. 173
  • 175. 174
  • 176. 175
  • 177. 176
  • 179. 178
  • 181. 180
  • 182. 181
  • 183. 182
  • 184. 183
  • 185. 184
  • 186. 185
  • 187. 186
  • 188. 187
  • 189. 188
  • 190. 189
  • 191. 190
  • 192. 191
  • 193. 192
  • 194. 193
  • 195. 194
  • 196. 195
  • 197. 196
  • 198. 197
  • 199. 198
  • 200. 199
  • 201. 200
  • 204. 203
  • 205. 204
  • 206. 205
  • 207. 206
  • 208. 207
  • 209. 208
  • 212. 211
  • 216. 215
  • 217. 216
  • 218. 217
  • 219. 218
  • 220. 219
  • 221. 220
  • 222. 221
  • 223. 222
  • 224. 223
  • 225. 224
  • 226. 225
  • 228. 227
  • 229. 228
  • 230. 229
  • 231. 230
  • 232. 231
  • 233. 232
  • 234. 233
  • 235. 234
  • 236. 235
  • 237. 236
  • 238. 237
  • 239. 238
  • 240. 239
  • 241. 240
  • 242. 241
  • 243. 242
  • 244. 243
  • 245. 244
  • 246. 245
  • 247. 246
  • 248. 247
  • 250. 249
  • 252. 251
  • 253. 252
  • 254. 253
  • 255. 254
  • 257. 256
  • 259. 258
  • 260. 259
  • 262. 261 Microsoft SQL Server 2008
  • 263. 262
  • 265. 264
  • 266. 265 Tables and Indexes
  • 267. 266
  • 268. 267
  • 269. 268
  • 270. 269
  • 272. 271
  • 273. 272
  • 277. 276
  • 278. 277
  • 279. 278
  • 280. 279
  • 281. 280
  • 282. 281
  • 283. 282
  • 284. 283
  • 285. 284
  • 286. 285
  • 288. 287 Customer PK,I2,I1 Customer_ID PK,I1 Store_ID U2 First_Name Mid_Name U3 Last_Name Address U1 City Phone U4 Customer_State Product PK,I2,I1 Product_ID PK,FK1,I1 Category_ID U1 Product_Name Product_BoxQTy Employee PK,I1 Employee_ID U2 First_Name Midd_Name U3 Last_Name Adress U1 City U4 State Phone ProductCategory PK,I1 Category_ID Category_Name Description shipment PK,I2,I1 Shipping_ID PK,FK2,I1 Order_ID PK,FK1,I1 Employee_ID U2 Shipping_Date U1 Shipping_Amt Recieve_Date U3 Shipping_Type HRRecords PK,FK1,I1 Employee_ID PK,FK2,I1 Store_ID PK,I2,I1 HR_ID U2 Hire_Date U1 DOB Store PK,I1 Store_ID U3 Store_Name Address U1 City U2 State Phone orders PK,I2,I1 Order_ID PK,FK3,I1 Product_ID PK,FK4,I1 Store_ID PK,FK1,I1 Customer_ID PK,FK2,I1 Employee_ID Order_QTY Order_Notes U3 Order_Date U2 Order_Amt Order_Tax U1 Order_FinalAmt Order_Ship
  • 290. 289
  • 291. 290
  • 292. 291
  • 294. 293
  • 295. 294
  • 296. 295
  • 297. 296
  • 298. 297
  • 299. 298 ]
  • 300. 299
  • 301. 300
  • 303. 302 ETL 2 The underlying audit tables remained empty after SSIS has been utilized to populate the database which did not activate the audit triggers. The data in all the populated tables will be deleted, the identity column option would be set back to on and Talend would be utilized to populate the store table. SSIS would be utilized to repopulate the rest of the tables.
  • 304. 303
  • 305. 304
  • 306. 305
  • 307. 306
  • 311. 310
  • 312. 311
  • 313. 312
  • 314. 313
  • 315. 314
  • 316. 315
  • 318. 317 Microsoft Access 2010 Linked Server
  • 319. 318
  • 320. 319
  • 321. 320
  • 322. 321
  • 323. 322
  • 324. 323
  • 325. 324
  • 326. 325
  • 327. 326
  • 328. 327 Changed the first name to Philip for employee id 631 and re verify if the changes has been applied in SQL Server
  • 329. 328
  • 331. 330
  • 332. 331
  • 333. 332
  • 334. 333
  • 335. 334
  • 336. 335 Linked server does not apply since the data was exported to MySQL Server
  • 337. 336 Microsoft Access 2010 Employee XML Sheet Database Creation
  • 338. 337
  • 339. 338
  • 340. 339
  • 341. 340
  • 342. 341
  • 343. 342
  • 344. 343 ETL Oracle student sample database would be utilized to populate the course, section and instructor table created in Access.
  • 345. 344
  • 346. 345
  • 347. 346
  • 348. 347
  • 349. 348
  • 350. 349
  • 351. 350
  • 352. 351
  • 353. 352
  • 354. 353
  • 355. 354
  • 356. 355 Table has been removed as a result the view failed to open. I have to change the query to point to courseclass2 table which has the same query definition from the old section table but was a table not a view.
  • 357. 356
  • 358. 357 Microsoft Excel Linked Server
  • 359. 358
  • 360. 359
  • 361. 360
  • 362. 361