Database Testing Flashcards
Long-term data storage
What’s database where data is stored in tables in the forms of rows and columns
Parts of a database
Data and Schema
What’s data
Data is information
What’s a table
Table is a set of rows and rows have columns
Object and Properties
Another way of looking at rows and columns where the row is an object and column is a property
What’s schema
Data structures - Tables, Rows, Columns, Datatype
Data structure in the Database is called schema
What are the other parts of schema other than tables, rows and columns
Functions, Triggers, Views and Procedures
What’s a view
Section of a database - show the data from a single table or multiple tables
What’s a stored procedure
small program contain SQL queries - can accept inputs
What is a function?
Function just has input parameter. Stored Procedure has both input and output parameters
What is a trigger?
Small program that executes automatically when you perform an operation on a table
What do you do in schema testing
check the column names and their datatypes and the number of characters it can take in and check the relationship between the tables (using the schema diagram)
how do you test a view in a database?
x
how do you test stored procedure?
x
how do you test a function?
Getdate (), Square ()