Database Decisions: MS Access vs. SQL Server <ul><li>The DAD Group </li></ul><ul><ul><li>Tracy Scharer </li></ul></ul><ul>...
Overview  <ul><li>Distinctions between Access and SQL Server </li></ul><ul><li>Preparation for upsizing </li></ul><ul><li>...
Distinctions:  Architecture Options <ul><li>ACCESS has an embedded front end </li></ul><ul><ul><li>ACCESS Monolithic - dat...
Distinctions:  Architecture Options <ul><li>SQLServer  makes you choose (and configure) the front end: </li></ul><ul><ul><...
Distinctions:  Administration <ul><li>ACCESS Administration is embedded in the ACCESS application </li></ul><ul><ul><li>DB...
Distinctions:  Security <ul><li>SQLServer will enforce better SECURITY Model </li></ul><ul><li>ACCESS has a thin barrier b...
Distinctions:  Data Integrity <ul><li>An Access DB is a file within the file system </li></ul><ul><ul><li>Recovery from fi...
Distinctions:  Performance <ul><li>ACCESS intended to support personal or small departmental applications </li></ul><ul><u...
Distinctions:  Performance <ul><li>SQLServer intended to support Departmental or Enterprise Applications   </li></ul><ul><...
Distinctions:  Performance <ul><li>SQLServer is no magic bullet --- good design the key …not platform selection </li></ul>
To upsize or not to upsize : <ul><li>Number of concurrent users and how they use the database </li></ul><ul><li>Amount of ...
Upsizing-Preparation <ul><li>Data check  </li></ul><ul><ul><li>Bad dates range check </li></ul></ul><ul><ul><li>Indices (U...
Upsizing - Preparation <ul><li>ACCESS Front end VBA Functions  must be translated  </li></ul><ul><li>Query criteria, aggre...
Upsizing - Preparation <ul><li>Field relationships more strictly enforced (e.g., size conflicts between key/foreign key pa...
Running the Wizard <ul><li>Repeat this process as necessary </li></ul><ul><li>Plan for downtime for final upsizing </li></...
Running the Wizard <ul><li>Repeat whatever corrections you discover after final cutover  </li></ul><ul><ul><li>Reestablish...
Demo--
Two Helpful References <ul><li>Microsoft Access Developer’s Guide to SQL Server , Authors Mary Chiman and Andy Baron;  Pub...
Where to Get More Information <ul><li>1.  Microsoft Access Developer's Guide to SQL Serve r </li></ul><ul><li>Authors: Mar...
Upcoming SlideShare
Loading in...5
×

Upgrading Your Access Database to SQL

459

Published on

0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total Views
459
On Slideshare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
11
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide
  • SECURITY Model SQL has more versatile convenient and effective Auditrails avail Well integrated with NT Authentication (at table level) ACCESS has a thin barrier based on File System Weakly attached to the OS security subsystem OS Security at DB level Field level security thru internal security methods and queries
  • Upgrading Your Access Database to SQL

    1. 1. Database Decisions: MS Access vs. SQL Server <ul><li>The DAD Group </li></ul><ul><ul><li>Tracy Scharer </li></ul></ul><ul><ul><li>Lew Burrus </li></ul></ul><ul><ul><li>Russ Dinsmore </li></ul></ul><ul><ul><li>Tom Loach </li></ul></ul><ul><ul><li>Alan Shook </li></ul></ul><ul><ul><li>Tom Walsh </li></ul></ul><ul><ul><ul><ul><ul><li>[email_address] </li></ul></ul></ul></ul></ul>
    2. 2. Overview <ul><li>Distinctions between Access and SQL Server </li></ul><ul><li>Preparation for upsizing </li></ul><ul><li>Upsizing walk through </li></ul>
    3. 3. Distinctions: Architecture Options <ul><li>ACCESS has an embedded front end </li></ul><ul><ul><li>ACCESS Monolithic - data and presentation together in a single MDB file </li></ul></ul><ul><ul><ul><li>Common configuration for personal applications </li></ul></ul></ul><ul><ul><li>ACCESS with split data and presentation </li></ul></ul><ul><ul><ul><li>Common configuration for small departmental applications </li></ul></ul></ul><ul><ul><ul><li>Prerequisite for upsizing </li></ul></ul></ul>
    4. 4. Distinctions: Architecture Options <ul><li>SQLServer makes you choose (and configure) the front end: </li></ul><ul><ul><li>SQLSERVER with ACCESS Front end </li></ul></ul><ul><ul><ul><li>Linked Tables (JET engine) </li></ul></ul></ul><ul><ul><ul><li>ACCESS Project (ADP with Bound Forms) </li></ul></ul></ul><ul><ul><ul><li>ACCESS with unbound forms </li></ul></ul></ul><ul><ul><ul><li>SQLServer with VB, ASP or other VISUAL Studio Development Tools </li></ul></ul></ul><ul><li>ADP enables SQL Server features. The time to learn it is well spent. </li></ul>
    5. 5. Distinctions: Administration <ul><li>ACCESS Administration is embedded in the ACCESS application </li></ul><ul><ul><li>DBO and DBA are one job </li></ul></ul><ul><li>SQLServer uses Enterprise Manager for administration and configuration management </li></ul><ul><ul><li>DBO and DBA are separated </li></ul></ul><ul><ul><ul><li>central management offered by ITC Microsystems </li></ul></ul></ul><ul><ul><li>SQLServer provides: </li></ul></ul><ul><ul><ul><li>event logging </li></ul></ul></ul><ul><ul><ul><li>messaging and performance monitoring </li></ul></ul></ul><ul><ul><ul><li>capacity planning tools </li></ul></ul></ul>
    6. 6. Distinctions: Security <ul><li>SQLServer will enforce better SECURITY Model </li></ul><ul><li>ACCESS has a thin barrier based on Windows File System </li></ul><ul><ul><li>Weakly attached to the OS security subsystem </li></ul></ul><ul><ul><li>OS Security at DB level </li></ul></ul><ul><ul><li>Field level security implemented thru internal security methods and queries </li></ul></ul><ul><li>SQL is more versatile, convenient and effective </li></ul><ul><ul><li>Audit trails available </li></ul></ul><ul><ul><li>Integrated with NT Authentication (at table level) </li></ul></ul><ul><ul><li>Object level security can be implemented through OS Security </li></ul></ul>
    7. 7. Distinctions: Data Integrity <ul><li>An Access DB is a file within the file system </li></ul><ul><ul><li>Recovery from file copy (snapshot) – no transaction level recovery </li></ul></ul><ul><ul><li>Inadvertent corruption--(opening an ACCESS DB with a foreign application such as WORD, WORDPAD ) </li></ul></ul><ul><li>SQLServer Tables are specialized entities manipulated exclusively by SQL Server </li></ul><ul><ul><li>Protected and hidden from anything but SQLServer </li></ul></ul><ul><ul><li>Recovery from transaction log to any point in time </li></ul></ul>
    8. 8. Distinctions: Performance <ul><li>ACCESS intended to support personal or small departmental applications </li></ul><ul><ul><li><15-20 Users </li></ul></ul><ul><ul><li>Low transaction rates with few conflicts </li></ul></ul><ul><ul><li>Limited Growth </li></ul></ul><ul><ul><li>DB Size < 2GB </li></ul></ul>
    9. 9. Distinctions: Performance <ul><li>SQLServer intended to support Departmental or Enterprise Applications </li></ul><ul><ul><li>1000s of Users </li></ul></ul><ul><ul><li>Higher Transaction rates </li></ul></ul><ul><ul><li>Multiple requests for same row </li></ul></ul><ul><ul><li>Large DB – can be TERABytes </li></ul></ul><ul><ul><li>TRANSACT-SQL enforces standards </li></ul></ul><ul><ul><li>Provides scalability features such as multiprocessor configurations, DB Replication </li></ul></ul>
    10. 10. Distinctions: Performance <ul><li>SQLServer is no magic bullet --- good design the key …not platform selection </li></ul>
    11. 11. To upsize or not to upsize : <ul><li>Number of concurrent users and how they use the database </li></ul><ul><li>Amount of data </li></ul><ul><li>Server environment </li></ul><ul><li>Scalability </li></ul><ul><li>Security models </li></ul><ul><li>Friendly vs. Robust </li></ul><ul><li>Performance </li></ul><ul><li>Data corruption </li></ul><ul><li>Programming advantages </li></ul><ul><li>Database administration </li></ul><ul><li>Stored procedures improve performance </li></ul><ul><li>The wizard does not rewrite queries. </li></ul>
    12. 12. Upsizing-Preparation <ul><li>Data check </li></ul><ul><ul><li>Bad dates range check </li></ul></ul><ul><ul><li>Indices (Unique index required) </li></ul></ul><ul><ul><li>Data integrity checks are more strict </li></ul></ul><ul><ul><li>Indexed fields cannot be NULL </li></ul></ul><ul><ul><li>Cannot have ‘ or “ in table names </li></ul></ul><ul><li>Updateable queries may not propagate ( multi-join tables a problem) </li></ul>
    13. 13. Upsizing - Preparation <ul><li>ACCESS Front end VBA Functions must be translated </li></ul><ul><li>Query criteria, aggregate expressions, grouping, sorting validation rules default values all must be examined by hand </li></ul>
    14. 14. Upsizing - Preparation <ul><li>Field relationships more strictly enforced (e.g., size conflicts between key/foreign key pair will cause upsize to fail) </li></ul><ul><li>Naming conventions </li></ul><ul><ul><li>Spaces in names are not a good idea </li></ul></ul>
    15. 15. Running the Wizard <ul><li>Repeat this process as necessary </li></ul><ul><li>Plan for downtime for final upsizing </li></ul><ul><li>Wizard creates a NEW Instance of tables each run </li></ul><ul><ul><li>Recommend dropping tables each time </li></ul></ul>
    16. 16. Running the Wizard <ul><li>Repeat whatever corrections you discover after final cutover </li></ul><ul><ul><li>Reestablish Relationships </li></ul></ul><ul><ul><li>Re-verify front end operation </li></ul></ul><ul><ul><li>Correct table ownership from login id to DBO </li></ul></ul><ul><ul><li>Data verification </li></ul></ul><ul><ul><li>Permissions and role definitions (within SQLServer) </li></ul></ul>
    17. 17. Demo--
    18. 18. Two Helpful References <ul><li>Microsoft Access Developer’s Guide to SQL Server , Authors Mary Chiman and Andy Baron; Publisher SAMS </li></ul><ul><li>Professional SQL Server Development with Access 2000 , Author: Rick Dobson; Publisher: WROX </li></ul>
    19. 19. Where to Get More Information <ul><li>1. Microsoft Access Developer's Guide to SQL Serve r </li></ul><ul><li>Authors: Mary Chiman and Andy Baron. Publisher SAMS </li></ul><ul><li>2. Professional SQL Server Development with Access 2000 </li></ul><ul><li>Authors: Rick Dobson, Publisher WROX </li></ul>
    1. A particular slide catching your eye?

      Clipping is a handy way to collect important slides you want to go back to later.

    ×