SQL Server Flashcards Preview

Interview - C# > SQL Server > Flashcards

Flashcards in SQL Server Deck (9)
Loading flashcards...

What are the two authentication modes in SQL Server?

Windows Mode and Mixed Mode


What Is SQL Profiler?

Microsoft SQL Server Profiler is a graphical user interface to SQL Trace for monitoring an instance of the Database Engine or Analysis Services.

Microsoft SQL Server Profiler is now depricated.


What are the differences between local and global temporary tables?

Local temporary tables are visible when there is a connection, and are deleted when the connection is closed.


What is COALESCE in SQL Server?

COALESCE is used to return the first non-null expression within the arguments. This function is used to return a non-null from more than one column in the arguments.


What does UNION do?

UNION merges the contents of two structurally-compatible tables into a single combined table.


What is the difference between UNION and UNION ALL?

UNION will omit duplicate records whereas UNION ALL will include duplicate records.


What are the 3 types of SQL statements?

1. DDL (Data Definition Language): It is used to define the database structure such as tables. It includes three statements such as Create, Alter, and Drop.

2. DML (Data Manipulation Language): These statements are used to manipulate the data in records. Commonly used DML statements are Insert, Update, and Delete.

3. DCL (Data Control Language): These statements are used to set privileges such as Grant and Revoke database access permission to the specific user.


What is Referential Integrity?

Set of rules that restrict the values of one or more columns of the tables based on the values of the primary key or unique key of the referenced table.


What is Collation?

Set of rules that define how data is stored, how case sensitivity and Kana character can be treated etc.