17.07.2015 Views

Download eBook (PDF) - Red Gate Software

Download eBook (PDF) - Red Gate Software

Download eBook (PDF) - Red Gate Software

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

APPENDIX B: THE HOMELENDINGDATABASEThroughout this book, a sample database, called HomeLending, is used toillustrate the security, schema design, encryption and obfuscation methods thatare available in SQL Server. All of the coding examples that are provided inthis book were written using SQL Server 2008 SP1, Developer Edition.The script that is used to create the HomeLending database as well as all ofthe examples provided in this book can be found at the following URL:http://www.simple-talk.com/<strong>Red</strong>Gat<strong>eBook</strong>s/JohnMagnabosco/HLSchema.zipWithin the downloaded compressed folder are the following files:Database Creation Scripts• CreateHomeLendingDB.sqlThis file will create the physical files (.mdf/.ldf) for theHomeLending database.• CreateHomeLendingTables.sqlThis file will create the tables for the HomeLending database.• CreateHomeLendingRelationships.sqlThis file will create the relationships for the tables of theHomeLending database.Database Roles, Users and Schema Scripts• CreateRolesUsers_Chapter2.sqlThis file will create the database roles, users and role memberships forthe HomeLending database.• ExtendedProperties_Chapter2.sqlThis file will create the extended properties for the HomeLendingdatabase table columns.• ArchitectureStrategies_Chapter3.sqlThis file will create database schema objects, views and linked servers.227

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!