Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống
1
/ 720 trang
THÔNG TIN TÀI LIỆU
Thông tin cơ bản
Định dạng
Số trang
720
Dung lượng
11,18 MB
Nội dung
[...]... same physical server I’m sure many of you are now asking: Can I have different versions of SQLServer on the same box — say, SQL Server 2000 and SQl Server 2005? The answer is, yes You can mix SQL Server 2000 and 2005 on the same box Personally, I am not at all trusting of this configuration, even for migration scenarios, but, if you have the need, yes, it can be done When you first load SQL Server, you... given SQLServer (Technically speaking, the server itself can be considered to be an object, but not from any real programming perspective, so we’re not going there) Most, but not all, other objects in a SQLServer are children of the database object If you are familiar with old versions of SQLServer you may now be saying, “What? What happened to logins? What happened to Remote Servers and SQL Agent... for a new kind of SQL book — one aimed specifically at developers At the time, we wrote Professional SQLServer 7.0 Programming to be everything to everyone It was a compendium It started at the beginning, and progressed to a logical end The result was a very, very large book that filled a void for a lot of people (hooray!) SQL Server2005 represents the 2nd major revision to SQLServer since that... Many servers have only one production database; others may have many Also keep in mind that with any version of SQLServer you’re likely to find in production these days (SQL Server 2000 was already five years old by the time it 2 RDBMS Basics: What Makes Up a SQLServer Database? was replaced, so we’ll assume most shops have that or higher), we have the ability to have multiple instances of SQL Server. .. of the Trade Books Online The SQLServer Configuration Manager Service Management Network Configuration The Protocols On to the Client ix xxi 1 2 2 6 6 8 8 9 10 10 11 11 11 11 12 12 17 17 17 18 18 19 20 21 22 22 23 26 Contents The SQLServer Management Studio Getting Started Query Window SQLServer Integration Services (SSIS) Bulk Copy Program (bcp) SQLServer Profiler sqlcmd Summary 28 28 33 38 39... relative peripheral features of SQLserver Last but not least, we wrap things up with a discussion of administration meant to help you keep the databases you develop nice and healthy xxii Introduction What You Need to Use This Book In order to make any real viable use of this book, you will need an installation of SQLServer The book makes extensive use of the actual SQLServer2005 management tools, so... database An RDBMS, such as SQL Server, may have multiple user databases on just one server, or it may have only one How many can reside on one SQLServer depends on such factors as capacity (CPU power, disk I/O limitations, memory, etc.), autonomy (you want one person to have management rights to the server this system is running on, and someone else to have admin rights to a different server) , or just how... Database Adding the Diagram and Our Initial Tables Adding the Relationships Adding Some Constraints Summary Exercises Chapter 9: SQLServer Storage and Index Structures SQLServer Storage The Database The Extent The Page Rows Understanding Indexes B-Trees How Data Is Accessed in SQLServer 241 241 242 242 242 243 243 244 248 251 252 252 255 255 255 256 256 257 257 258 262 Creating, Altering, and Dropping... using SQLServer Express That said, the book is focused on the kind of scripting required for developers, so even SQLServer Express users should be able to get the lion’s share of learning out of most of the chapters A copy of Visual Studio is handy for working with this book, but most of the Visual Studio features needed are included in the Business Intelligence Studio that comes along with the SQL Server. .. questions about how the forum software works as well as many common questions specific to P2P and Wrox books To read the FAQs, click the FAQ link on any P2P page xxv BeginningSQLServer2005Programming 1 RDBMS Basics: What Makes Up a SQL Ser ver Database? What makes up a database? Data for sure (What use is a database that doesn’t store anything?) But a Relational Database Management System (RDBMS) . ii
Beginning
SQL Server
™
2005 Programming
01_584332 ffirs.qxp 1/17/06 6:49 PM Page i
01_584332 ffirs.qxp 1/17/06 6:49 PM Page ii
Beginning
SQL Server
™
2005 Programming
Robert. alt=""
Beginning
SQL Server
™
2005 Programming
Robert Vieira
01_584332 ffirs.qxp 1/17/06 6:49 PM Page iii
01_584332 ffirs.qxp 1/17/06 6:49 PM Page ii
Beginning
SQL