Microsoft SQL Server 2005 Stored Procedure Programming in T-SQL & . NET

Product Description
Create and Use Stored Procedures for Optimal Database PerformanceDevelop complex stored procedures to retrieve, manipulate, update, and delete data. Microsoft SQL Server 2005 Stored Procedure Programming in T-SQL & . NET identifies and describes the key concepts, techniques, and best practices you need to master in order to take full advantage of stored procedures using SQL Server’s native Transact-SQL and . NET CLR languages. You’ll learn to incorporate effective Transact-SQL stored procedures into client or middleware code, and produce CLR methods that will be compiled into CLR stored procedures. This is a must-have resource for all SQL Server 2005 developers. Essential Skills for Database ProfessionalsGroup and execute T-SQL statements using batches, scripts, and transactionsCreate user-defined, system, extended, temporary, global temporary, and remote stored procedures Develop and manage stored procedures using C# and Visual Basic . NETIm. . . More >>

Microsoft SQL Server 2005 Stored Procedure Programming in T-SQL & . NET

5 thoughts on “Microsoft SQL Server 2005 Stored Procedure Programming in T-SQL & . NET”

  1. This book contains much useful information on SQL Server 2005 T-SQL enhancements, but it regularly employs functions and constructs in its examples that are only explained in later passages. Specifically, when attempting to absorb a new concept by examining a code example, you must also contend with looking up items which have not yet been covered. This is a mild stumbling block but it hurts the flow of the book.

    Also, the practice database (Asset5) did not attach properly (on my SQL Server 2005 STD edition install regarding appropriate permissions to modify objects) and the most direct workaround was: (1) To use the included, but unreferenced script to initialize the database and all its objects using a “new name” for the database (2) Attach the original database – Asset5 (3) Use the data import feature to populate the “new name” database tables (4) Drop the attached database Asset5 (5) Rename the “new name” database to Asset5. I did first attempt to modify the permissions associated with the login I was using – unsuccessfully. . .

    By way of comparison I am using Oracle Press’ “Oracle 9i The Complete Reference” by Koch and Loney as a standard of clarity and conceptual organization for PL-SQL. It is on this basis that I assign this book 3 stars, but admit that I have yet to discover a better book for advanced T-SQL topics. Please feel free to forward me better titles.

    As an aside, Murach’s SQL for SQL Server is the best introductory text I have found for T-SQL.
    Rating: 3 / 5

  2. In SQL Server 2005 Stored Procedure Programming, Dejan Å underic describes practical uses of T-SQL stored procedures well beyond the level of coverage reached by most other books dealing with SQL Server 2005, including the book on T_SQL programming by Itzik Ben-Gan, et al. Microsoft’s documentation, while thorough, is useful mainly to provide reminders when one already knows the the structure.

    Å underic describes some of the interactions between SQL Server 2005 and Visual Studio languages, including of course the SQL Server 2005 techniques for using these languages to write stored procedures, but also showing how to use Visual Studio 2005 as a debugger for stored procedures written in T-SQL.

    It would probably have been helpful for many readers had Å underic described the main access classes that the Visual Studio languages provide to reach SQL Server, that is, the SqlConnection, SqlCommand, SqlParameter and SqlDataReader classes. This topic is missing or barely mentioned in every current book on SQL Server and the . NET and Visual Studio technologies.

    It would also been of use to many readers had Å underic shown examples utilizing some of the key improvements in SQL Server 2005, for example generating lightweight cursors on table variables and implementing messaging. Both are likely to involve stored procedures. A messaging discussion almost starts in the final chapter, where Å underic seems to be running out of steam.

    Overall, Å underic has written an informative and helpful book that substantially augments information available from other books and from Microsoft documentation.
    Rating: 4 / 5

  3. Be advised that in this book, the author is in a hurry to get to advanced concepts. Only the first three chapters could be called basic. After that, it quickly climbs to advanced material before (in my opinion) sufficiently covering basic and intermediate material. By Chapter 14, the subject is, “Advanced Stored Procedure Programming”. But I still can’t find what I need in 1-3. Then, as if it is even more advanced, the next subject (Chap 15) is “Debugging”. Please, when will we have an author who sees that debugging is a progressively learned process? Perhaps there should be a section in a chapter early on covering debugging of basic stuff.

    My background as a programmer of relational databases and writing SQL statements goes back over fifteen years. As my reports and SQL statements have gotten more complex to please the customer, I have had to move into writing stored stored procedures to meet the need for speed. My intent was to get a book that would help me get my SQL statements to work as Stored Procedures. This book appeared to match my customer’s software make-up (MS SQL Server, Stored Procedures, . Net, T-SQL, etc) as well as being written in a fairly straightforward and easy to understand manner (it does get a big plus on that!). But if you haven’t been writing stored procedures for a year or more, and you have little staff assistance where you are, I would not recommend this book. If on the other hand, you have been doing SP’s for a few years or have lots of staff help and want to go the next step, this book may be for you. I’m going to get another one that will help get the basics to work.
    Rating: 2 / 5

  4. This book is a great help for beginners or those transferring from the SQL 2000 to SQL 2005. Well-written and comprehensive with detailed guidelines for DBAs and developers, it helps answer any questions one might have in their day to day work with SQL server. You will find great tips and useful examples; a great way to expand your knowledge of stored procedures, new functions used in SQL 2005, and offers a means of combatting common errors. Highly recommended!
    Rating: 5 / 5

  5. If you are looking for a good review of exisiting as well as new features available for T-sql and stored procedures in SQL Server 2005 , then this book will start you in the right direction. The author has many examples and useful insights peppered throughout the book. I do wish though that he used the AdventureWorks database instead of his own since Adventureworks is the new demo database provided by Microsoft.
    Rating: 4 / 5

Leave a Reply

Your email address will not be published. Required fields are marked *