Sample Chapter: Wrox Beginning SQL Server 2000 Programming
Wrox are well known for their "How-To" series of books, which teach beginning-intermediate developers how to use Microsoft technologies properly and efficiently. Today, Mitchell takes a look at chapter three from "Beginning SQL Server 2000 Programming", which is published by Wrox Press.
Sample Chapter: Wrox Beginning SQL Server 2000 Programming - Summary (Page 10 of 10 )
Query Analyzer has been thoroughly covered and when you read through the rest of the book, you should feel comfortable with your knowledge of where everything is within it. Also, if you wish to alter any item to suit your own method of working, you should be able to find out what to do from the relevant section in this chapter.
We have also seen how Enterprise Manager relates to Query Analyzer. We permanently changed the default database associated with a user and added a new user. We saw that we can use Enterprise Manager to check that commands in Query Analyzer have run successfully.
You should be able to deduce from this that Query Analyzer and Enterprise Manager are quite closely linked. Well, this is sort of true. What actually links them is the server engine that runs within Windows itself and deals with the SQL Server databases installed on the computer. Enterprise Manager is a GUI to this engine, designed for managing the overall maintenance of a server, its databases and their objects, security, etc. Query Analyzer uses the same engine, but is used primarily for running and developing scripts to maintain the database. A less graphical UI, it requires more keystrokes and perhaps a better memory on your part to remember which command completes which action. At the end of the day, Query Analyzer and Enterprise Manager really serve different purposes. You will very quickly find out which tool is best for which task.
One last advantage for Query Analyzer; you can have Query Analyzer on a machine without the need for Enterprise Manager. It installs quite happily on any operating system and can connect to the data source allowing you to work with databases, whereas Enterprise Manager will only install on specific operating systems, depending on which version of SQL Server you have purchased. Query Analyzer will run on Windows 95 and upwards.
It's now time to move on and look at how we deal with the book's main example.
If you'd like to read some reviews on "Beginning SQL Server 2000 Programming", or if you'd like to purchase it, then you can do so here.
DISCLAIMER: The content provided in this article is not warranted or guaranteed by Developer Shed, Inc. The content provided is intended for entertainment and/or educational purposes in order to introduce to the reader key ideas, concepts, and/or product reviews. As such it is incumbent upon the reader to employ real-world tactics for security and implementation of best practices. We are not liable for any negative consequences that may result from implementing any information covered in our articles or tutorials. If this is a hardware review, it is not recommended to open and/or modify your hardware.