Answer - Truncate command is used to remove all rows of the
column.The removed records are not recorded in the transaction log......
Answer - Shared Lock allows simultaneous
access of record by multiple Select statements. Shared Lock blocks record from
updating and will remain in queue waiting while record is accessed for
reading......
Define
Identity and uniqueidentifier property of Column.
Answer - Column with identity property
contains unique system generated value in the table. Column with identity
property is similar to AutoNumber field in MS Access....
Describe
in brief system database.
Answer - Master database is system database.
It contains information about server’s configuration. It is a very important
database and important to backup Master.....
Define
Stuff Function and Replace Function.
Describe
in brief SQL Server monitoring ways.
Answer - SQL Profiler is a tool that stores
events from the server. SQL Profiler saves the events in the trace file......
Define
transaction and transaction isolation levels.
Answer - A transaction is a set of
operations that works as a single unit. The ransactions can be categorized into
explicit, autocommit, and implicit....
SQL
Server Optimization Tips
Answer - Restricting query result means
return of required rows instead of all rows of the table. This helps in
reducing network traffic......
Having
clause and Where clause
Answer - Both are used for filtering of
records based on filtered criteria.....
Describe
in brief authentication modes in SQL server.
Answer - This is the default and recommended
security mode. In this mode, access to SQL server is controlled by Windows
NT.....
Define
@@Error and raiseerror.
Answer - It is system variable that returns error code of the
SQL statement.....