* Your assessment is very important for improving the workof artificial intelligence, which forms the content of this project
Download Execute the Query
Survey
Document related concepts
Serializability wikipedia , lookup
Relational algebra wikipedia , lookup
Microsoft Access wikipedia , lookup
Entity–attribute–value model wikipedia , lookup
Oracle Database wikipedia , lookup
Extensible Storage Engine wikipedia , lookup
Functional Database Model wikipedia , lookup
Open Database Connectivity wikipedia , lookup
Microsoft SQL Server wikipedia , lookup
Ingres (database) wikipedia , lookup
Concurrency control wikipedia , lookup
Microsoft Jet Database Engine wikipedia , lookup
Relational model wikipedia , lookup
ContactPoint wikipedia , lookup
Clusterpoint wikipedia , lookup
Transcript
CS 327 dbViZ Database Visualizer - dbViz Use-Case Specification: Execute Query Version 1.1 Database Visualizer - dbViz Use-Case Specification: Add TableExecute Query <document identifier> Version: <1.1> Date: <05/14/17> Revision History Date Version Description Author 09/Nov/2002 1.0 Document created Brian Schoudel 12/Dec/2002 1.1 Post Review Brian Schoudel Confidential CS 327 SE, 2017 Page 2 Database Visualizer - dbViz Use-Case Specification: Add TableExecute Query <document identifier> Version: <1.1> Date: <05/14/17> Table of Contents 1. 2. Use-Case Name 4 1.1 Brief Description 4 Flow of Events 4 2.1 Basic Flow 2.2 Alternative Flows 2.2.1 No connection to the database has been established. 2.2.2 Query returns no rows from the database 3. 4. Special Requirements 4 3.1 Response Time 4 Preconditions 5 4.1 Existing Query resides in query edit text box 4.1 Database Connection should have been established 5. 6. 4 4 Error! Bookmark not defined. Error! Bookmark not defined. Error! Bookmark not defined. Error! Bookmark not defined. Postconditions 4 5.1 Query results box is populated with query results from the database 5.2 Application Control passed back to the user 5 5 Extension Points 5 6.1 Query results box 5 Confidential CS 327 SE, 2017 Page 3 Database Visualizer - dbViz Use-Case Specification: Add TableExecute Query <document identifier> Version: <1.1> Date: <05/14/17> Use-Case Specification: Add Table 1. Use-Case Name 1.1 Brief Description The user wishes to execute a query against the database. 2. Flow of Events 2.1 Basic Flow 1. The user hits the “Execute Query” button. 2. The cursor turns into an hourglass as the query is being retrieved from the database. 3. The contents of the query is retrieved in the form of a table in the query results box. 4. Application displays “Contents of the query displayed in table”. 5. Control of the application is passed back to the user. 2.2 Alternative Flows 2.2.1 No connection to the database has been established 1a. Application prompts user with “No database connection has been established. Would you like to establish a database connection?” 1b. Use-Case Database Connection 1c. Flow continues with step 3 of the Basic Flow. 2.2.2 User alters query to in Query Edit Box to something invalid 2a. Error reported back from database that query is invalid. 2b. Flow continues with step 5. 2.2.3 Query returns no rows from the database 3a. Query returns and the query results box is empty. 3b. Application displays “No rows have been selected from the database” 3c. Control of the application is passed back to the user. 3. Special Requirements 3.1 Response Time System response time should be fast (within 2 few seconds). Database retrieval time will vary based on complexity and tuning of query. Confidential CS 327 SE, 2017 Page 4 Database Visualizer - dbViz Use-Case Specification: Add TableExecute Query <document identifier> Version: <1.1> Date: <05/14/17> 4. Preconditions 4.1 Existing query resides in query edit text box An existing query has been already constructed in the query edit text box. 4.2 Database connection should have been established A database connection should have been established but application will handle this if not. 5. Postconditions 5.1 Query results box is populated with query results from database The results of the query have been returned and populated in table format of the query results box. 5.2 Application Control Passed back to the user The user maintains control of the dbViZ. 6. Extension Points There is one extension point: Query results box. 6.1 Query Results Box. The query results box is populated as a result of the execute query operation. Confidential CS 327 SE, 2017 Page 5