Category: Interview Questions

How to Change SQL Server Compatibility level

  Changing Database compatibility level will be required when you upgrade your database from one version to another and you want to use the latest feature for sql version. For details on compatibility check this earlier post. For example lets say when you upgrade a database from sql server 2012 to 2014 the compatibility level

View Compatibility level of Database

To know what is compatibility Level check this post link. You can view the compatibility of SQL Server Database in two ways. From SSMS. Open SSMS -> Right click on Database -> Click properties -> Click on Options tab.            2. By running below SQL you can get the compatibility level

SQL Server Compatibility Level

SQL Server Compatibility level will be used to decide how SQL will use it features. By setting compatibility level will make sure that SQL will follow that particular compatibility level version. It is a database property and will only affects the features for that particular database. For example with SQL 2014 or higher the new

View in SQL server

A view is a virtual table.  View will not store any data physically. The data is pulled from the underlying base table when you call a view. Advantages of View : 1.It can be used to combine multiple tables and can have required columns for them.            Example :            Let us consider below three

how to add new row data in power bi

  If you have loaded a table manually in Power BI and you want to add a new row to the same table then you can simply follow the below steps. Below is an example of a table created manually in Power BI. Step 1: Click on the below screens on your table in Power

What is a heap table

A HEAP table in a sql server is a table without a clustered index. It can have non clustered index on it. A Table with a clustered index is called clustered table. Since it does not have clustered index the data in this table won’t be in sorted order. When you want to insert data