Hello All, I have been collecting interview questions from the people who given interviews at various organizations. Below are the list of questions. It includes, SQL DBA, MSBI, SQL Developer, SQL Server. 1 SSRS: 1. How to render a report to a user email? 2. How to join two dat...
A: Based on the available SQL Server statistics and the workload performed on the SQL Server, the SQL Server Query Optimizer will provide us with a suggested index, that may improve the performance of the submitted query in a calculated percentage. So, it will display that index as a recomm...
SQL Server Profiler is a tool for monitoring and analyzing SQL Server events. It captures and records data about each event, such as query execution, performance metrics, and errors. It allows database administrators to diagnose performance issues, identify slow-running queries, and audit SQL Serve...
A stored procedure is a named group of SQL statements that have been previously created and stored in the server database. Stored procedures accept input parameters so that a single procedure can be used over the network by several clients using different input data. And when the procedure is ...
Using a combination of both index types optimizes performance for different types of queries. 13) What are SQL Server Reporting Services (SSRS)? SQL Server Reporting Services (SSRS) is a server-based business intelligence tool that enables organizations to: ...
We'll be going through six questions covering topics like query performance, joins, and SQL injection. They'll refer to the same database for cakes, customers, and orders at a bakery. Here's the schema: CREATETABLEcakes(cake_idINTNOTNULLAUTO_INCREMENTPRIMARYKEY,flavorVARCHAR(100)NOTNULL);CRE...
It is important to note that the performance of UNION ALL will typically be better than UNION, since UNION requires the server to do the additional work of removing any duplicates. So, in cases where is is certain that there will not be any duplicates, or where having duplicates is not a...
Don't forget to check out sql-server-performance.com 5. What are the steps you will take, if you are tasked with securing an SQL Server? Again this is another open ended question. Here are some things you could talk about: Preferring NT authentication, using server, database and ...
Performance object: SQL Server:Memory Manager Counter: Total Server Memory (KB) Q. What is theoption”Lock Pages in Memory”? Ans: Lock Pages in Memory is a setting that can be set on 64-bit operating systems that essentially tell Windows not to swap out SQL Server memory to disk. By ...
Indexes are database objects that help improve the performance of theSQL SELECTquery on a table. Typically, an index contains keys built from one or more columns in the table or view. These built keys are stored in a structure (B-tree) in the database server’s physical memory. It enabl...