Exam 14: Access Databases and Sql

arrow
  • Select Tags
search iconSearch Question
flashcardsStudy Flashcards
  • Select Tags

You save a query that contains the SELECT statement by associating the query with one or more methods.

(True/False)
4.9/5
(35)

Case-Based Critical Thinking Questions Case 1 - LuvUrPet The database for a pet supply company includes the following table, named tblCollar, that contains product data for pet collars. The ItemDesc and Color fields contain text. The ItemNum, Price, and Quantity fields contain numbers. Case-Based Critical Thinking Questions Case 1 - LuvUrPet The database for a pet supply company includes the following table, named tblCollar, that contains product data for pet collars. The ItemDesc and Color fields contain text. The ItemNum, Price, and Quantity fields contain numbers.   What method could be used to invoke the previous query during run time? What method could be used to invoke the previous query during run time?

(Multiple Choice)
4.7/5
(34)

The .xsd file is called the dataset's ____ file.

(Multiple Choice)
4.8/5
(32)

The statement SELECT YearWon FROM tblMovies WHERE Title = 'Chicago' selects the Chicago field from the YearWon record.

(True/False)
4.9/5
(36)

Case-Based Critical Thinking Questions Case 1 - LuvUrPet The database for a pet supply company includes the following table, named tblCollar, that contains product data for pet collars. The ItemDesc and Color fields contain text. The ItemNum, Price, and Quantity fields contain numbers. Case-Based Critical Thinking Questions Case 1 - LuvUrPet The database for a pet supply company includes the following table, named tblCollar, that contains product data for pet collars. The ItemDesc and Color fields contain text. The ItemNum, Price, and Quantity fields contain numbers.   An application using the dataset should allow a user to type in a price to use to query the dataset. Which of the following clauses would allow a user to select the records for collars with a price of 15 or more? An application using the dataset should allow a user to type in a price to use to query the dataset. Which of the following clauses would allow a user to select the records for collars with a price of 15 or more?

(Multiple Choice)
4.7/5
(33)

An Insert query uses the ____ statement to add a record to a database.

(Multiple Choice)
4.9/5
(38)

The WHERE statement is the most commonly used statement in SQL.

(True/False)
4.8/5
(40)

You can use the ____ associated with a query to invoke the query during run time.

(Multiple Choice)
4.9/5
(34)

Because it is possible for an error to occur when saving data to a database, it's a good programming practice to place the Update method within the ____ block of a Try…Catch statement.

(Multiple Choice)
4.8/5
(34)

What is a parameter query and how is it used?

(Essay)
4.9/5
(38)

What is SQL and how is it used?

(Essay)
5.0/5
(36)

The FillByMake method is associated with a parameter query. Which of the following statements invokes the method and passes the contents of the txtMake control's Text property?

(Multiple Choice)
4.8/5
(41)

Click ____ on the shortcut menu to start the TableAdapter Query Configuration Wizard.

(Multiple Choice)
4.9/5
(40)

Problems - Correcting Logic and Code Errors The following sample of code contains errors. Rewrite the incorrect statements to correct all errors. ' Delete a record from the dataset Dim row As TextData row = CustomerDataSet.tblCustomer.LookForCustID(3146) Delete() Try TblCustomerTableAdapter.Save(CustomerDataSet.tblCustomer) Catch ex As Exception MessageBox.Show(ex.Message, "Delete record", MessageBoxButtons.OK, MessageBoxIcon.Information) End Try

(Essay)
4.7/5
(35)

Members The tblMembers table contains six fields. The LastName, FirstName, and MemberType fields contain text. The MemberID, JoinDate, and Fee fields contain numbers. The MemberType field contains one of the following letters: F for Family membership, A for one Adult membership, Y for one Youth membership, and S for one Senior membership. Write a SQL SELECT statement that deletes member 42315 from the tblMembers table.

(Essay)
4.8/5
(33)

Most of the time, you will know in advance the values to include in the criteria of a query.

(True/False)
4.9/5
(34)

For the changes made to a dataset to be permanent, you need to save the changes to the database associated with the dataset.

(True/False)
4.8/5
(30)

A Try…Catch statement ends with ____.

(Multiple Choice)
4.8/5
(29)

Which of the following locates the record whose PartNum field contains KL542, and then assigns the record to the row variable?

(Multiple Choice)
5.0/5
(31)

Which of the following statements will delete the record associated with a DataRow variable named getRow ?

(Multiple Choice)
4.9/5
(28)
Showing 21 - 40 of 60
close modal

Filters

  • Essay(0)
  • Multiple Choice(0)
  • Short Answer(0)
  • True False(0)
  • Matching(0)