
Print test
92 Matching questions
- DELETE ???
- system tables/views ???
- Three fundamental characteristics of databases:
- This is known as a self-reference
- Flat-type databases ???
- When you use SSMS to perform an action or task, you are executing ___
- A foreign key constraint in one table ___
- A DBMS is a collection of ___
- column ???
- Each row corresponding to ___
- Command sequence redefines the view to include the Price column ___
- SQLCMD is a ___
- sys.Objects ???
- Flat-type databases are considered "flat" because ___
- A table in a relational database can have ___
- Database query is an ___
- XQuery is a ___
- SQL scripts are stored as ___
- Three types of files to store databases (Microsoft SQL Server):
- One popular database server:
- Transact-SQL is the ___
- Query Analyzer
- DELETE FROM user; ???
- self-join ???
- A table is structured by ___
- SSMS ???
- Databases are organized by ___
- You can install SQL Server Management Studio on any ___
- if other objects are dependent on the object you are attempting to remove, this statement will ___
- The primary key constraint ___
- Don't confuse ALTER with UPDATE:
- it may be impossible to verify the constraints if a foreign key consists of ___
- DELETE FROM user WHERE id = 200; ???
- A check constraint ___
- Core DML statements include the following:
- Data Manipulation Language (DML) is the language element that allows you to use the core statements (INSERT, UPDATE, DELETE, and MERGE) to ___
- Extension of Primary data files ???
- MERGE ???
- DML?
- Secondary data files ???
- UPDATE ???
- Data Definition Language (DDL) statements ___
- A hierarchical database is similar to a ___
- INSERT ???
- A not null constraint ___
- Remember to not confuse DROP, which removes an object from the database, with ___
- Database
- Extension of transaction log files ???
- UPDATE Shirt SET Price = 13.50 WHERE ProductID = 2;
- Each column corresponds to ___
- ALTER TABLE Shirt ADD Price Money;
GO
??? - A unique constraint ___
- Hierarchical Databases ???
- SQL Server Management Studio, the primary tool for ___
- Create a new table named Planets within a database named AdventureWorks ???
- You can also use ALTER to change the definition of a ___
- row ???
- The central feature of SSMS is the ___
- ALTER ???
- USE ???
- A query is ___
- Each column stores data classified as ___
- The main DDL statements are ___
- SSMS can also be used to view and optimize ___
- A default constraint ___
- Types of databases ???
- SQLCMD ___
- When you use DML statements such as INSERT, UPDATE, DELETE, or MERGE, you need to realize that ___
- DDL ?
- DBMS ???
- SELECT ???
- Columns marked as foreign keys can ___
- TRUNCATE ???
- Scripts are stored as .sql files, and they are used either for ___
- Database objects are divided into two categories:
- Database servers ???
- USE [AdventureWorks] ???
- USE TESTDB ???
- ...
[IndvidualID] [int] NOT NULL, ???
... - GO command ???
- Open SSMS by clicking Start > All Programs >
- DROP ???
- The disadvantage of indexes ???
- Extension of secondary data files ???
- Index ???
- Primary data files ???
- SQL Server, periodically analyze queries and create indexes as needed to ___
- The Query Analyzer supports:
- The SQL Server Management Studio can be used to perform most of the activities you are required to do and can be considered a ___
- CREATE ???
- Constraints are limitations ___
- The CREATE TABLE [dbo].[Planets] command is used to ___
- a Performs insert, update, or delete operations on a target table based on the results of a join with a source table.
- b two or more columns and contains null values.
- c SELECT, INSERT, UPDATE, DELETE, MERGE
- d Flat-type, Hierarchical and relacional databases.
- e Executes the previous set of commands.
- f record
- g view, stored procedure, trigger, or function.
- h Contain user-defined objects, such as tables and views, as well as system tables that SQL Server requires for keeping track of the database
- i databases most commonly used in plain-text formats.
- j Entirely optimized to serve only the purposes of the database itself, usually using advanced hardware that can handle the high processing needs of the database.
- k .ndf
- l allows the administrator to limit the types of data a user can insert into the database.
- m database performance, as well as to create and modify databases, tables, and indexes.
- n Removes/delete rows from a table and frees the space used by those rows.
- o .ldf
- p tree structure
- q managing the server and its databases using a graphical interface.
- r A data structure that improves the speed of data retrieval operations on a database table.
- s Adds one or more new rows to a table or a view in SQL Server.
- t Removes an object from the database.
- u Remove rows from a table (or view) but does not free the space used by those rows removed.
- v Data Manipulation Language
- w primary means of programming and managing SQL Server.
- x Storage and programmability.
- y Microsoft SQL Server 2008 > SQL Server
Management Studio. - z create the Planets table.
- aa SQL Server Management Studio
- ab Used to add a Price column to the Shirt table.
- ac USE [AdventureWorks]
GO
CREATE TABLE [dbo].[Planets](
[IndvidualID] [int] NOT NULL,
[PlanetName] [varchar](50) NULL,
[PlanetType] [varchar](50) NULL,
[Radius] [varchar](50) NULL,
[TimeCreated] [datetime] NULL
) ON [PRIMARY]
GO - ad XQuery, SQLCMD, Transact-SQL
- ae provides a GUI-based interface to write and execute queries.
- af to delete an employee with the identification number 200 from the User table
- ag .sql files
- ah Database becomes too large and you run out of room on your first hard disk.
- ai Retrieves rows from the database and enables the selection of one or many rows or columns from one or many tables in SQL Server.
- aj on the whole, they either succeed or fail.
- ak Changes an existing object.
(...statement changes an existing object; you can use it to add or remove columns from a table) - al Data Definition Language
- am ...DELETE, which deletes data from within a table.
- an management of databases or to create the database schema during database deployment.
- ao columns and rows
- ap Programs that enables you to enter, organize, and select data in a database.
- aq To select a database named TESTDB
- ar If you then wanted to set the prices
- as optimize performance.
- at Changes the database context.
(changes the database context to the specified database or database snapshot) - au to delete all rows from a table named User
- av Microsoft SQL Server.
- aw inquiry into the database that returns information back from the database.
- ax manipulate data in any SQL Server tables.
- ay One specific attribute or type of information you want to store in the database.
- az sys.Tables, sys.Columns, sys.Databases, sys.Constraints, sys.Views, sys.Procedures, sys.Indexes, sys.Triggers, sys.Objects
- ba .mdf
- bb View contains a row for every object in the database with key column names of name, object_id, type_desc, type, create_date, and modify_date.
- bc Fields, records, and files
- bd they are two-dimensional tables consisting of rows and columns.
- be one record or one instance of each column.
- bf form part/subset of the Transact-SQL portion of SQL Server and can be used to create database objects such as tables, views, constraints, and stored procedures.
- bg uniquely identifies each record in a database table. The primary key must contain unique values and it cannot contain NULL values. Each table should have a primary key, and each table can have only one primary key.
- bh Individual ID cannot be NULL.
- bi USE, CREATE, ALTER, DROP, TRUNCATE, DELETE
- bj allows the database administrator to specifically identify which column should not contain duplicate values.
- bk is used to insert a default value into a column. If no other value is specified, the default value will be added to all new records.
- bl ALTER VIEW Size AS
SELECT ProductID, ProductName, Price FROM Shirt
WHERE ProductType = 'Size';
GO - bm multiple parents.
- bn Database management system.
- bo In this database, each "parent" table can have multiple "children," but each child can have only one parent.
- bp field
- bq Remember, ALTER changes the object definition, but UPDATE changes the data in the table.
- br command-line application that comes with Microsoft SQL
- bs Transact-SQL commands.
- bt An organized collection of data, typically stored in electronic format.
- bu ...allows SQL queries to be written and executed from the command prompt.
- bv ... or rules placed on a field or column to ensure that data that is considered invalid is not entered.
- bw fail and an error will be raised.
- bx When a self-reference is used to query a table
- by points to a primary key in another table.
- bz a data type.
- ca query and functional programming language that is designed to query collections of XML data.
- cb contain null values.
- cc • They are designed to store billions of rows of data.
• They are limited to the computer's available hard disk space.
• They are optimized to use all a computer's available memory to improve performance. - cd ensures that data is entered into a cell. In other words, the cell cannot be blank. It also means that you cannot insert a new record or update a record without adding a value to this field.
- ce Object Explorer, which allows users to browse, select, and manage any of the objects within the server.
- cf This statement allows you to create a variety of SQL Server database objects, including tables, views, and stored procedures.
- cg Windows desktop operating system so that you can remotely connect to and manage a SQL server.
- ch "one-stop" tool.
- ci Changes existing data in one or more columns in a table or view.
- cj used to ask for information from a database.
- ck It is possible for a foreign key constraint to reference columns in the same table
- cl Primary data files, secondary data files, transaction log files.
- cm changes the database context to AdventureWorks
- cn They need to be created and updated, which requires processing resources and takes up disk space.