Вы находитесь на странице: 1из 6

As a Graduate of Computer Science with over 15 years of experience as Java/JavaScript/SQL, etc.

language Programmer, System Lead then as BI Consultant I have a lot to bring to the table. Throughout
my career I have worked on Oracle and SQL queries including advanced PL/SQL. One of my project
included large data (over 250 Million) records per day. I first worked with PL/SQL to perform complex
transformation, quickly afterwards, I was introduced to SQL Server Integration Services (SSIS). I have
worked in the MSBI world for the last 5+ years and have truly experienced the power of SSIS, SSAS and
SSRS. I have taken a year off due to personal family reasons and I am eager to jump back in the MSBI
world. I possess excellent verbal/written communication skills along with clear judgment on what is
best for the future of the company.
Cheers,
Desmond.

I extract transfrorm and load data from many sources this case the business people a central plaace for
the data to do analysis and report it. I previously worked as a programmer and part of the project that
involved in extracting modem with Rogers. I was able to collect huge amount of data and place it in a
denomalized table that returned queries quickly to find a break in a cable that affected multiple
customers. Rogers Quality Assurance loved what I did and was able to quickly monitor and send Rogers
Truck to locations before the customers even realized the issue. I am looking or a company that has
risen a process of developing a data warehouse.
I possess good communications skills as well as technical skills are good so that I can provide better
services to your company about 
 Then tell about qualification and experience, about present job.

SELECT a.Custid, a.Trans_date


FROM (

SELECT Custid,
  Trans_date,
     Row_Number() OVER(PARTITION BY Custid ORDER BY custid, Trans_date desc) Rowno
FROM Cust_Trans
)a
WHERE a. Rowno = 1;

What is ETL process? How many steps ETL contains? Explain with example.

- ETL stands for Extraction, Transforming and Loading. 


- Data is extracted from the source(database servers), and applied for generating business role on it.

The following are the steps involved :

- Define the source [ define the odbc connection to the database source ]

- Define the target [ create the odbc connection to the target database ]

- Create the mapping [ Apply business role here by adding transformations and define the data flow from source to target ]

- Create the session [ Mapping instructions ]

- Create the work flow [ Instructions that run on the sessions ]


RE: What is ETL process? How many steps ETL contains? Steve (07-17-2014)
As stated before ETL stands for Extract, Transform, Load. Generally there are 3 steps, Extract, Transform, and Load.

Of course, each of these steps could have many sub-steps. Especially the Transform step.

WHAT IS FULL LOAD & INCREMENTAL


OR REFRESH LOAD?
- Initial Load : It is the process of populating all the data warehousing tables for the very first time

- Full Load : While loading the data for the first time, all the set records are loaded at a stretch depending
on the volume. It erases all the contents of tables and reloads with fresh data

- Incremental Load : Applying the dynamic changes as and when necessary in a specific period. The
schedule is predefined each period

What is a three tier data warehouse?


- The data ware is thought of as a three tier system
- The middle layer provides the data that is usable in a secure way to the end users.
- The other two layers are on the other side of the middle tier. One from the end users and the other from
back end data storage.
- The 1st layer is known as source layer where the data lands
- The 2nd layer is known as integration layer where data is stored after transformation
- The 3rd layer is known as dimension layer where the actual presentation layer stands.
What are snapshots? What are materialized views & where do we use them?
What is a materialized view log?
- Snapshots are copies of read-only data of a master table.
- They are located on a remote node that is refreshed periodically to reflect the changes made to the
master table.
- They are replica of tables
Views
- Views are built by using attributes of one or more tables.
- View with single table can be updated, whereas view with multiple tables cannot be updated
Materialized View log
- A materialized view is a pre computed table that has aggregated or joined data from fact tables and
dimension tables.
- To put it simple, a materialized view is an aggregate table.
What is partitioning? Explain about Round-Robin, Hash partitioning. - ETL (05-
26-2012)
Explain the difference between Power Center and Power mart.

Power Center
- Processes large volumes of data
- ERP sources such as SAP,PeopleSoft,Oracle Apps. can be connected with power center
- Session partition is allowed to improve the performance of an ETL transaction

Power Mart
- Processes low volumes of data
- Does not provide connections to ERP sources
- Does not allow session partitions
TRICKY QUESTIONS

Tricky SQL Questions

sukeshchand, 18 Sep 2014 CPOL  21K  18

   4.50 (5 votes)

Rate this: vote 1vote 2vote 3vote 4vote 5


Unexpected SQL Interview Questions

Introduction
This tip presents few SQL Tricky Questions and Answers which will be useful for your development as
well as Interviews.

Using the Code


1) How to insert into a table with just one IDENTITY column?

Answer
Hide   Copy Code
INSERT INTO tbl_ID DEFAULT VALUES;

2) How to concatenate multiple rows into a single text string without


using loop?

Suppose we have a table with the following data:

Hide   Copy Code
ClientID ClientName
3 Sowrabh Malhotra
4 Saji Mon
6 Sajith Kumar
7 Vipin Job
8 Monoj Kumar

We need to concatenate the ClientName column like the following:


Hide   Copy Code
Sowrabh Malhotra, Saji Mon, Sajith Kumar, Vipin Job, Monoj Kumar

Answer

Method 1
Hide   Copy Code
SELECT ClientName + ', '
From ClientMaster
For XML PATH('')

Method 2
Hide   Copy Code
DECLARE @ClientNames VARCHAR(MAX);
SET @ClientNames = '';

SELECT @ClientNames = @ClientNames + IsNull(ClientName + ', ', '')


FROM ClientMaster
Select @ClientNames

3) How to use ORDER BY in VIEWS


Hide   Copy Code
Create View vClientMaster
As
Select TOP 100 PERCENT ClientID, ClientName FROM ClientMaster Order BY ClientID DESC

But in the above example, the SQL server will not consider the [TOP 100 PERCENT] statement
when executing the query. So we will not get the result in the order described in the view. But if we
specify any number less than 100 PERCENT, SQL server will sort the result.
Note: It is not advisable to use ORDER BY in VIEWS. Use order by outside the view like the
following:
Hide   Copy Code
Select ClientID, ClientName FROM vClientMaster Order BY ClientID DESC

4) How to create a UNIQUE Key on a Column which is having multiple


NULL values?
In SQL Server, Unique Key Constraint will allow only one NULL value. But there are situations that are
more than one null value in the column, but still have to maintain Uniqueness by ignoring
all null values.

Answer

Method 1
Only works on SQL Server 2008 and above
Using Filter Index. Filtered index is used to Index a portion of rows in a table. While creating an index,
we can specify conditional statements. The below SQL Query will create a Unique Index on the rows
having non nullvalues:
Hide   Copy Code
CREATE UNIQUE INDEX IX_ClientMaster_ClientCode ON ClientMaster(ClientCode)
WHERE ClientCode IS NOT NULL

Method 2

Create a view having the unique fields and create a Unique Clustered Index on it:

Hide   Copy Code
Create View vClientMaster_forIndex
With SchemaBinding
As
Select ClientCode From dbo.ClientMaster Where ClientCode IS NOT NULL;
Go

CREATE Unique Clustered Index UK_vClientMaster_ForIndex


on vClientMaster_forIndex(ClientCode)

Method 3
Create a Computed Column like the following and create a UNIQUE KEY on that:
Hide   Copy Code
[CMP_ClientCode] AS (case when [ClientCode] IS NULL _
then CONVERT([varchar](10),[ClientID],0) else [ClientCode] end)

4) What is the default size of SQL Server Database

Answer

The default size of user database is based on system database model. When a user creates a new
database, SQL server will take the copy of system model database and add user specified settings on
it and create new database.

Вам также может понравиться