1 ) Ans:
LOG FILE
If you use the Management Studio to create a database, the Studio will automatically create a database file plus a LOG file.
The management studio creates a log file to make it possible to recover from failure , and they make it possible to synchronize primary and secondary databases.Log file keeps records of Database changes. To restore database to a particular point, log files are used to roll the data forward to the point of failure.
2)
UPDATE
When you use the Management Studio to create a check constraint, you can specify whether you want the constraint enforced for insert or UPDATE operations.
3rd Answer: SQL(Structured Query Language)
When you use the Management Studio to create a database, including its tables and indexes, the Studio actually generates and runs the SQL statements that are necessary to create the database.
It generates and runs the SQL statements because Database can understand only SQL statements/Commands.
4) Ans:
REFERENTIAL INTEGRITY
When you use the Management Studio to create a foreign key constraint, you specify the relationship between two tables as well as the rules for enforcing REFERENTIAL INTEGRITY.
Referential Integrity refers to the accuracy and consistency of data within a relationship.In relationships, data is lined between two or more tables.
5) Ans:
TABLE
When you use the Management Studio to create a table, all of the constraints are at the TABLE level so they can refer to any of the columns in the table.
It checks all of the constraints are at table level because a table level constraint can see every column in a table.
6) Ans:
SCRIPT
Whenever you use the Management Studio to create, alter, or delete database objects, you can save the SCRIPT that it used for doing that.
If you save the script that you have used to create, alter , or delete database objects, so that you can use the script in future again if you need.
7) Ans:
Review the stored procedures and views that a specific table depends on
Stored procedures are used because we can create/write our own syntax for creating a database. If the database is created by someone, it becomes difficult to keep track of all the dependencies.So we use stored procedures to create our own database and dependencies.
8) Ans:
They’re less likely to make syntax errors as they implement the database.
because they knows where they have mad a mistake and they can correct it on their own,but if they don't use their own SQL statements to create a table/database,it becomes difficult for them to identify syntax errors.
Answer the following and explain so I can double check my answers If you use the Management Studio to create a database, the Studio will automatically create a database file plus a ________________...
answer the following so i can double check my answers. use sql knowledge Question 1 A table may have more than on clustered index. True False 10 points Question 2 All columns in a covering index must be from the same table. True False 10 points Question 3 Clustered indexes hold the data, not pointers to the data. True False 10 points Question 4 It is a good idea to index BLOB objects. True False 10 points Question 5 A...
Answer the following questions so I can double check my work Controls the flow of execution based on a condition begin...end try...catch goto if...else 10 points QUESTION 2 Changes the database context to the specified database. set alter exec use 10 points QUESTION 3 Exits the innermost WHILE loop. goto quit return break 10 points QUESTION 4 Controls the flow of execution when an error occurs declare on error goto try...catch continue...error 10 points QUESTION 5...
using sql answer the following i need to double check my answers Question 1 Controls the flow of execution based on a condition begin...end try...catch goto if...else 10 points Question 2 Changes the database context to the specified database. set alter exec use 10 points Question 3 Exits the innermost WHILE loop. goto quit return break 10 points Question 4 Controls the flow of execution when an error occurs declare on error goto try...catch continue...error 10 points Question 5 Declares...
Chapter 2 How to use the Management Studio Before you start the exercises... Before you start these exercises, you need to install SQL Server and the SQL Server Management Studio. The procedures for doing both of these tasks are provided in appendix A of the book. In addition, you'll need to get the Exercise Starts directory from your instructor. This directory contains some script files that you need to do these exercises. Exercises In these exercises, you'll use SQL Server...
For this set of Review Questions, we will create and use a database for the Wedgewood Pacific Corporation (WPC) that is similar to the Microsoft Access database we created and used in Chapters 1 and 2. Founded in 1957 in Seattle, Washington, WPC has grown into an internationally recognized organization. The company is located in two buildings. One building houses the Administration, Accounting, Finance, and Human Resources departments, and the second houses the Production, Marketing, and Information Systems departments. The...
6. With respect to database systems, which of the following statement(s) is (are) true? a. The physical view of data is how people conceptually organize and understand the relationships among data items. b. The DML builds the data dictionary, creates the database, describes logical views for each user, and specifies security constraints. c. A record layout shows the items stored in a file, including the type of data stored and both the order and length of the data fields. d....
Question 32 Which view would you use to see only the tables you have created ALL_TABLES USER_TABLES USER_TABS ALL_OBJECTS 2 points Question 33 Which script will you execute to create new user DAVE and give him the ability to connect to the database and the ability to create tables, sequences, and procedures? CREATE USER dave IDENTIFIED BY dave18; GRANT create table, create sequence, create procedure TO dave; CREATE USER dave IDENTIFIED BY dave18; GRANT create session, create table, create sequence,...
Step 1: Create table audits via triggers The system must log any insertion, deletion, or updates to the following tables: • Employee table (project 1) create table Employee ( empNumber char(8) not null, firstName varchar(25) null, lastName varchar(25) null, ssn char(9) null, address varchar(50) null, state char(2) null, zip char(5) null, jobCode char(4) null, dateOfBirth date null, certification bit null, salary money null, constraint PK_EMP PRIMARY KEY(empNumber), constraint EMP_STATECHECK CHECK(state in ('CA','FL')) ) GO • Job table (project 1) create...
Your project will require you to develop a database design to solve a real-life data management problem. It can be any problem in your work environment or for another organization, for example, a bookstore (think of how Amazon uses databases), a course management system (think of how a university manages courses), a bank (think of how your bank works), and an online auction site (think of how Ebay works). You will develop a database to solve this problem You will...
please use dia to draw the e-r diagram to create Entity - Relationship Diagrams then use MS access This project requires you to create a database design. Your design will be documented in a set of Entity-Relationship Crow's Foot diagrams using the representation as shown in the lecture materials. Draw a set of Entity-Relationship diagrams to model the following scenario. The Maggs Realty Company wants to track the Sales Offices that they have across all of Ontario They are interested...