Posts

Data Warehousing Interview Questions and Answers

What is Data Warehousing? Data warehousing is the process of storing and managing data from varied sources to provide meaningful business insights. It involves data integration, cleaning, and transformation to support decision-making processes. What is Business Intelligence (BI)? Business Intelligence (BI) refers to technologies, applications, and practices for the collection, integration, analysis, and presentation of business information. It helps organizations make data-driven decisions. What is a Dimension Table? A dimension table is a table in a data warehouse that stores attributes or dimensions that describe the objects in a fact table. It provides context for measures in the fact table. What is Dimensional Modeling? Dimensional modeling is a design technique for organizing data in a data warehouse. It involves creating dimension tables and fact tables to provide a structure that is optimized for querying and analysis. What is a Fact Table? A fact table is a central table i...

SQL SERVER – Introduction to CLR – Simple Example of CLR

Image
CLR is abbreviation of Common Language Runtime. In SQL Server 2005 and later version of it database objects can be created which are created in CLR. Stored Procedures, Functions, Triggers can be coded in CLR. CLR is faster than T-SQL in many cases. CLR is mainly used to accomplish task which are not possible by T-SQL or can use lots of resources. CLR can be usually implemented where there is intense string operation, thread management or iteration methods which can be complicated for T-SQL. Implementing CLR provides more security to Extended Stored Procedure. Let us create one very simple CLR where we will print current system datetime. 1) Open Microsoft Visual Studio >> Click New Project >> Select Visual C# >> Database >> SQL Server Project 2) Either choose from existing database connection as reference or click on Add New Reference. In my example I have selected Add New Reference. 3) If you have selected existing reference skip to next step or a...