Beginning SQL Server 2012 (SQL Server 2012 入門)

Kalman Toth

  • 出版商: CreateSpace Independ
  • 出版日期: 2013-01-23
  • 售價: $1,340
  • 貴賓價: 9.5$1,273
  • 語言: 英文
  • 頁數: 600
  • 裝訂: Paperback
  • ISBN: 1482057492
  • ISBN-13: 9781482057492
  • 相關分類: MSSQLSQL
  • 海外代購書籍(需單獨結帳)

相關主題

商品描述

Microsoft relational database design and 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 3NF database design examples with metadata explanations along with practical SQL queries (over 1,300 SELECT queries) and T-SQL scripts, plenty to learn indeed. Great emphasis is placed on explaining the FOREIGN KEY - PRIMARY KEY constraints among tables, the connections which make the collection of individual tables a database. The database diagrams and 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 database diagrams and 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. 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 an database designer & development expert, it has to be in your head not on the web. Second, when your supervisor is looking over your shoulder, "Bill, 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. Mastery of the database design & SQL programming book likely to be sufficient for career advancement as a database designer and database developer.

商品描述(中文翻譯)

本書是針對開發人員、程式設計師、系統分析師和專案經理所編寫的 Microsoft 關聯式資料庫設計與 SQL(結構化查詢語言)程式設計實務圖示與範例教學書,特別適合對關聯式資料庫和客戶端/伺服器技術不熟悉的讀者。同時也適合那些已具備一定 SQL 程式設計和資料庫設計知識的資料庫開發人員、資料庫設計師和資料庫管理員(DBA),希望刷新和擴展其 RDBMS 設計與開發技術視野的讀者。本書假設讀者至少熟悉一種電腦程式語言、Windows 檔案系統和 Excel。由於本書以職業發展為導向,包含大量的 3NF 資料庫設計範例及其元資料解釋,並提供實用的 SQL 查詢(超過 1,300 個 SELECT 查詢)和 T-SQL 腳本,確實有很多可學習的內容。本書特別強調解釋表之間的 FOREIGN KEY - PRIMARY KEY 約束,這些連結使得各個獨立的表格組成一個資料庫。資料庫圖示和查詢基於歷史和當前的 SQL Server 範例資料庫:pubs(PRIMARY KEYs 9, FOREIGN KEYs 10)、Northwind(PRIMARY KEYs 13, FOREIGN KEYs 13)以及最新的 AdventureWorks 系列。其中包括:AdventureWorks、AdventureWorks2008、AdventureWorks2012(PRIMARY KEYs 71, FOREIGN KEYs 90)和 AdventureWorksDW2012(PRIMARY KEYs 27, FOREIGN KEYs 44)。最後一個是數據倉儲資料庫,為多維 OLAP 立方體的基礎。書中包含範例資料庫的安裝說明。本書透過生動的資料庫圖示和 T-SQL 查詢教導讀者如何在高層次上以集合的方式思考,專注於基於集合的操作,而非像程序式程式語言中的迴圈。掌握 T-SQL 程式設計的最佳方式是將查詢輸入到自己的 SQL Server Management Studio 查詢編輯器中,進行測試、檢查、修改和學習。難道直接複製和粘貼不是更簡單嗎?確實是,但學習的價值會迅速降低。你需要將關聯式資料庫設計和 SQL 語言融入你的 DNA 中。SQL 查詢必須從你的手指「流出」到鍵盤上。為什麼熟記 SQL 查詢如此重要?畢竟所有資訊都可以在網路上找到,為什麼不直接複製和粘貼呢?其實並非如此。如果你想成為資料庫設計和開發的專家,這些知識必須在你的腦海中,而不是在網路上。其次,當你的主管在你肩膀上查看時,「比爾,你能告訴我三月份的總收入是多少嗎?」你必須能夠在沒有文檔或 SQL 論壇搜尋的情況下,迅速輸入查詢並提供結果給你的上司。本書設計為在任何環境中都能輕鬆閱讀,即使是在海灘上使用筆記型電腦或根本沒有筆記型電腦的情況下。所有查詢後面都附有結果行數和/或完整/部分結果的表格(網格)格式列表。在處理 GUI 工具(如 SQL Server Management Studio)時,會使用截圖。本書的資料庫設計與 SQL 程式設計內容,足以幫助讀者在資料庫設計師和資料庫開發人員的職業生涯中取得進步。