SQL Server 2012 Programming
- Length: 616 pages
- Edition: 1
- Language: English
- Publisher: CreateSpace Independent Publishing Platform
- Publication Date: 2012-12-13
- ISBN-10: 1481234749
- ISBN-13: 9781481234740
- Sales Rank: #7713097 (See Top 100 Books)
Learn essential SQL Server 2012 database development skills for career advancement. SQL (Structured Query Language) programming teach-by-practical-diagrams-&-examples book for developers, programmers, systems analysts and project managers who are new to relational database and client/server technologies. Also for database developers, database designers and database administrators (DBA), who know some SQL programming and database design, and who wish to refresh & expand their RDBMS design & development technology horizons. Familiarity with at least one computer programming language, Windows file system & Excel is assumed. Since the book is career advancement oriented, it has a great number of practical SQL queries (over 1,400 SELECT queries) and T-SQL scripts, plenty to learn indeed. The queries are based on historic and current SQL Server sample databases: pubs (PRIMARY KEYs 9, FOREIGN KEYs 10) , Northwind (PRIMARY KEYs 13, FOREIGN KEYs 13) and the latest AdventureWorks series. Among them: AdventureWorks, AdventureWorks2008, AdventureWorks2012 (PRIMARY KEYs 71, FOREIGN KEYs 90), & AdventureWorksDW2012 (PRIMARY KEYs 27, FOREIGN KEYs 44). The last one is a data warehouse database which is the basis for multi-dimensional OLAP cubes. Sample databases installation instructions are included. The book teaches through vivid T-SQL queries how to think in terms of sets at a very high level, focusing on set-based operations instead of loops like in procedural programming languages. There is a chapter dedicated to the new programming features of SQL Server 2012 and XML. The best way to master T-SQL programming is to type the query in your own SQL Server Management Studio Query Editor, test it, examine it, change it and study it. Wouldn’t it be easier just to copy & paste it? It would, but the learning value would diminish rapidly. You need to feel relational database design and the SQL language in your DNA. SQL queries must “pour” out from your fingers into the keyboard. Why is knowing SQL queries by heart so important? After all everything can be found on the web so why not just copy & paste? Well not exactly. If you want to be a development expert, it has to be in your head not on the web. Second, when your supervisor is looking over your shoulder, “Kevin, can you tell me what is the total revenue for March?”, you have to be able to type the query without documentation or SQL forum search and provide the results to your superior promptly. The book was designed to be readable in any environment, even on the beach laptop around or no laptop in sight at all. All queries are followed by results row count and /or full/partial results listing in tabular (grid) format. Screenshots are used when dealing with GUI tools such as SQL Server Management Studio. SQL Server 2012 installation instructions with screenshots are included. Mastery of the database design & SQL programming book likely to be sufficient for career advancement as a database designer and database developer.
Table of Contents
CHAPTER 1: SQL Server Sample & System Databases
CHAPTER 2: Installing SQL Server 2012
CHAPTER 3: Structure of the SELECT Statement
CHAPTER 4: SQL Server Management Studio
CHAPTER 5: Basic Concepts of Client-Server Computing
CHAPTER 6: New Programming Features in SS 2012
CHAPTER 7: JOINing Tables with INNER & OUTER JOINs
CHAPTER 8: Basic SELECT Statement Syntax & Examples
CHAPTER 9: Subqueries in SELECT Statements
CHAPTER 10: SELECT INTO Table Creation & Population
CHAPTER 11: Modify Data – INSERT, UPDATE, DELETE & MERGE
CHAPTER 12: The Magic of Transact-SQL Programming
CHAPTER 13: Exporting & Importing Data
CHAPTER 14: Maintaining Data Integrity in the Enterprise
CHAPTER 15: Query & Stored Procedure Optimization
CHAPTER 16: Advanced T-SQL Programming Topics
APPENDIX A: Job Interview Questions
APPENDIX B: Job Interview Answers