Using the Query Analyzer

Size: px
Start display at page:

Download "Using the Query Analyzer"

Transcription

1 Using the Query Analyzer Using the Query Analyzer Objectives Explore the Query Analyzer user interface. Learn how to use the menu items and toolbars to work with SQL Server data and objects. Use object searching to locate objects across multiple databases. Use templates to create queries and SQL Server objects. Use the Transact-SQL Debugger to debug stored procedures. Use the graphical tools for optimizing queries and indexes. Learn how to get help using the Help menu items. Microsoft SQL Server 2000 Professional Skills Development 6-1

2 Using the Query Analyzer Query Analyzer Features The SQL Server 2000 Query Analyzer is fast becoming the development environment of choice for creating SQL Server objects and for writing Transact-SQL queries. It has been beefed up considerably from previous versions of SQL Server, with advanced features that are very similar to the development and debugging environment present in Visual Studio and VBA. The Query Analyzer gives you a robust graphical user interface that allows you to create, test, debug, and optimize your Transact-SQL statements. Here s a list of some of the Query Analyzer features you will find useful: You can have multiple connections open at the same time, each with its own security and database contexts. You can configure fonts and color-coding of Transact-SQL syntax, much like the Visual Basic Editor. The Object Browser allows you to explore your database objects, and also gives you access to templates. Templates are predefined files that include the basic Transact-SQL statements needed to create objects and perform common tasks. The Search object allows you to search for database objects and explore their structure. The Transact-SQL Debugger allows you to step through stored procedure code, also much like in the Visual Basic Editor. You can display and manipulate the values of variables and parameters. You can study and troubleshoot queries by displaying a graphical diagram of the execution plan for your Transact-SQL statements. You can run the Index Tuning Wizard, which analyzes Transact-SQL statements and their underlying tables to determine whether additional indexes will improve performance. In this chapter you ll learn how to use the tools in the Query Analyzer by exploring them through the menu structure. Many, but not all, of the commands you ll learn about are also available on the toolbar, which you can customize by adding or removing toolbar buttons. Customizing the Toolbar Although the Query Analyzer menu structure is fixed, the toolbar allows you to add or subtract buttons, so the tasks you perform most frequently can be easily accessible. 6-2 Microsoft SQL Server 2000 Professional Skills Development

3 Query Analyzer Features Try It Out! 1. To add or remove a toolbar button, right-click on the toolbar. This loads the Customize Toolbar dialog box, as shown in Figure Select the toolbar button in the left list box and click the Add button to move it to the right. 3. In the right-hand pane, you can remove existing buttons or change their order by selecting them and choosing the Move Up or Move Down buttons. Figure 1. Customizing the Query Analyzer toolbar. Microsoft SQL Server 2000 Professional Skills Development 6-3

4 Using the Query Analyzer The File Menu Items The File menu items provide options for connecting and disconnecting from SQL Server; opening, closing, and saving both scripts and result sets; printing queries or result sets; and quitting the Query Analyzer entirely. Figure 2 shows the available options. Figure 2. The File menu items. Multiple Connections One of the most useful features in the File menu is the ability to open multiple connections, either to different databases or using different security contexts. Try It Out! Take these steps to open multiple connections: 1. Choose File Connect from the menu. 6-4 Microsoft SQL Server 2000 Professional Skills Development

5 The File Menu Items 2. When the Connect to SQL Server dialog box is loaded, type in a user name and password, as shown in Figure 3. Click OK when finished. Figure 3. Creating a new connection in the Query Analyzer. 3. If necessary, repeat the process until you have two separate connection windows. Each connection will display its connection information in its title bar, as shown in Figure 4, where the Administrator is connected to the master database, and Bullwinkle is connected to the Shark database. Figure 4. The Query Analyzer with two connections. Opening Scripts To load Transact-SQL scripts into the Query Analyzer, select File Open and find the script you want to load. For example, most of the sample queries shown in this chapter can be found in the script file called QueryAnalyzer.sql. Microsoft SQL Server 2000 Professional Skills Development 6-5

6 Using the Query Analyzer You ll find script files like this one for many of the chapters in this course. Scripts that create objects can be used to recreate whole databases or just selected objects. Saving Scripts and Result Sets You can save queries and scripts that you create in the Query Analyzer by choosing File Save from the menu. If your cursor is active in the top pane, then you get the Save or Save As options. When you save, a default extension of.sql will be added to the base file name. If your cursor is active in the bottom pane, you get different Save options for the result set, as shown in Figure 5. The default file format is.csv, but you can change the extension if you like. The default format is ANSI (your choices are ANSI, Unicode, and OEM), and you can choose between comma-delimited and tab-delimited styles. Figure 5. Saving the result set as a.csv comma-delimited file. Saving scripts is a very handy way of documenting and preserving work you ve done. It s a lot easier to revise or reuse a script file than to redo something from scratch. As you ll see, SQL Server doesn t even require you to type in Transact-SQL to create scripts; they can be created simply by rightclicking on objects. But loading and saving scripts in the Query Analyzer gives you a lot of flexibility. Being able to save results in a standard, commaseparated format allows you to inspect or work with that data later as needed. 6-6 Microsoft SQL Server 2000 Professional Skills Development

7 The Edit Menu Items The Edit Menu Items The Edit menu items contain the usual commands for cutting, copying, pasting, finding, and replacing text strings. The Undo command will undo typing, one letter at a time. All actions have keyboard shortcut keys assigned, which are displayed in the right column of the menu list, as shown in Figure 6. Figure 6. The Edit menu commands. Goto, Bookmarks The Go to Line (CTRL+G) option allows you to type in a line number, which comes in handy for moving around in large scripts. You can also set and clear bookmarks by selecting Edit Bookmarks from the menu and choosing from the following list of actions as shown in Figure 7. Figure 7. The options available in the Edit Bookmarks fly-out menu. Microsoft SQL Server 2000 Professional Skills Development 6-7

8 Using the Query Analyzer Templates The Edit Insert Template command displays a list of built-in templates that ship with SQL Server 2000, as shown in Figure 8. Figure 8. Inserting a template. Double-click the category you re interested in to display a list of individual templates, as shown in Figure 9. Figure 9. Selecting a template. 6-8 Microsoft SQL Server 2000 Professional Skills Development

9 The Edit Menu Items Click Open when you ve selected the desired template. This displays the template file in the SQL pane of the Query Analyzer, as shown in Figure 10. Figure 10. The template loaded in the Query Analyzer. Microsoft SQL Server 2000 Professional Skills Development 6-9

10 Using the Query Analyzer You can t do much with this template until you replace all of the template parameters or placeholders. Chevrons (< >) are not valid Transact-SQL syntax, and you need to replace all of the text within the chevrons with valid Transact- SQL. Choose Edit Replace Template Parameters from the menu, and fill in values as shown in Figure 11. Click Replace All when you re finished. Figure 11. Filling in the parameters with the Replace Template Parameters dialog box Microsoft SQL Server 2000 Professional Skills Development

11 The Edit Menu Items If you need to add additional columns to the table, you can do so after you ve replaced the parameters in the template. Figure 12 shows the completed procedure. The presence of these generic parameters is the principal difference between templates and scripts. Figure 12. The Query Analyzer after filling in the template parameters. Advanced The Advanced menu option loads an additional fly-out menu showing further options, all for formatting text in the Query Analyzer window, as shown in Figure 13. You may want to take the time to memorize the keyboard shortcuts for items on this list that you will use frequently. You can waste a lot of time typing Transact-SQL if you fail to make use of these very handy options. Figure 13. Advanced menu options. Microsoft SQL Server 2000 Professional Skills Development 6-11

12 Using the Query Analyzer Query Menu Items The Query menu items are grouped into several sections because they encompass different kinds of activities, as shown in Figure 14. Several items, such as changing database context and parsing/executing queries, are also represented by default toolbar buttons. Figure 14. The Query menu items. Executing Queries Think of the Parse option as a syntax checker it will check the syntax of a query or of a highlighted section of text. The Execute option will actually run the query. The Cancel Executing Query option is used to cancel a longrunning query. Displaying Query Plans and Index Tuning The following grouping lumps together the Display Estimated Execution Plan option and the Index Tuning Wizard. Displaying the execution plan shows you how SQL Server proposes to execute a specific query. There are usually a number of different ways that the desired results of a query can be achieved. SQL Server evaluates its options based on the amount and variation 6-12 Microsoft SQL Server 2000 Professional Skills Development

13 Query Menu Items of data in the affected tables, and on what indexes are available. The execution plan shows you the decision that SQL Server has made about how to run the query most efficiently. Figure 15 shows the query plan for a query that joins the tblproduct and the tblorderdetail tables. If you linger the mouse over any of the elements you will see the breakdown in cost for that element. Figure 15. The estimated execution plan for a query. Microsoft SQL Server 2000 Professional Skills Development 6-13

14 Using the Query Analyzer If you want to improve performance of the query, load the Index Tuning Wizard by choosing Query Index Tuning Wizard from the menu. The Index Tuning Wizard will run based on the current query shown in the Query Analyzer window. You can also specify the database and tables you want it to inspect, as shown in Figure 16. Figure 16. Selecting tables for the Index Tuning Wizard Microsoft SQL Server 2000 Professional Skills Development

15 Query Menu Items The Index Tuning Wizard will then display its recommendations, as shown in Figure 17. Figure 17. Indexes recommended by the Index Tuning Wizard. The Index Tuning Wizard will then create any recommended indexes for you, if you wish. Configuring Result Sets Your three choices for configuring the result set of a query are: Results in Text Results in Grid Results to File Microsoft SQL Server 2000 Professional Skills Development 6-15

16 Using the Query Analyzer The default setting is Results in Grid since it takes less time for the Query Analyzer to display. If you choose Results to File, you will be prompted for a file name and location. The default extension is.rpt, but you can change this to any other extension you choose. You can also choose between ANSI, Unicode, and OEM formats for the data. Figure 18 shows the first few rows of the output in fixed-width format. Figure 18. The output from saving a query to a file. The Show Options The next grouping of menu options each adds an additional pane to the lower portion of the Query Analyzer window. Show Execution Plan: Displays the execution plan used by the query. The difference between this option and the Display Estimated Execution Plan described earlier is that it is executed concurrently with the query, instead of before the query executes. Show Server Trace: Displays a trace window where you can see the individual Transact-SQL statements that were run and the resources they consumed, as shown in Figure 19. This is the same kind of information that is displayed when you run a trace in SQL Server Profiler. Show Client Statistics: Displays client statistics, such as the number of rows affected, average fetch time, and number of fetches. Many of these options may show up as zeros if the query is not complex or does not return much data Microsoft SQL Server 2000 Professional Skills Development

17 Query Menu Items Figure 19. The Trace window displays Transact-SQL information. Microsoft SQL Server 2000 Professional Skills Development 6-17

18 Using the Query Analyzer Connection Options Choose Current Connection Properties to bring up the dialog box shown in Figure 20. You can configure connection properties for each connection as needed. The defaults shown here reflect turning the default ANSI settings on. Figure 20. The Current Connection Properties dialog box. These ANSI options define the query processing environment used by the connection, and reflect many, but not all, of the options required to conform to the SQL-92 standard. Your applications that use either ODBC or OLE DB will also have these options turned on the SQL Server ODBC driver and Microsoft OLE DB Provider for SQL Server automatically set ANSI_DEFAULTS to ON when connecting Microsoft SQL Server 2000 Professional Skills Development

19 Tools Menu Items Tools Menu Items The Tools menu contains three groupings, one for the Object Browser and Object Search, one for managing statistics and indexes, and one for setting options and customizing, as shown in Figure 21. Figure 21. Options on the Tools menu. Object Browser The Object Browser is one of the most useful enhancements in SQL Server It provides a graphical user interface with a hierarchical tree view of your database objects. Launch the Object Browser by choosing Tools Object Browser Show/Hide from the menu or by pressing the F8 key. The Object Browser has two panes: An Objects pane that lists database objects, built-in functions, and system data types. A Templates pane that gives you access to the templates used for creating generic Transact-SQL statements that you can customize. Microsoft SQL Server 2000 Professional Skills Development 6-19

20 Using the Query Analyzer The Objects Pane Figure 22 shows the Objects pane with the Shark database expanded. Each node in the view can be further expanded to expose the objects further down in the hierarchy. Figure 22. The Objects pane with the Shark database expanded. Use both the left mouse button and the right mouse button to work with the objects. Dragging and dropping with the left mouse button inserts the name of the object in the SQL pane, while right-dragging and dropping gives you a few more options, which you ll explore in the next exercise Microsoft SQL Server 2000 Professional Skills Development

21 Tools Menu Items Try It Out! 1. Expand the User Tables node in the Shark database until the table names are displayed. 2. Left-click the tblcategory table and drag it onto the SQL pane in the Query Analyzer. You will see dbo.tblcategory in the SQL pane. Delete the text. 3. Now right-click and drag tblcategory to the SQL pane. When you release the mouse button, you will see the menu items shown in Figure 23. Figure 23. The right-click and drag popup menu. 4. Select the top menu item, Create, and release the mouse. The following script appears in the SQL window: CREATE TABLE [tblcategory] ( [CategoryId] [int] IDENTITY (1, 1) NOT NULL, [Category] [varchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL, CONSTRAINT [aaaaatblcategory_pk] PRIMARY KEY NONCLUSTERED ( [CategoryId] ) ON [PRIMARY] ) ON [PRIMARY] GO 5. Delete the script in the SQL window. Microsoft SQL Server 2000 Professional Skills Development 6-21

22 Using the Query Analyzer 6. Try again and this time select SELECT from the menu. You will then get a query that selects all of the columns from tblcategory: SELECT [CategoryId], [Category] FROM [Shark].[dbo].[tblCategory] 7. Experiment with left- and right-mouse dragging and dropping with the other objects. Right-dragging a function will paste the correct syntax for using that function into the SQL pane when you choose Execute from the drop-down list. Additional functionality is available by simply right-clicking on an object, which brings up the menu shown in Figure 24. Figure 24. The right-click menu in the Object Browser pane Microsoft SQL Server 2000 Professional Skills Development

23 Tools Menu Items The Open option opens the table. You can enter and edit data, as shown in Figure 25. Figure 25. Entering data from the Object Browser. The other options allow you to set various properties for the Object Browser, and they are worth exploring so that you know what s available. As you can see, the Object Browser is very convenient for quickly creating queries and scripts without a lot of typing. Microsoft SQL Server 2000 Professional Skills Development 6-23

24 Using the Query Analyzer The Templates Pane The templates pane gives you access to the templates directory. SQL Server ships with templates you can use to create scripts and queries that perform common tasks. Figure 26 shows the Templates pane with the Create Table node expanded. Figure 26. The Templates pane with the Create Table node expanded. The Templates pane works by left-clicking on a template and then dragging and dropping the template onto the SQL pane or by double-clicking the template to open it in a new window Microsoft SQL Server 2000 Professional Skills Development

25 Tools Menu Items Try It Out! To create a table using a template, follow these steps: 1. Expand the Create Table node and left-drag (or double-click) the Create Table Basic Template onto the SQL pane. This displays the following text in the SQL pane: -- ============================================= -- Create table basic template -- ============================================= IF EXISTS(SELECT name FROM sysobjects WHERE name = N'<table_name, sysname, test_table>' AND type = 'U') DROP TABLE <table_name, sysname, test_table> GO CREATE TABLE <table_name, sysname, test_table> ( <column_1, sysname, c1> <datatype_for_column_1,, int> NULL, <column_2, sysname, c2> <datatype_for_column_2,, int> NOT NULL) GO 2. Because the text enclosed in chevrons is not valid Transact-SQL syntax, replace it by choosing Edit Replace Template Parameters from the menu. This loads the Replace Template Parameters dialog box. Microsoft SQL Server 2000 Professional Skills Development 6-25

26 Using the Query Analyzer 3. Type in valid names and data types, as shown in Figure 27. Click Replace All when finished. Figure 27. The Replace Template Parameters dialog box. 4. All of the parameters and text in chevrons will be replaced and your script will look like the following: -- ============================================= -- Create table basic template -- ============================================= IF EXISTS(SELECT name FROM sysobjects WHERE name = N'tblTest' AND type = 'U') DROP TABLE tbltest GO CREATE TABLE tbltest ( PK int NULL, TestName varchar(50) NOT NULL) GO 6-26 Microsoft SQL Server 2000 Professional Skills Development

27 Tools Menu Items Saving Templates You can create and save your own templates. Choose File Save As from the menu, and choose Template SQL Files in the Save Query dialog box. The template folders are located in the following directory: \Program Files\Microsoft SQL Server\80\Tools\Templates\ Choose the appropriate folder, as shown in Figure 28. Your template will show up the next time you open the Object Browser. Figure 28. Saving a script as a template. However, don t expect that saving as a template is going to perform any magic by inserting chevrons and otherwise formatting it like a built-in template. You d have to figure out where the chevrons and marker text go yourself and insert them in your template before saving. Using the Transact-SQL Debugger The Transact-SQL debugger allows you to step through stored procedures, to define watch expressions, and to set breakpoints. You can view and set variable values and perform other debugging tasks much the same way you do in other programming environments. Microsoft SQL Server 2000 Professional Skills Development 6-27

28 Using the Query Analyzer TIP: The Transact-SQL Debugger can lock certain system resources when stepping through code, and is therefore not recommended for use on a production server. The Transact-SQL Debugger is available from the right-click menu with a stored procedure selected in the Object Browser, or from the Object Search menu by right-clicking on a stored procedure. Try It Out! Here s how to step through the byroyalty stored procedure in the pubs database: 1. Expand the pubs Stored Procedures node in the Object Browser and right-click on the dbo.byroyalty stored procedure. 2. Choose Debug from the menu. This loads the Debug Procedure dialog box as shown in Figure 29. Type in a value for parameter, and click Execute. Figure 29. The Debug Procedure dialog box Microsoft SQL Server 2000 Professional Skills Development

29 Tools Menu Items 3. This opens a separate window in the Query Analyzer so that you can step through the stored procedure, as shown in Figure 30. All actions are from toolbar buttons, and ToolTips will display help so that you can determine what the icons mean. You can add global functions to the center pane (@@Error has been added here), and choose different step modes. Figure 30. The Transact-SQL Debugger window. 4. After the stored procedure has finished running, try executing it again. Press the F5 key or click the Go toolbar button. Supply a different value for variable, as shown in Figure 31 is set to 50: Figure 31. Changing the variable value. Microsoft SQL Server 2000 Professional Skills Development 6-29

30 Using the Query Analyzer 5. The bottom pane shows the new result set and return value from the stored procedure: au_id = 0 6. Close the debugger by closing the window when you re finished. The Transact-SQL debugger is a welcome addition to the Query Analyzer. Debugging stored procedures was onerous and time consuming in previous versions of SQL Server. Object Search Choose Tools Object Search to locate objects on your SQL Server. The Object Search dialog box allows you to search for a single object or multiple objects by using traditional search methods. You can search for tables, stored procedures, functions, or other SQL Server objects. Try It Out! Follow these steps to locate all tables that have the string order in their names: 1. Choose Tools Object Search New from the menu. This loads the Object Search dialog box. 2. Select User table from the list of object types. 3. Type *order* in the Object name box and choose Find Now Microsoft SQL Server 2000 Professional Skills Development

31 Tools Menu Items 4. A list of objects matching the search criteria appears in the lower pane, as shown in Figure 32. Figure 32. Using Object Search to locate all tables with order in the name. Microsoft SQL Server 2000 Professional Skills Development 6-31

32 Using the Query Analyzer 5. Right-click the Results pane to bring up a context-sensitive menu, as shown in Figure 33. Figure 33. The Results pane has a context-sensitive right-click menu. You can open the selected table or perform other actions as needed. Note that the grayed-out Debug option at the bottom of the menu allows you to launch the Transact-SQL Debugger if a stored procedure is selected Microsoft SQL Server 2000 Professional Skills Development

33 Tools Menu Items Extended Properties On several of the right-click menus in the Query Analyzer tools, you ll see Extended Properties. This is a new feature in SQL Server 2000 that will be familiar to Access programmers, and it was added at the request of the Access team. Extended properties can be used to add your own custom annotations to SQL Server objects. For example, a column in a table might have a Caption property specifying the label that should be used to describe that column, or a Format property holding data on how the column should be formatted. Manage Indexes The Tools Manage Indexes menu option gives you a shortcut to your indexes. You can use it to create new indexes or edit existing ones. Figure 34 shows the Manage Indexes dialog box for the tblcustomer table in the Shark database. Figure 34. The Manage Indexes dialog box. Microsoft SQL Server 2000 Professional Skills Development 6-33

34 Using the Query Analyzer Select the index you are interested in editing, and choose Edit from the menu. This launches the Edit Existing Index dialog box where you can further refine index properties, as shown in Figure 35. Click OK when done. Figure 35. Editing the ZipCode index in tblcustomer Microsoft SQL Server 2000 Professional Skills Development

35 Tools Menu Items Manage Statistics SQL Server maintains statistics on the data in your tables and indexes, and uses these statistics in determining the best plan for executing each query. If you have missing or out-of-date statistics, then the best plan may not be generated. Figure 36 shows that the tblorderdetail table in the Shark database does not have any statistics. Figure 36. Missing statistics for the tblorderdetail table. Microsoft SQL Server 2000 Professional Skills Development 6-35

36 Using the Query Analyzer Click New to load the Create Statistics dialog box, as shown in Figure 37. Check the columns to gather statistics on, and click OK when done. Figure 37. Creating new statistics. Normally you shouldn t need to generate statistics if you ve set your database options to automatically generate statistics Microsoft SQL Server 2000 Professional Skills Development

37 Tools Menu Items Options and Customize Select Tools Options to set the options for the Query Analyzer. Figure 38 shows the General tab where you can set options such as directories and extensions. Figure 38. Setting Query Analyzer options. The other options are worth exploring so that you can customize the Query Analyzer. Some options are for the Query Analyzer as a whole, and some are specific to a particular connection (such as those found on the Connections tab). Microsoft SQL Server 2000 Professional Skills Development 6-37

38 Using the Query Analyzer To configure custom keyboard shortcuts, choose Tools Customize from the menu. This loads the Customize dialog box. Type in a stored procedure name or expression as shown in Figure 39. Figure 39. Assigning a keyboard shortcut. When you press the key combination, the results appear automatically in the Results pane Microsoft SQL Server 2000 Professional Skills Development

39 Window Menu Items Window Menu Items Compared to some of the other menu items, the Window menu items don t do a whole lot. The top grouping allows you to switch panes, move the splitter (that s the bar between the Query pane and the Results pane) and hide the Results pane. The center group of options allows you to arrange the windows, and the bottom set allows you to quickly jump to a particular window. Figure 40 shows the options available in the Window menu. Figure 40. The Window menu options. Microsoft SQL Server 2000 Professional Skills Development 6-39

40 Using the Query Analyzer Help Menu Items Although there aren t many items on the Help menu, the ones that are there are extremely useful (see Figure 41). Figure 41. The Help menu items. Choose Contents and Index to launch Books Online with the Overview of SQL Query Analyzer topic loaded. This is your gateway to getting help on the Query Analyzer itself. Choose Using Help to launch Books Online with the Using SQL Server Books Online topic loaded. Further clues are to be found here. If you choose Transact-SQL Help to launch Books Online, what you get will depend on where your cursor is located. In a blank query, you ll get the Transact-SQL Overview topic. If you are on a Transact-SQL keyword, then Books Online will open with that topic displayed in the Index pane Microsoft SQL Server 2000 Professional Skills Development

41 Help Menu Items This is a very useful keyboard shortcut memorizing SHIFT+F1 will save some time if you want to get to Books Online quickly. Highlight the SELECT keyword in the query and press SHIFT+F1. Books Online will open with SELECT activated in the Index tab, as shown in Figure 42. Figure 42. The Index tab in Books Online after highlighting the SELECT keyword and pressing Shift+F1. Microsoft SQL Server 2000 Professional Skills Development 6-41

42 Using the Query Analyzer Summary The new Query Analyzer in SQL Server 2000 has a rich feature set that allows you to interact with SQL Server objects as well as to create queries and scripts. The Query Analyzer allows you to have multiple connections. You can save both scripts and result sets as text files. The Object Browser provides a hierarchical view of SQL Server objects, functions, templates, and system data types. Templates allow you to quickly create queries and scripts. You can configure indexes and launch the Index Tuning Wizard. The Transact-SQL Debugger allows you to debug stored procedures by stepping through them. You can view and set variables, set breakpoints, and view the Results pane. Object Search lets you search for any object in your SQL Server. You can take further action from the right-click menu. You can create and update statistics from the Query Analyzer Microsoft SQL Server 2000 Professional Skills Development

43 Help Menu Items Questions 1. How can you launch the Object Browser? 2. What are the two panes displayed in the Object Browser? 3. How can you quickly locate objects in your SQL Server? 4. How can you launch the Transact-SQL Debugger? 5. How can you get help when using the Query Analyzer? Microsoft SQL Server 2000 Professional Skills Development 6-43

44 Using the Query Analyzer Answers 1. How can you launch the Object Browser? Choose Tools Object Browser Show/Hide from the menu or press the F8 key. 2. What are the two panes displayed in the Object Browser? The Objects pane and the Templates pane 3. How can you quickly locate objects in your SQL Server? Use the Object Search. 4. How can you launch the Transact-SQL Debugger? From the Object Browser, by right-clicking on a stored procedure and choosing Debug, and from the Object Search by right-clicking in the results pane and choosing Debug. 5. How can you get help when using the Query Analyzer? By choosing one of the options from the Help menu, pressing F1, or selecting a Transact-SQL keyword and pressing Shift+F Microsoft SQL Server 2000 Professional Skills Development

45 Help Menu Items Lab 6: Using the Query Analyzer Microsoft SQL Server 2000 Professional Skills Development 6-45

46 Lab 6: Using the Query Analyzer Lab 6 Overview In this lab you ll learn how to use the Object Browser to create a table and a stored procedure. You ll then use the Transact-SQL Debugger to step through the stored procedure code. To complete this lab, you ll need to work through three exercises: Using the Object Browser to Create a Table Using the Object Browser to Create a Stored Procedure Using the Transact-SQL Debugger Each exercise includes an Objective section that describes the purpose of the exercise. You are encouraged to try to complete the exercise from the information given in the Objective section. If you require more information to complete the exercise, the Objective section is followed by detailed step-bystep instructions Microsoft SQL Server 2000 Professional Skills Development

47 Using the Object Browser to Create a Table Using the Object Browser to Create a Table Objective In this exercise, you ll use the Object Browser to create a new table named tbltestbrowser with two columns. One column will be an identity column named ID, with a data type of int and the second column will be named TestName, with a data type of varchar(50). You ll write script to create the primary key on the ID column. You ll then enter a few rows of sample data in the table. Things to Consider How do you launch the Object Browser from the Query Analyzer? How do you create a new table? How do you create a primary key constraint? How do you enter data in a table from the Object Browser? Step-by-Step Instructions 1. From the Query Analyzer main menu, press the F8 key to load the Object Browser and click the Templates tab. 2. Expand the Create Table node and select the Create Table with IDENTITY Column option. Drag and drop it onto the main query pane. Microsoft SQL Server 2000 Professional Skills Development 6-47

48 Lab 6: Using the Query Analyzer 3. Choose Edit Replace Template Parameters from the menu. This loads the Replace Template Parameters dialog box. Enter the values shown in Figure 43 for the ID column and the Test column. Click Replace All when finished. Figure 43. Entering the values in the Replace Template Parameters dialog box. 4. You should see the following script in the Query Pane: -- ============================================= -- Create table with IDENTITY column -- ============================================= IF EXISTS (SELECT name FROM sysobjects WHERE name = N'tblTestBrowser' AND type = 'U') DROP TABLE tbltestbrowser GO create table tbltestbrowser ( ID int IDENTITY(100, 1), TestName varchar(50) NOT NULL) GO 6-48 Microsoft SQL Server 2000 Professional Skills Development

49 Using the Object Browser to Create a Table 5. Add a primary key constraint to the ID column by typing in the following script: ALTER TABLE dbo.tbltestbrowser ADD CONSTRAINT PK_tblTestBrowser PRIMARY KEY CLUSTERED ( ID ) ON PRIMARY GO 6. To verify the syntax of the entire script, choose Query Parse from the menu, or press the CTRL+F5 key. 7. Make sure the Shark database is active in the main window, and choose Query Execute from the menu or press the F5 key. This creates the tbltestbrowser table. 8. Click the Objects tab to view the tbltestbrowser table. Right-click on the Shark database and choose Refresh from the menu. Expand the User Tables node. You should see the tbltestbrowser table in the object list. 9. Right-click on tbltestbrowser and choose Open from the menu. Add a few rows of sample data in the TestName column. Click Close when finished. Microsoft SQL Server 2000 Professional Skills Development 6-49

50 Lab 6: Using the Query Analyzer Using the Object Browser to Create a Stored Procedure Objective In this exercise, you ll use the Object Browser to create a new stored procedure in the Shark database. The stored procedure will select data from tbltestbrowser and have a single parameter for use in the WHERE clause to limit the rows returned to those that match the ID column. Things to Consider How do you launch the Object Browser from the main Query Analyzer window? How do you create a new stored procedure using the Object Browser? How do you specify a parameter for the stored procedure? Step-by-Step Instructions 1. Expand the Create Procedure node in the Templates tab. Double-click on the Create Procedure Basic Template option. This launches a new window with the script in it Microsoft SQL Server 2000 Professional Skills Development

51 Using the Object Browser to Create a Stored Procedure 2. Choose Edit Replace Template Parameters from the menu. This loads the Replace Template Parameters dialog box. Enter the values shown in Figure 44 for the name proctestbrowser parameter. Click Replace All when finished. Figure 44. Name the function and as the input parameter. 3. This will leave you with one too many parameters. Edit the script and delete the parameter. The stored procedure should select all of the rows from tbltestbrowser with a WHERE clause using input parameter. The script should look like the following: CREATE PROCEDURE int = 0 AS SELECT * FROM tbltestbrowser WHERE ID 4. Parse and then execute the script. To test the script, execute the following statement: EXECUTE proctestbrowser 100 Microsoft SQL Server 2000 Professional Skills Development 6-51

52 Lab 6: Using the Query Analyzer Using the Transact-SQL Debugger Objective In this exercise, you ll explore the Transact-SQL Debugger, using it to step through the stored procedure you created in the previous exercise. You ll change variable values and view the different result sets generated. Things to Consider How do you launch the Transact-SQL Debugger? How do you step through code? How do you view and modify variable values? Step-by-Step Instructions 1. Refresh the Shark database in the Object Browser so that the stored procedure created in the previous exercise will show up in the Objects tab. 2. Right-click on proctestbrowser and choose Debug from the menu. This launches the Transact-SQL Debugger in a new window Microsoft SQL Server 2000 Professional Skills Development

53 Using the Transact-SQL Debugger 3. Select a starting value for variable as shown in Figure 45, and click Execute. Figure 45. Setting a starting value for variable. Microsoft SQL Server 2000 Professional Skills Development 6-53

54 Lab 6: Using the Query Analyzer 4. This launches the debugger in a separate window. Click the Toggle breakpoints (F9) button to toggle a breakpoint. Click the Step Into (F11) button to execute the statement. Note the results displayed in the bottom pane, as shown in Figure 46. Figure 46. The stored procedure in the Transact-SQL debugger. 5. To enter break mode a second time, click the Go (F5) button. This time type in a new variable value Type system function name in the Name (Globals) column, as shown in Figure 47. Figure 47. Adding a system function. 6. When finished, close the debugger window Microsoft SQL Server 2000 Professional Skills Development

55 Using the Transact-SQL Debugger Microsoft SQL Server 2000 Professional Skills Development 6-55

Working with SQL Server Integration Services

Working with SQL Server Integration Services SQL Server Integration Services (SSIS) is a set of tools that let you transfer data to and from SQL Server 2005. In this lab, you ll work with the SQL Server Business Intelligence Development Studio to

More information

How to test and debug an ASP.NET application

How to test and debug an ASP.NET application Chapter 4 How to test and debug an ASP.NET application 113 4 How to test and debug an ASP.NET application If you ve done much programming, you know that testing and debugging are often the most difficult

More information

Search help. More on Office.com: images templates

Search help. More on Office.com: images templates Page 1 of 14 Access 2010 Home > Access 2010 Help and How-to > Getting started Search help More on Office.com: images templates Access 2010: database tasks Here are some basic database tasks that you can

More information

Visual Studio.NET Database Projects

Visual Studio.NET Database Projects Visual Studio.NET Database Projects CHAPTER 8 IN THIS CHAPTER Creating a Database Project 294 Database References 296 Scripts 297 Queries 312 293 294 Visual Studio.NET Database Projects The database project

More information

Microsoft Access 2010 handout

Microsoft Access 2010 handout Microsoft Access 2010 handout Access 2010 is a relational database program you can use to create and manage large quantities of data. You can use Access to manage anything from a home inventory to a giant

More information

Data Tool Platform SQL Development Tools

Data Tool Platform SQL Development Tools Data Tool Platform SQL Development Tools ekapner Contents Setting SQL Development Preferences...5 Execution Plan View Options Preferences...5 General Preferences...5 Label Decorations Preferences...6

More information

13 Managing Devices. Your computer is an assembly of many components from different manufacturers. LESSON OBJECTIVES

13 Managing Devices. Your computer is an assembly of many components from different manufacturers. LESSON OBJECTIVES LESSON 13 Managing Devices OBJECTIVES After completing this lesson, you will be able to: 1. Open System Properties. 2. Use Device Manager. 3. Understand hardware profiles. 4. Set performance options. Estimated

More information

Create a New Database in Access 2010

Create a New Database in Access 2010 Create a New Database in Access 2010 Table of Contents OVERVIEW... 1 CREATING A DATABASE... 1 ADDING TO A DATABASE... 2 CREATE A DATABASE BY USING A TEMPLATE... 2 CREATE A DATABASE WITHOUT USING A TEMPLATE...

More information

BID2WIN Workshop. Advanced Report Writing

BID2WIN Workshop. Advanced Report Writing BID2WIN Workshop Advanced Report Writing Please Note: Please feel free to take this workbook home with you! Electronic copies of all lab documentation are available for download at http://www.bid2win.com/userconf/2011/labs/

More information

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë

14.1. bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë 14.1 bs^ir^qfkd=obcib`qflk= Ñçê=emI=rkfuI=~åÇ=léÉåsjp=eçëíë bî~äì~íáåö=oéñäéåíáçå=ñçê=emi=rkfui=~åç=lééåsjp=eçëíë This guide walks you quickly through key Reflection features. It covers: Getting Connected

More information

Crystal Reports Payroll Exercise

Crystal Reports Payroll Exercise Crystal Reports Payroll Exercise Objective This document provides step-by-step instructions on how to build a basic report on Crystal Reports XI on the MUNIS System supported by MAISD. The exercise will

More information

Database Concepts (3 rd Edition) APPENDIX D Getting Started with Microsoft Access 2007

Database Concepts (3 rd Edition) APPENDIX D Getting Started with Microsoft Access 2007 David M. Kroenke and David J. Auer Database Concepts (3 rd Edition) APPENDIX D Getting Started with Microsoft Access 2007 Prepared by David J. Auer Western Washington University Page D-1 Microsoft product

More information

Access 2007 Creating Forms Table of Contents

Access 2007 Creating Forms Table of Contents Access 2007 Creating Forms Table of Contents CREATING FORMS IN ACCESS 2007... 3 UNDERSTAND LAYOUT VIEW AND DESIGN VIEW... 3 LAYOUT VIEW... 3 DESIGN VIEW... 3 UNDERSTAND CONTROLS... 4 BOUND CONTROL... 4

More information

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules

IBM Operational Decision Manager Version 8 Release 5. Getting Started with Business Rules IBM Operational Decision Manager Version 8 Release 5 Getting Started with Business Rules Note Before using this information and the product it supports, read the information in Notices on page 43. This

More information

Content Author's Reference and Cookbook

Content Author's Reference and Cookbook Sitecore CMS 6.2 Content Author's Reference and Cookbook Rev. 091019 Sitecore CMS 6.2 Content Author's Reference and Cookbook A Conceptual Overview and Practical Guide to Using Sitecore Table of Contents

More information

For Introduction to Java Programming, 5E By Y. Daniel Liang

For Introduction to Java Programming, 5E By Y. Daniel Liang Supplement H: NetBeans Tutorial For Introduction to Java Programming, 5E By Y. Daniel Liang This supplement covers the following topics: Getting Started with NetBeans Creating a Project Creating, Mounting,

More information

SQL Server An Overview

SQL Server An Overview SQL Server An Overview SQL Server Microsoft SQL Server is designed to work effectively in a number of environments: As a two-tier or multi-tier client/server database system As a desktop database system

More information

Crystal Reports Installation Guide

Crystal Reports Installation Guide Crystal Reports Installation Guide Version XI Infor Global Solutions, Inc. Copyright 2006 Infor IP Holdings C.V. and/or its affiliates or licensors. All rights reserved. The Infor word and design marks

More information

SAP Business Objects Business Intelligence platform Document Version: 4.1 Support Package 7 2015-11-24. Data Federation Administration Tool Guide

SAP Business Objects Business Intelligence platform Document Version: 4.1 Support Package 7 2015-11-24. Data Federation Administration Tool Guide SAP Business Objects Business Intelligence platform Document Version: 4.1 Support Package 7 2015-11-24 Data Federation Administration Tool Guide Content 1 What's new in the.... 5 2 Introduction to administration

More information

Toad for Data Analysts, Tips n Tricks

Toad for Data Analysts, Tips n Tricks Toad for Data Analysts, Tips n Tricks or Things Everyone Should Know about TDA Just what is Toad for Data Analysts? Toad is a brand at Quest. We have several tools that have been built explicitly for developers

More information

Module One: Getting Started... 6. Opening Outlook... 6. Setting Up Outlook for the First Time... 7. Understanding the Interface...

Module One: Getting Started... 6. Opening Outlook... 6. Setting Up Outlook for the First Time... 7. Understanding the Interface... 2 CONTENTS Module One: Getting Started... 6 Opening Outlook... 6 Setting Up Outlook for the First Time... 7 Understanding the Interface...12 Using Backstage View...14 Viewing Your Inbox...15 Closing Outlook...17

More information

Hypercosm. Studio. www.hypercosm.com

Hypercosm. Studio. www.hypercosm.com Hypercosm Studio www.hypercosm.com Hypercosm Studio Guide 3 Revision: November 2005 Copyright 2005 Hypercosm LLC All rights reserved. Hypercosm, OMAR, Hypercosm 3D Player, and Hypercosm Studio are trademarks

More information

How To Create A Powerpoint Intelligence Report In A Pivot Table In A Powerpoints.Com

How To Create A Powerpoint Intelligence Report In A Pivot Table In A Powerpoints.Com Sage 500 ERP Intelligence Reporting Getting Started Guide 27.11.2012 Table of Contents 1.0 Getting started 3 2.0 Managing your reports 10 3.0 Defining report properties 18 4.0 Creating a simple PivotTable

More information

Desktop, Web and Mobile Testing Tutorials

Desktop, Web and Mobile Testing Tutorials Desktop, Web and Mobile Testing Tutorials * Windows and the Windows logo are trademarks of the Microsoft group of companies. 2 About the Tutorial With TestComplete, you can test applications of three major

More information

Decision Support AITS University Administration. Web Intelligence Rich Client 4.1 User Guide

Decision Support AITS University Administration. Web Intelligence Rich Client 4.1 User Guide Decision Support AITS University Administration Web Intelligence Rich Client 4.1 User Guide 2 P age Web Intelligence 4.1 User Guide Web Intelligence 4.1 User Guide Contents Getting Started in Web Intelligence

More information

Utilities. 2003... ComCash

Utilities. 2003... ComCash Utilities ComCash Utilities All rights reserved. No parts of this work may be reproduced in any form or by any means - graphic, electronic, or mechanical, including photocopying, recording, taping, or

More information

Introduction to Microsoft Access 2003

Introduction to Microsoft Access 2003 Introduction to Microsoft Access 2003 Zhi Liu School of Information Fall/2006 Introduction and Objectives Microsoft Access 2003 is a powerful, yet easy to learn, relational database application for Microsoft

More information

Microsoft Query, the helper application included with Microsoft Office, allows

Microsoft Query, the helper application included with Microsoft Office, allows 3 RETRIEVING ISERIES DATA WITH MICROSOFT QUERY Microsoft Query, the helper application included with Microsoft Office, allows Office applications such as Word and Excel to read data from ODBC data sources.

More information

ArchestrA Log Viewer User s Guide Invensys Systems, Inc.

ArchestrA Log Viewer User s Guide Invensys Systems, Inc. ArchestrA Log Viewer User s Guide Invensys Systems, Inc. Revision A Last Revision: 7/3/07 Copyright 2007 Invensys Systems, Inc. All Rights Reserved. All rights reserved. No part of this documentation shall

More information

Content Author's Reference and Cookbook

Content Author's Reference and Cookbook Sitecore CMS 6.5 Content Author's Reference and Cookbook Rev. 110621 Sitecore CMS 6.5 Content Author's Reference and Cookbook A Conceptual Overview and Practical Guide to Using Sitecore Table of Contents

More information

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1

MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 MAS 500 Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the Sage MAS Intelligence Reports... 3 Copying, Pasting and Renaming Reports... 4 To create a new report from an existing report...

More information

Staying Organized with the Outlook Journal

Staying Organized with the Outlook Journal CHAPTER Staying Organized with the Outlook Journal In this chapter Using Outlook s Journal 362 Working with the Journal Folder 364 Setting Up Automatic Email Journaling 367 Using Journal s Other Tracking

More information

Chapter 4 Accessing Data

Chapter 4 Accessing Data Chapter 4: Accessing Data 73 Chapter 4 Accessing Data The entire purpose of reporting is to make sense of data. Therefore, it is important to know how to access data locked away in the database. In this

More information

Automating Administration with SQL Agent

Automating Administration with SQL Agent Automating Administration with SQL Agent Automating Administration with SQL Agent Objectives Configure SQL Server Agent. Set SQL Server Agent properties. Configure a fail-safe operator. Create operators.

More information

Outlook Email. User Guide IS TRAINING CENTER. 833 Chestnut St, Suite 600. Philadelphia, PA 19107 215-503-7500

Outlook Email. User Guide IS TRAINING CENTER. 833 Chestnut St, Suite 600. Philadelphia, PA 19107 215-503-7500 Outlook Email User Guide IS TRAINING CENTER 833 Chestnut St, Suite 600 Philadelphia, PA 19107 215-503-7500 This page intentionally left blank. TABLE OF CONTENTS Getting Started... 3 Opening Outlook...

More information

Database Studio is the new tool to administrate SAP MaxDB database instances as of version 7.5.

Database Studio is the new tool to administrate SAP MaxDB database instances as of version 7.5. 1 2 3 4 Database Studio is the new tool to administrate SAP MaxDB database instances as of version 7.5. It replaces the previous tools Database Manager GUI and SQL Studio from SAP MaxDB version 7.7 onwards

More information

Before you can use the Duke Ambient environment to start working on your projects or

Before you can use the Duke Ambient environment to start working on your projects or Using Ambient by Duke Curious 2004 preparing the environment Before you can use the Duke Ambient environment to start working on your projects or labs, you need to make sure that all configuration settings

More information

Setting Up ALERE with Client/Server Data

Setting Up ALERE with Client/Server Data Setting Up ALERE with Client/Server Data TIW Technology, Inc. November 2014 ALERE is a registered trademark of TIW Technology, Inc. The following are registered trademarks or trademarks: FoxPro, SQL Server,

More information

Microsoft Office Access 2007 Basics

Microsoft Office Access 2007 Basics Access(ing) A Database Project PRESENTED BY THE TECHNOLOGY TRAINERS OF THE MONROE COUNTY LIBRARY SYSTEM EMAIL: TRAININGLAB@MONROE.LIB.MI.US MONROE COUNTY LIBRARY SYSTEM 734-241-5770 1 840 SOUTH ROESSLER

More information

SQL Server 2005: Report Builder

SQL Server 2005: Report Builder SQL Server 2005: Report Builder Table of Contents SQL Server 2005: Report Builder...3 Lab Setup...4 Exercise 1 Report Model Projects...5 Exercise 2 Create a Report using Report Builder...9 SQL Server 2005:

More information

Excel 2002. What you will do:

Excel 2002. What you will do: What you will do: Explore the features of Excel 2002 Create a blank workbook and a workbook from a template Format a workbook Apply formulas to a workbook Create a chart Import data to a workbook Share

More information

XMailer Reference Guide

XMailer Reference Guide XMailer Reference Guide Version 7.00 Wizcon Systems SAS Information in this document is subject to change without notice. SyTech assumes no responsibility for any errors or omissions that may be in this

More information

NDA-30141 ISSUE 1 STOCK # 200893. CallCenterWorX-Enterprise IMX MAT Quick Reference Guide MAY, 2000. NEC America, Inc.

NDA-30141 ISSUE 1 STOCK # 200893. CallCenterWorX-Enterprise IMX MAT Quick Reference Guide MAY, 2000. NEC America, Inc. NDA-30141 ISSUE 1 STOCK # 200893 CallCenterWorX-Enterprise IMX MAT Quick Reference Guide MAY, 2000 NEC America, Inc. LIABILITY DISCLAIMER NEC America, Inc. reserves the right to change the specifications,

More information

Business Insight Report Authoring Getting Started Guide

Business Insight Report Authoring Getting Started Guide Business Insight Report Authoring Getting Started Guide Version: 6.6 Written by: Product Documentation, R&D Date: February 2011 ImageNow and CaptureNow are registered trademarks of Perceptive Software,

More information

IBM FileNet eforms Designer

IBM FileNet eforms Designer IBM FileNet eforms Designer Version 5.0.2 Advanced Tutorial for Desktop eforms Design GC31-5506-00 IBM FileNet eforms Designer Version 5.0.2 Advanced Tutorial for Desktop eforms Design GC31-5506-00 Note

More information

Creating a Patch Management Dashboard with IT Analytics Hands-On Lab

Creating a Patch Management Dashboard with IT Analytics Hands-On Lab Creating a Patch Management Dashboard with IT Analytics Hands-On Lab Description This lab provides a hands-on overview of the IT Analytics Solution. Students will learn how to browse cubes and configure

More information

Microsoft Office Access 2007 which I refer to as Access throughout this book

Microsoft Office Access 2007 which I refer to as Access throughout this book Chapter 1 Getting Started with Access In This Chapter What is a database? Opening Access Checking out the Access interface Exploring Office Online Finding help on Access topics Microsoft Office Access

More information

Create Mailing Labels from an Electronic File

Create Mailing Labels from an Electronic File Create Mailing Labels from an Electronic File Microsoft Word 2002 (XP) Electronic data requests for mailing labels will be filled by providing the requester with a commadelimited text file. When you receive

More information

Appendix A How to create a data-sharing lab

Appendix A How to create a data-sharing lab Appendix A How to create a data-sharing lab Creating a lab involves completing five major steps: creating lists, then graphs, then the page for lab instructions, then adding forms to the lab instructions,

More information

Backup Assistant. User Guide. NEC NEC Unified Solutions, Inc. March 2008 NDA-30282, Revision 6

Backup Assistant. User Guide. NEC NEC Unified Solutions, Inc. March 2008 NDA-30282, Revision 6 Backup Assistant User Guide NEC NEC Unified Solutions, Inc. March 2008 NDA-30282, Revision 6 Liability Disclaimer NEC Unified Solutions, Inc. reserves the right to change the specifications, functions,

More information

Release Document Version: 1.4-2013-05-30. User Guide: SAP BusinessObjects Analysis, edition for Microsoft Office

Release Document Version: 1.4-2013-05-30. User Guide: SAP BusinessObjects Analysis, edition for Microsoft Office Release Document Version: 1.4-2013-05-30 User Guide: SAP BusinessObjects Analysis, edition for Microsoft Office Table of Contents 1 About this guide....6 1.1 Who should read this guide?....6 1.2 User profiles....6

More information

Exploring SQL Server Data Tools in Visual Studio 2013

Exploring SQL Server Data Tools in Visual Studio 2013 Exploring SQL Server Data Tools in Visual Studio 2013 Contents Azure account required for last exercise... 3 Optimized productivity One set of tools for everything... 3 Using SSIS project to export a table

More information

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint 2013. InfoPath 2013 Web Enabled (Browser) forms

Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint 2013. InfoPath 2013 Web Enabled (Browser) forms Learn how to create web enabled (browser) forms in InfoPath 2013 and publish them in SharePoint 2013. InfoPath 2013 Web Enabled (Browser) forms InfoPath 2013 Web Enabled (Browser) forms Creating Web Enabled

More information

Working with SQL Server Agent Jobs

Working with SQL Server Agent Jobs Chapter 14 Working with SQL Server Agent Jobs Microsoft SQL Server features a powerful and flexible job-scheduling engine called SQL Server Agent. This chapter explains how you can use SQL Server Agent

More information

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access

Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix ABSTRACT INTRODUCTION Data Access Release 2.1 of SAS Add-In for Microsoft Office Bringing Microsoft PowerPoint into the Mix Jennifer Clegg, SAS Institute Inc., Cary, NC Eric Hill, SAS Institute Inc., Cary, NC ABSTRACT Release 2.1 of SAS

More information

Creating and Using Databases with Microsoft Access

Creating and Using Databases with Microsoft Access CHAPTER A Creating and Using Databases with Microsoft Access In this chapter, you will Use Access to explore a simple database Design and create a new database Create and use forms Create and use queries

More information

Jet Data Manager 2012 User Guide

Jet Data Manager 2012 User Guide Jet Data Manager 2012 User Guide Welcome This documentation provides descriptions of the concepts and features of the Jet Data Manager and how to use with them. With the Jet Data Manager you can transform

More information

3 IDE (Integrated Development Environment)

3 IDE (Integrated Development Environment) Visual C++ 6.0 Guide Part I 1 Introduction Microsoft Visual C++ is a software application used to write other applications in C++/C. It is a member of the Microsoft Visual Studio development tools suite,

More information

Using SQL Server Management Studio

Using SQL Server Management Studio Using SQL Server Management Studio Microsoft SQL Server Management Studio 2005 is a graphical tool for database designer or programmer. With SQL Server Management Studio 2005 you can: Create databases

More information

MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros.

MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros. MS WORD 2007 (PC) Macros and Track Changes Please note the latest Macintosh version of MS Word does not have Macros. Record a macro 1. On the Developer tab, in the Code group, click Record Macro. 2. In

More information

Bitrix Site Manager 4.1. User Guide

Bitrix Site Manager 4.1. User Guide Bitrix Site Manager 4.1 User Guide 2 Contents REGISTRATION AND AUTHORISATION...3 SITE SECTIONS...5 Creating a section...6 Changing the section properties...8 SITE PAGES...9 Creating a page...10 Editing

More information

Hands-On Lab. Building a Data-Driven Master/Detail Business Form using Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010.

Hands-On Lab. Building a Data-Driven Master/Detail Business Form using Visual Studio 2010. Lab version: 1.0.0. Last updated: 12/10/2010. Hands-On Lab Building a Data-Driven Master/Detail Business Form using Visual Studio 2010 Lab version: 1.0.0 Last updated: 12/10/2010 Page 1 CONTENTS OVERVIEW... 3 EXERCISE 1: CREATING THE APPLICATION S

More information

Silect Software s MP Author

Silect Software s MP Author Silect MP Author for Microsoft System Center Operations Manager Silect Software s MP Author User Guide September 2, 2015 Disclaimer The information in this document is furnished for informational use only,

More information

Microsoft SQL Server 2008 Step by Step

Microsoft SQL Server 2008 Step by Step Microsoft SQL Server 2008 Step by Step Mike Hotek To learn more about this book, visit Microsoft Learning at http://www.microsoft.com/mspress/books/12859.aspx 9780735626041 2009 Mike Hotek. All rights

More information

email-lead Grabber Business 2010 User Guide

email-lead Grabber Business 2010 User Guide email-lead Grabber Business 2010 User Guide Copyright and Trademark Information in this documentation is subject to change without notice. The software described in this manual is furnished under a license

More information

Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1

Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1 Simply Accounting Intelligence Tips and Tricks Booklet Vol. 1 1 Contents Accessing the SAI reports... 3 Running, Copying and Pasting reports... 4 Creating and linking a report... 5 Auto e-mailing reports...

More information

GP REPORTS VIEWER USER GUIDE

GP REPORTS VIEWER USER GUIDE GP Reports Viewer Dynamics GP Reporting Made Easy GP REPORTS VIEWER USER GUIDE For Dynamics GP Version 2015 (Build 5) Dynamics GP Version 2013 (Build 14) Dynamics GP Version 2010 (Build 65) Last updated

More information

Exploring Microsoft Office Access 2007. Chapter 2: Relational Databases and Multi-Table Queries

Exploring Microsoft Office Access 2007. Chapter 2: Relational Databases and Multi-Table Queries Exploring Microsoft Office Access 2007 Chapter 2: Relational Databases and Multi-Table Queries 1 Objectives Design data Create tables Understand table relationships Share data with Excel Establish table

More information

Legal Information Trademarks Licensing Disclaimer

Legal Information Trademarks Licensing Disclaimer Scribe Insight Tutorials www.scribesoft.com 10/1/2014 Legal Information 1996-2014 Scribe Software Corporation. All rights reserved. Complying with all applicable copyright laws is the responsibility of

More information

Microsoft Outlook 2007 Calendar Features

Microsoft Outlook 2007 Calendar Features Microsoft Outlook 2007 Calendar Features Participant Guide HR Training and Development For technical assistance, please call 257-1300 Copyright 2007 Microsoft Outlook 2007 Calendar Objectives After completing

More information

Netezza Workbench Documentation

Netezza Workbench Documentation Netezza Workbench Documentation Table of Contents Tour of the Work Bench... 2 Database Object Browser... 2 Edit Comments... 3 Script Database:... 3 Data Review Show Top 100... 4 Data Review Find Duplicates...

More information

Developing SQL and PL/SQL with JDeveloper

Developing SQL and PL/SQL with JDeveloper Seite 1 von 23 Developing SQL and PL/SQL with JDeveloper Oracle JDeveloper 10g Preview Technologies used: SQL, PL/SQL An Oracle JDeveloper Tutorial September 2003 Content This tutorial walks through the

More information

SiteBuilder 2.1 Manual

SiteBuilder 2.1 Manual SiteBuilder 2.1 Manual Copyright 2004 Yahoo! Inc. All rights reserved. Yahoo! SiteBuilder About This Guide With Yahoo! SiteBuilder, you can build a great web site without even knowing HTML. If you can

More information

Getting Started Guide

Getting Started Guide Getting Started Guide Introduction... 3 What is Pastel Partner (BIC)?... 3 System Requirements... 4 Getting Started Guide... 6 Standard Reports Available... 6 Accessing the Pastel Partner (BIC) Reports...

More information

Microsoft Visual Studio Integration Guide

Microsoft Visual Studio Integration Guide Microsoft Visual Studio Integration Guide MKS provides a number of integrations for Integrated Development Environments (IDEs). IDE integrations allow you to access MKS Integrity s workflow and configuration

More information

Microsoft Migrating to PowerPoint 2010 from PowerPoint 2003

Microsoft Migrating to PowerPoint 2010 from PowerPoint 2003 In This Guide Microsoft PowerPoint 2010 looks very different, so we created this guide to help you minimize the learning curve. Read on to learn key parts of the new interface, discover free PowerPoint

More information

DCA. Document Control & Archiving USER S GUIDE

DCA. Document Control & Archiving USER S GUIDE DCA Document Control & Archiving USER S GUIDE Decision Management International, Inc. 1111 Third Street West Suite 250 Bradenton, FL 34205 Phone 800-530-0803 FAX 941-744-0314 www.dmius.com Copyright 2002,

More information

Colligo Email Manager 6.0. Offline Mode - User Guide

Colligo Email Manager 6.0. Offline Mode - User Guide 6.0 Offline Mode - User Guide Contents Colligo Email Manager 1 Key Features 1 Benefits 1 Installing and Activating Colligo Email Manager 2 Checking for Updates 3 Updating Your License Key 3 Managing SharePoint

More information

Colligo Email Manager 6.0. Connected Mode - User Guide

Colligo Email Manager 6.0. Connected Mode - User Guide 6.0 Connected Mode - User Guide Contents Colligo Email Manager 1 Benefits 1 Key Features 1 Platforms Supported 1 Installing and Activating Colligo Email Manager 2 Checking for Updates 3 Updating Your License

More information

Site Maintenance Using Dreamweaver

Site Maintenance Using Dreamweaver Site Maintenance Using Dreamweaver As you know, it is possible to transfer the files that make up your web site from your local computer to the remote server using FTP (file transfer protocol) or some

More information

Introduction To Microsoft Office PowerPoint 2007. Bob Booth July 2008 AP-PPT5

Introduction To Microsoft Office PowerPoint 2007. Bob Booth July 2008 AP-PPT5 Introduction To Microsoft Office PowerPoint 2007. Bob Booth July 2008 AP-PPT5 University of Sheffield Contents 1. INTRODUCTION... 3 2. GETTING STARTED... 4 2.1 STARTING POWERPOINT... 4 3. THE USER INTERFACE...

More information

Citrix EdgeSight for Load Testing User s Guide. Citrix EdgeSight for Load Testing 3.8

Citrix EdgeSight for Load Testing User s Guide. Citrix EdgeSight for Load Testing 3.8 Citrix EdgeSight for Load Testing User s Guide Citrix EdgeSight for Load Testing 3.8 Copyright Use of the product documented in this guide is subject to your prior acceptance of the End User License Agreement.

More information

Getting to Know the Tools

Getting to Know the Tools Getting to Know the Tools CHAPTER 3 IN THIS CHAPTER Using SQL Server Management Studio One main limitation of the SQL CE 2.0 database released in 2002 was the need to manage the database either using a

More information

Elisabetta Zodeiko 2/25/2012

Elisabetta Zodeiko 2/25/2012 PRINCETON UNIVERSITY Report Studio Introduction Elisabetta Zodeiko 2/25/2012 Report Studio Introduction pg. 1 Table of Contents 1. Report Studio Overview... 6 Course Overview... 7 Princeton Information

More information

Migrating to Excel 2010 from Excel 2003 - Excel - Microsoft Office 1 of 1

Migrating to Excel 2010 from Excel 2003 - Excel - Microsoft Office 1 of 1 Migrating to Excel 2010 - Excel - Microsoft Office 1 of 1 In This Guide Microsoft Excel 2010 looks very different, so we created this guide to help you minimize the learning curve. Read on to learn key

More information

Getting Started with Access 2007

Getting Started with Access 2007 Getting Started with Access 2007 Table of Contents Getting Started with Access 2007... 1 Plan an Access 2007 Database... 2 Learning Objective... 2 1. Introduction to databases... 2 2. Planning a database...

More information

Citrix EdgeSight for Load Testing User s Guide. Citrx EdgeSight for Load Testing 2.7

Citrix EdgeSight for Load Testing User s Guide. Citrx EdgeSight for Load Testing 2.7 Citrix EdgeSight for Load Testing User s Guide Citrx EdgeSight for Load Testing 2.7 Copyright Use of the product documented in this guide is subject to your prior acceptance of the End User License Agreement.

More information

Planning and Creating a Custom Database

Planning and Creating a Custom Database Planning and Creating a Custom Database Introduction The Microsoft Office Access 00 database wizards make creating databases easy, but you may need to create a database that does not fit any of the predefined

More information

Quickstart Tutorial. Bradford Technologies, Inc. 302 Piercy Road, San Jose, California 95138 800-622-8727 fax 408-360-8529 www.bradfordsoftware.

Quickstart Tutorial. Bradford Technologies, Inc. 302 Piercy Road, San Jose, California 95138 800-622-8727 fax 408-360-8529 www.bradfordsoftware. Quickstart Tutorial A ClickFORMS Tutorial Page 2 Bradford Technologies. All Rights Reserved. No part of this document may be reproduced in any form or by any means without the written permission of Bradford

More information

MS Access Lab 2. Topic: Tables

MS Access Lab 2. Topic: Tables MS Access Lab 2 Topic: Tables Summary Introduction: Tables, Start to build a new database Creating Tables: Datasheet View, Design View Working with Data: Sorting, Filtering Help on Tables Introduction

More information

Microsoft Dynamics CRM 4.0 User s Guide

Microsoft Dynamics CRM 4.0 User s Guide Microsoft Dynamics CRM 4.0 User s Guide i Microsoft Dynamics CRM 4.0 User s Guide Copyright Information in this document, including URL and other Internet Web site references, is subject to change without

More information

Build Your First Web-based Report Using the SAS 9.2 Business Intelligence Clients

Build Your First Web-based Report Using the SAS 9.2 Business Intelligence Clients Technical Paper Build Your First Web-based Report Using the SAS 9.2 Business Intelligence Clients A practical introduction to SAS Information Map Studio and SAS Web Report Studio for new and experienced

More information

REUTERS/TIM WIMBORNE SCHOLARONE MANUSCRIPTS COGNOS REPORTS

REUTERS/TIM WIMBORNE SCHOLARONE MANUSCRIPTS COGNOS REPORTS REUTERS/TIM WIMBORNE SCHOLARONE MANUSCRIPTS COGNOS REPORTS 28-APRIL-2015 TABLE OF CONTENTS Select an item in the table of contents to go to that topic in the document. USE GET HELP NOW & FAQS... 1 SYSTEM

More information

Teradata SQL Assistant Version 13.0 (.Net) Enhancements and Differences. Mike Dempsey

Teradata SQL Assistant Version 13.0 (.Net) Enhancements and Differences. Mike Dempsey Teradata SQL Assistant Version 13.0 (.Net) Enhancements and Differences by Mike Dempsey Overview SQL Assistant 13.0 is an entirely new application that has been re-designed from the ground up. It has been

More information

Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick Reference Guide

Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick Reference Guide Open Crystal Reports From the Windows Start menu choose Programs and then Crystal Reports. Creating a Blank Report Ohio University Computer Services Center August, 2002 Crystal Reports Introduction Quick

More information

Introduction to MS WINDOWS XP

Introduction to MS WINDOWS XP Introduction to MS WINDOWS XP Mouse Desktop Windows Applications File handling Introduction to MS Windows XP 2 Table of Contents What is Windows XP?... 3 Windows within Windows... 3 The Desktop... 3 The

More information

Pastel Evolution BIC. Getting Started Guide

Pastel Evolution BIC. Getting Started Guide Pastel Evolution BIC Getting Started Guide Table of Contents System Requirements... 4 How it Works... 5 Getting Started Guide... 6 Standard Reports Available... 6 Accessing the Pastel Evolution (BIC) Reports...

More information

TAMUS Terminal Server Setup BPP SQL/Alva

TAMUS Terminal Server Setup BPP SQL/Alva We have a new method of connecting to the databases that does not involve using the Texas A&M campus VPN. The new way of gaining access is via Remote Desktop software to a terminal server running here

More information

Getting Started Guide SAGE ACCPAC INTELLIGENCE

Getting Started Guide SAGE ACCPAC INTELLIGENCE Getting Started Guide SAGE ACCPAC INTELLIGENCE Table of Contents Introduction... 1 What is Sage Accpac Intelligence?... 1 What are the benefits of using Sage Accpac Intelligence?... 1 System Requirements...

More information