![Page 1: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/1.jpg)
Getting Started withMicrosoft SQL Server 2012 Express Edition
Appendix A
DAVID M. KROENKE and DAVID J. AUER
DATABASE CONCEPTS, 6th Edition
![Page 2: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/2.jpg)
All rights reserved. No part of this publication may be reproduced, stored in a retrieval system, or transmitted, in any form or by any means,
electronic, mechanical, photocopying, recording, or otherwise, without the prior written permission of the publisher. Printed in the United States
of America.
Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-2
![Page 3: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/3.jpg)
Appendix Objectives
• Learn how to create a database in SQL Server 2012.
• Learn how to submit SQL commands to create table structures.
• Learn how to submit SQL commands to insert database data.
• Learn how to submit SQL commands to query a database.
• Learn how to install the Microsoft SQL Server 2012 ODBC Client.
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-3
![Page 4: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/4.jpg)
The Connect to Server Dialog BoxSQL Server 2012
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-4
Figure A-1: The Connect to Server Dialog Box
![Page 5: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/5.jpg)
Microsoft SQL Server Management StudioSQL Server 2012
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-5
Figure A-2:The Microsoft SQL Server Management Studio in Windows 7
![Page 6: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/6.jpg)
The New Database Command
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-6
Figure A-3: The New Database Command
![Page 7: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/7.jpg)
Naming the New Database
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-7
Figure A-4: Naming the New Database
![Page 8: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/8.jpg)
The New Database in Object Explorer
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-8
Figure A-5: The New Database in the Object Explorer
![Page 9: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/9.jpg)
The Microsoft SQL Server Management Studio Folder
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-9
Figure A-6:The Microsoft SQL Server Management Studio Folder in Windows Explorer
![Page 10: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/10.jpg)
WPC SQL Statements(Partial)
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-10
Figure A-7:The Figure 3-7 SQL Statements to Create the WPC Database Tables
![Page 11: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/11.jpg)
The SQLQuery1.sqlTabbed Document Window
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-11
Figure A-8: The SQLQuery1.sql Tabbed Document Window
![Page 12: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/12.jpg)
The SQL Script toCreate the WPC Database Tables
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-12
Figure A-9: The SQL Script to Create the WPC Database Tables
![Page 13: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/13.jpg)
The SQL Script Results —The WPC Tables
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-13
Figure A-10: The SQL Script Results—The WPC Tables
![Page 14: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/14.jpg)
Creating and Running anSQL Query
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-14
Figure A-11: The SQL Query Results
![Page 15: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/15.jpg)
Installing the SQL Server 2012 ODBC Client
KROENKE and AUER - DATABASE CONCEPTS (6th Edition) Copyright © 2013 Pearson Education, Inc. Publishing as Prentice Hall
A-15
The ODBC client is automatically installed as part of the SQL Server 2012 installation, and is available as the SQL Server Native Client 11.0 in the ODBC Data Source Administrator.
![Page 16: Getting Started with Microsoft SQL Server 2012 Express Edition Appendix A DAVID M. KROENKE and DAVID J. AUER DATABASE CONCEPTS, 6 th Edition](https://reader033.vdocument.in/reader033/viewer/2022051417/56649d755503460f94a5542f/html5/thumbnails/16.jpg)
Getting Started withMicrosoft SQL Server 2012 Express Edition
End of Presentation on Appendix A
DAVID M. KROENKE and DAVID J. AUER
DATABASE CONCEPTS, 5th Edition