Beginner Database Design & SQL Programming Using Microsoft SQL Server

Kalman Toth

  • 出版商: CreateSpace Independ
  • 出版日期: 2012-09-12
  • 售價: $1,150
  • 貴賓價: 9.5$1,093
  • 語言: 英文
  • 頁數: 508
  • 裝訂: Paperback
  • ISBN: 1479302430
  • ISBN-13: 9781479302437
  • 相關分類: MSSQLSQL資料庫
  • 海外代購書籍(需單獨結帳)

商品描述

Beginning level Microsoft relational database design (RDBMS) and SQL (Structured Query Language) programming teach-by-practical-diagrams-&-examples book for database designers, developers, programmers, systems analysts and project managers who are new to relational database and client/server technologies. The Microsoft SQL Server based tutorial is 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 along with practical SQL queries (over 1,000 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. 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, "Charlie, 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 關聯式資料庫設計 (RDBMS) 和 SQL (結構化查詢語言) 程式設計的實務圖示與範例教學書籍,適合對關聯式資料庫和客戶端/伺服器技術不熟悉的資料庫設計師、開發人員、程式設計師、系統分析師和專案經理。這本以 Microsoft SQL Server 為基礎的教程也適合那些對 SQL 程式設計和資料庫設計有一定了解的資料庫開發人員、設計師和資料庫管理員 (DBA),希望刷新和擴展他們的 RDBMS 設計與開發技術視野。假設讀者至少熟悉一種電腦程式語言、Windows 檔案系統和 Excel。由於本書以職業發展為導向,包含大量的 3NF 資料庫設計範例以及實用的 SQL 查詢(超過 1,000 個 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)。最後一個是資料倉儲資料庫。書中包含範例資料庫的安裝說明。本書透過生動的資料庫圖示和 T-SQL 查詢教導如何在高層次上以集合的方式思考,專注於基於集合的操作,而非像程序式程式語言中的迴圈。掌握 T-SQL 程式設計的最佳方式是將查詢輸入到自己的 SQL Server Management Studio 查詢編輯器中,測試、檢查、修改並研究它。直接複製和粘貼不是更簡單嗎?確實是,但學習的價值會迅速降低。你需要將關聯式資料庫設計和 SQL 語言融入你的 DNA 中。SQL 查詢必須從你的手指「流出」到鍵盤上。為什麼熟記 SQL 查詢如此重要?畢竟,所有資訊都可以在網路上找到,為什麼不直接複製和粘貼呢?其實並非如此。如果你想成為資料庫設計和開發的專家,這些知識必須在你的腦海中,而不是在網路上。其次,當你的主管在你肩膀上查看時,「Charlie,你能告訴我三月份的總收入是多少嗎?」你必須能夠在沒有文件或 SQL 論壇搜尋的情況下,迅速輸入查詢並提供結果給你的上司。本書設計為在任何環境中都能輕鬆閱讀,即使是在海灘上使用筆記型電腦或根本沒有筆記型電腦的情況下。所有查詢後面都附有結果的行數和/或完整/部分結果的表格 (網格) 格式列表。在處理 GUI 工具(如 SQL Server Management Studio)時,會使用截圖。本書的資料庫設計與 SQL 程式設計的精通程度,可能足以促進你在資料庫設計師和資料庫開發人員的職業發展。