24%
Writing Stored Procedures for Microsoft SQL Server

Writing Stored Procedures for Microsoft SQL Server

          
5
4
3
2
1

Out of Stock


Premium quality
Premium quality
Bookswagon upholds the quality by delivering untarnished books. Quality, services and satisfaction are everything for us!
Easy Return
Easy return
Not satisfied with this product! Keep it in original condition and packaging to avail easy return policy.
Certified product
Certified product
First impression is the last impression! Address the book’s certification page, ISBN, publisher’s name, copyright page and print quality.
Secure Checkout
Secure checkout
Security at its finest! Login, browse, purchase and pay, every step is safe and secured.
Money back guarantee
Money-back guarantee:
It’s all about customers! For any kind of bad experience with the product, get your actual amount back after returning the product.
On time delivery
On-time delivery
At your doorstep on time! Get this book delivered without any delay.
Notify me when this book is in stock
Add to Wishlist

About the Book

Writing Stored Procedures for Microsoft SQL Server focuses on teaching you not only how to build effective stored procedures, but also how to optimize and streamline them for long term use. Get an understanding of how SQL Server interprets stored procedures verses direct access via SQL queries. This is followed by detailed instructions on creating and maintaining a repository of stored procedures. Once you know how stored procedures are created and built, you are taught how to determine which logic within an application makes sense to be put into this scheme. Additionally, you're provided with guidance on making stored procedures that are portable across applications.

Table of Contents:
Introduction. I. INTRODUCTION TO DEVELOPING STORED PROCEDURES. 1. SQL Server and Stored Procedure Background. The Old Staple Functionality. New Functionality. Uses for Stored Procedures. Conclusion. 2. Stored Procedure Camps. What Is Business Logic? 9. Why Differences Have Come About. The All Business Logic Camp. Advantages of Business Logic in the Database. Disadvantages of Business Logic in the Database. The No Business Logic Camp. Advantages of the No Business Logic Camp. Disadvantages of the No Business Logic Camp. Finding Middle Ground. Conclusion. 3. Processing Stored Procedures. How SQL Server Creates Stored Procedures. How SQL Server Processes Stored Procedures. Deferred Name Resolution. Creation of an Execution Plan. Execution Plans. Execution Plan Makeup. How SQL Server Chooses Query Plans. Aging and Deallocating Execution Plans. Execution Plan Recompilation. Viewing and Interpreting Execution Plans. Conclusion. 4. Stored Procedures Rules. Programming Stored Procedure Rules. Basic Rules. Referencing Objects in Stored Procedures. Source Code Protection. ODBC Options. Deferred Name Resolution and Query Plan Creation. Using Naming Conventions. Microsoft Discrepancies in Naming Convention. Microsoft Identifier Rules. Suggested Naming Conventions. Special Stored Procedure Naming Conventions. Conclusion. II. SIMPLE STORED PROCEDURES. 5. Creating and Altering Stored Procedures. Creating Stored Procedures. SELECT Statements. Limiting the Number of Columns. Limiting the Number of Rows. Using Cursors. Creating Cursors in SQL Server. Using the DECLARE Statement. CREATE PROCEDURE. The Changing of the Code—Altering Stored Procedures. The Old Way. The New Way—ALTER PROCEDURE. Alteration Considerations. Conclusion. 6. Creating More Complex Stored Procedures. Complex Stored Procedure Creation. Passing Parameters into Stored Procedures. Returning Information to the User. The RETURN Statement. The PRINT Command. The RAISERROR Function. OUTPUT Parameters. Conclusion. 7. Creating Stored Procedures that Insert Data. Inserting Data with the INSERT Statement. Inserting Data into Views. Inserting Data Based on a SELECT Statement. Inserting Data with an EXECUTE Statement. Minimizing Blocking Conditions. Automating the Creation of the Code. Conclusion. 8. Creating Stored Procedures that Modify Data. Verifying the Data to Be Modified. Creating Procedures to Delete Data. Automating Code Creation. Conclusion. III. SECURITY AND ADVANCED PROCEDURE DEVELOPMENT. 9. Providing Security for Stored Procedures. Security Basics. SQL Server Security. Logins. Users. Roles. Permissions. Permission States. Assigning Permissions. Adding Logins and Users. Stored Procedures as a Security Mechanism. Application Security. Ownership Chains. Conclusion. 10. Programming Structures in SQL. Operators. Assignment Operator. Arithmetic Operators. Comparison Operators. Logical Operators. String Concatenation Operator. Bitwise Operators. Unary Operators. Looping Structures. WHILE Loop. GOTO Loop. Control-of-Flow Statements. IF ELSE. CASE. Functions. String Functions. Date Functions. Mathematical Functions. System Functions. Conclusion. 11. Writing Utility Stored Procedures. Defining Utility Stored Procedures. Utility Stored Procedure Code. Updating Index Statistics. Reindexing a Database. Finding Object Permissions. Finding Database-Level Permissions. The New sp_who. Checking for Blocks. Checking Table Sizes. Numbering Source Code Lines. Retrieving Index Members. Conclusion. 12. Extended Stored Procedures. How Extended Stored Procedures Work. Writing the Required C Code. Registering an Extended Stored Procedure. Useful System Extended Stored Procedures. Conclusion. 13. Creating Custom Functions. New Advances in SQL Server Functions. User-Defined Functions. Functions That Return a Table. Multi-Statement Tabular Functions. In-Line Functions. Calling User-Defined Functions. Calling Scalar Functions. Calling Tabular Functions. Calling Built-in Functions. Function Determinism. User-Defined Function Determinism. Determinism of System Functions. Conclusion. IV. XML AND TRIGGERS. 14. SQL Server XML Support. What Is XML? 9. XML and HTML. Microsoft and XML. XML Fundamentals. A Basic XML Demonstration. Using XML with SQL Server and Internet Information Server's Server. Extensions. Creating a Test Database. Installing the Server Extensions. Using the Registration Tool Snap-in (Regxmlss Utility). SQL XML. Creating a URL Query. Canning a Query. Passing Parameters. The FOR XML Clause. FOR XML RAW. FOR XML AUTO. FOR XML EXPLICIT. Formatting Data with XSL. XSL Versus CSS. XML and Style Sheets. Enabling an XML Document for Browsing with Style Sheets. Putting it All Together. Creating the XML Template File. Creating the Style Sheet. Creating the HTML Document. Update Grams. The Update Gram Standard Format. Setting Basic Security. Security Configuration for URL Access. Using IIS Directory Security Settings. Conclusion. 15. Writing Triggers 297. How Triggers Are Defined. How Triggers Are Processed. AFTER Triggers. INSTEAD OF Triggers. Creating Triggers. Building an AFTER Trigger. Building INSTEAD OF Triggers. Trigger Restrictions. Nested Triggers. Problems with Triggers. Conclusion. 16. Considerations When Using Stored Procedures and Triggers. Problems with Stored Procedures. Blocking. Sequential Numbering. Problems with Triggers. General Performance Issues. Conclusion. Index.


Best Sellers


Product Details
  • ISBN-13: 9780672318863
  • Publisher: Pearson Education (US)
  • Publisher Imprint: Sams Publishing
  • Edition: 1
  • Language: English
  • Returnable: N
  • Spine Width: 100 mm
  • Width: 100 mm
  • ISBN-10: 0672318865
  • Publisher Date: 12 Jul 2000
  • Binding: Paperback
  • Height: 100 mm
  • No of Pages: 360
  • Series Title: Sams Professional S.
  • Weight: 100 gr


Similar Products

How would you rate your experience shopping for books on Bookswagon?

Add Photo
Add Photo

Customer Reviews

REVIEWS           
Click Here To Be The First to Review this Product
Writing Stored Procedures for Microsoft SQL Server
Pearson Education (US) -
Writing Stored Procedures for Microsoft SQL Server
Writing guidlines
We want to publish your review, so please:
  • keep your review on the product. Review's that defame author's character will be rejected.
  • Keep your review focused on the product.
  • Avoid writing about customer service. contact us instead if you have issue requiring immediate attention.
  • Refrain from mentioning competitors or the specific price you paid for the product.
  • Do not include any personally identifiable information, such as full names.

Writing Stored Procedures for Microsoft SQL Server

Required fields are marked with *

Review Title*
Review
    Add Photo Add up to 6 photos
    Would you recommend this product to a friend?
    Tag this Book
    Read more
    Does your review contain spoilers?
    What type of reader best describes you?
    I agree to the terms & conditions
    You may receive emails regarding this submission. Any emails will include the ability to opt-out of future communications.

    CUSTOMER RATINGS AND REVIEWS AND QUESTIONS AND ANSWERS TERMS OF USE

    These Terms of Use govern your conduct associated with the Customer Ratings and Reviews and/or Questions and Answers service offered by Bookswagon (the "CRR Service").


    By submitting any content to Bookswagon, you guarantee that:
    • You are the sole author and owner of the intellectual property rights in the content;
    • All "moral rights" that you may have in such content have been voluntarily waived by you;
    • All content that you post is accurate;
    • You are at least 13 years old;
    • Use of the content you supply does not violate these Terms of Use and will not cause injury to any person or entity.
    You further agree that you may not submit any content:
    • That is known by you to be false, inaccurate or misleading;
    • That infringes any third party's copyright, patent, trademark, trade secret or other proprietary rights or rights of publicity or privacy;
    • That violates any law, statute, ordinance or regulation (including, but not limited to, those governing, consumer protection, unfair competition, anti-discrimination or false advertising);
    • That is, or may reasonably be considered to be, defamatory, libelous, hateful, racially or religiously biased or offensive, unlawfully threatening or unlawfully harassing to any individual, partnership or corporation;
    • For which you were compensated or granted any consideration by any unapproved third party;
    • That includes any information that references other websites, addresses, email addresses, contact information or phone numbers;
    • That contains any computer viruses, worms or other potentially damaging computer programs or files.
    You agree to indemnify and hold Bookswagon (and its officers, directors, agents, subsidiaries, joint ventures, employees and third-party service providers, including but not limited to Bazaarvoice, Inc.), harmless from all claims, demands, and damages (actual and consequential) of every kind and nature, known and unknown including reasonable attorneys' fees, arising out of a breach of your representations and warranties set forth above, or your violation of any law or the rights of a third party.


    For any content that you submit, you grant Bookswagon a perpetual, irrevocable, royalty-free, transferable right and license to use, copy, modify, delete in its entirety, adapt, publish, translate, create derivative works from and/or sell, transfer, and/or distribute such content and/or incorporate such content into any form, medium or technology throughout the world without compensation to you. Additionally,  Bookswagon may transfer or share any personal information that you submit with its third-party service providers, including but not limited to Bazaarvoice, Inc. in accordance with  Privacy Policy


    All content that you submit may be used at Bookswagon's sole discretion. Bookswagon reserves the right to change, condense, withhold publication, remove or delete any content on Bookswagon's website that Bookswagon deems, in its sole discretion, to violate the content guidelines or any other provision of these Terms of Use.  Bookswagon does not guarantee that you will have any recourse through Bookswagon to edit or delete any content you have submitted. Ratings and written comments are generally posted within two to four business days. However, Bookswagon reserves the right to remove or to refuse to post any submission to the extent authorized by law. You acknowledge that you, not Bookswagon, are responsible for the contents of your submission. None of the content that you submit shall be subject to any obligation of confidence on the part of Bookswagon, its agents, subsidiaries, affiliates, partners or third party service providers (including but not limited to Bazaarvoice, Inc.)and their respective directors, officers and employees.

    Accept

    New Arrivals


    Inspired by your browsing history


    Your review has been submitted!

    You've already reviewed this product!
    ASK VIDYA