<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.sqlservercentral.com/utility/FeedStylesheets/atom.xsl" media="screen"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en"><title type="html">Devin Knight</title><subtitle type="html" /><id>http://blogs.sqlservercentral.com/blogs/dknight/atom.aspx</id><link rel="alternate" type="text/html" href="http://blogs.sqlservercentral.com/dknight/default.aspx" /><link rel="self" type="application/atom+xml" href="http://blogs.sqlservercentral.com/blogs/dknight/atom.aspx" /><generator uri="http://communityserver.org" version="3.1.20917.1142">Community Server</generator><updated>2008-04-22T16:53:00Z</updated><entry><title>JSSUG Speaking Event:  Reporting Services 2008</title><link rel="alternate" type="text/html" href="http://blogs.sqlservercentral.com/dknight/archive/2008/07/17/jssug-speaking-event-reporting-services-2008.aspx" /><id>http://blogs.sqlservercentral.com/dknight/archive/2008/07/17/jssug-speaking-event-reporting-services-2008.aspx</id><published>2008-07-17T14:07:00Z</published><updated>2008-07-17T14:07:00Z</updated><content type="html">&lt;div&gt;We had a great group of about 35 people last night at the JSSUG (Jacksonville SQL Server User Group) meeting. If you missed it I spoke on Reporting Services 2008. I called the presentation Introduction to SSRS 2008 but we focused mainly on the new features in 2008. If you would like the slide deck just email me or it should be posted at &lt;a href="http://www.jssug.com/"&gt;www.JSSUG.com&lt;/a&gt; shortly.&amp;nbsp; If you have any question about it feel free to email me.&lt;/div&gt;
&lt;div&gt;&lt;/div&gt;
&lt;div&gt;Some of the top features we highlighted were: &lt;/div&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;div&gt;Reporting Services without Internet Information Services (IIS) &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;New Word export option &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Redesigned Report Builder &lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;div&gt;Data pane &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Smart tags &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Grouping pane &lt;/div&gt;&lt;/li&gt;&lt;/ul&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Tablix &lt;/div&gt;&lt;/li&gt;
&lt;li&gt;
&lt;div&gt;Gauges and Charts &lt;/div&gt;&lt;/li&gt;&lt;/ol&gt;
&lt;p&gt;I really would suggest getting a head start on getting used to the new reporting environment in either Report Builder or BIDS. Here&amp;#39;s the link to download both: &lt;a href="http://www.microsoft.com/sqlserver/2008/en/us/trial-software.aspx"&gt;http://www.microsoft.com/sqlserver/2008/en/us/trial-software.aspx&lt;/a&gt; &lt;/p&gt;
&lt;p&gt;There are two separate downloads so make sure you download the feature pack as well to get Report Builder 2.0. Report Builder has changed drastically from the past and had almost every &lt;span style="FONT-SIZE:8.5pt;LINE-HEIGHT:115%;FONT-FAMILY:&amp;#39;Verdana&amp;#39;,&amp;#39;sans-serif&amp;#39;;"&gt;capability&lt;/span&gt; of BIDS. &lt;/p&gt;&lt;img src="http://blogs.sqlservercentral.com/aggbug.aspx?PostID=8970" width="1" height="1"&gt;</content><author><name>Devin Knight</name><uri>http://blogs.sqlservercentral.com/members/Devin-Knight.aspx</uri></author><category term="Reporting Services 2008" scheme="http://blogs.sqlservercentral.com/dknight/archive/tags/Reporting+Services+2008/default.aspx" /></entry><entry><title>Upcoming Speaking Event</title><link rel="alternate" type="text/html" href="http://blogs.sqlservercentral.com/dknight/archive/2008/07/07/upcoming-speaking-event.aspx" /><id>http://blogs.sqlservercentral.com/dknight/archive/2008/07/07/upcoming-speaking-event.aspx</id><published>2008-07-07T15:24:00Z</published><updated>2008-07-07T15:24:00Z</updated><content type="html">I will be speaking at an upcoming JSSUG (Jacksonville SQL Server User Group) meeting Wednesday July 16th.  This event will cover what&amp;#39;s new with Reporting Services 2008.  It will cover mainly the new features in BIDS such as the added Dundas components and the new tablix.  Last month, Brian gave an overview of what&amp;#39;s new in SQL Server 2008 including how Reporing Services no longer uses  IIS for rendering.  That&amp;#39;s why I&amp;#39;ve decided to go in depth about the Report Designer for this meeting.  

Hope to see you there.  Meeting details at JSSUG.com&lt;img src="http://blogs.sqlservercentral.com/aggbug.aspx?PostID=8931" width="1" height="1"&gt;</content><author><name>Devin Knight</name><uri>http://blogs.sqlservercentral.com/members/Devin-Knight.aspx</uri></author></entry><entry><title>Answers To SSIS Interview Questions</title><link rel="alternate" type="text/html" href="http://blogs.sqlservercentral.com/dknight/archive/2008/05/19/answers-to-ssis-interview-questions.aspx" /><id>http://blogs.sqlservercentral.com/dknight/archive/2008/05/19/answers-to-ssis-interview-questions.aspx</id><published>2008-05-19T20:00:00Z</published><updated>2008-05-19T20:00:00Z</updated><content type="html">&lt;p&gt;&lt;font color="#0000A0"&gt;This is just a starting point for you to prepare for your interview so make sure not to limit yourself to what you find here.  These answers could easily vary but generally someone who is interviewing is looking not only for a correct answer but confidence in your answer.  If you have any questions about my answers or have something to add feel free to do so, but I did try to keep the answers short and sweet.  &lt;/font&gt;
&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-SIZE:20pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;SSIS Interview Questions&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;
&lt;p&gt;
1.          What does a control flow do?
&lt;p&gt;
&lt;/p&gt;&lt;font color="#FF8040"&gt;
A control flow manages the workflow of the package.  Pretty self-explanatory it controls the flow of how the package is run.  Sorry to use the words control flow in the definition, but this is a real easy one.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;
2.          Generically explain what happens inside a data flow task?&amp;nbsp;&lt;/p&gt;&lt;font color="#FF8040"&gt;
&lt;p&gt;
It moves data from nearly any source, performs different transforms to the data, then sends to nearly any destination.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;
3.	Explain what ETL is?
&lt;p&gt;&lt;/p&gt;&lt;font color="#FF8040"&gt;
Extract, Transform, and Load.  Basically pulls the data from a location, change/transforms the data somehow, and then loads it in a new location.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;
4.	Which task would you use to copy, move or delete files?
&lt;p&gt;&lt;/p&gt;&lt;font color="#FF8040"&gt;
File System Task (This is just an example know all control flow tasks)&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;
5.	Which transform would you use to split your data based on conditions you define?
&lt;p&gt;&lt;/p&gt;&lt;font color="#FF8040"&gt;
Conditional Split (This is just an example know all data flow transforms)&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;
6.	Explain the pros and cons of deploying to a file system vs msdb?
&lt;p&gt;&lt;/p&gt;&lt;font color="#FF8040"&gt;
Functionality	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;Best in File System   &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	Best in MSDB &lt;br /&gt;
Security	 		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;			X&lt;br /&gt;
Backup and Recovery	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;		X	 &lt;br /&gt;
Deployment		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	X	 &lt;br /&gt;
Troubleshooting		&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;X	 &lt;br /&gt;
Execution Speed	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;	X			&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;X&lt;br /&gt;
Availability	&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;		X	&lt;br /&gt;
&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;
7.	If you did not know the answer to a question what would be your next step to find the answer?
&lt;p&gt;&lt;/p&gt;&lt;font color="#FF8040"&gt;
Search online, read a book, or ask for help.  I generally would suggest it in this order.&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&lt;img src="http://blogs.sqlservercentral.com/aggbug.aspx?PostID=8827" width="1" height="1"&gt;</content><author><name>Devin Knight</name><uri>http://blogs.sqlservercentral.com/members/Devin-Knight.aspx</uri></author></entry><entry><title>Answers To DBA Interview Questions</title><link rel="alternate" type="text/html" href="http://blogs.sqlservercentral.com/dknight/archive/2008/05/19/answers-to-dba-interview-questions.aspx" /><id>http://blogs.sqlservercentral.com/dknight/archive/2008/05/19/answers-to-dba-interview-questions.aspx</id><published>2008-05-19T18:51:00Z</published><updated>2008-05-19T18:51:00Z</updated><content type="html">&lt;p&gt;&lt;font color="#0000A0"&gt;Here are your answers to the questions from last week  You should get some variation of what I have given you here.  If you think I&amp;#39;ve made a mistake somewhere let me know and we can discuss it.  This will be a short series of blogs on interview questions to help you learn what to expect when entering your first interviews.&amp;nbsp; &lt;/font&gt;&lt;/p&gt;
&lt;span style="FONT-SIZE:20pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;Activities for Laptop&lt;p&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;1.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;Using the AdventureWorks database and bring back all the columns from the HumanResources.Employee table where the title starts with Production, marital status is M and the hire date is between 1/1/2000 and getdate().&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Hint:&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Should get 12 rows back.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;

&lt;/p&gt;&lt;font color="#FF8040"&gt;
SELECT *&lt;br /&gt;
FROM HumanResources.Employee&lt;br /&gt;
WHERE Maritalstatus = &amp;#39;M&amp;#39; and hiredate between &amp;#39;1/1/2000&amp;#39; and getdate() and title like &amp;#39;production%&amp;#39;&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;2.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;From the AdventureWorks database join the tables Production.Product and Production.TransactionHistory.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Bring back columns ProductID, Quantity, and ActualCost from Production.TransactionHistory.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Use Name and ProductNumber from the table Production.Product.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Also, add a where clause that only returns the rows having an actual cost greater than zero.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;

&lt;/p&gt;&lt;font color="#FF8040"&gt;
SELECT h.productid, h.quantity, h.actualcost, p.name, p.productnumber&lt;br /&gt;
FROM Production.Product AS p INNER JOIN Production.TransactionHistory AS h&lt;br /&gt;
ON p.productid = h.productid&lt;br /&gt;
WHERE actualcost &amp;gt; 0&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;3.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;Using the AdventureWorksDW database show a join between Dim_Customer and Dim_Geography that brings back the columns LastName and FirstName aggregated separated by a comma, AddressLine1, and AddressLine2 from Dim_Customer. &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;From Dim_Geography bring back the City, StateProvinceCode, and PostalCode columns.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Then order by LastName.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;

&lt;/p&gt;&lt;font color="#FF8040"&gt;
SELECT c.lastname + &amp;#39;, &amp;#39; + c.firstname AS fullname, c.addressline1, c.addressline2, g.city, g.stateprovincecode, g.postalcode&lt;br /&gt;
FROM dbo.DimCustomer AS c INNER JOIN dbo.DimGeography AS g&lt;br /&gt;
ON c.geographykey = g.geographykey&lt;br /&gt;
ORDER BY lastname&lt;/font&gt;&lt;/p&gt;

&lt;p&gt;4.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;This time using the same SQL statement from the last question replace the AddressLine1 and AddressLine2 columns with a case statement.  The case statement should return only AddressLine1 if AddressLine2 is null and AddressLine1 and AddressLine2 separate by a comma if AddressLine2 does exists&lt;/font&gt;&lt;/span&gt; 

&lt;/p&gt;&lt;font color="#FF8040"&gt;
SELECT c.lastname + &amp;#39;, &amp;#39; + c.firstname AS Fullname, g.city, g.stateprovincecode, g.postalcode,&lt;br /&gt;
CASE	&lt;br /&gt;
when c.addressline2 is null then c.addressline1 &lt;br /&gt;
else c.addressline1 + &amp;#39;, &amp;#39; + c.addressline2 &lt;br /&gt;
end AS Address&lt;br /&gt;
FROM dbo.DimCustomer AS c INNER JOIN dbo.DimGeography AS g&lt;br /&gt;
ON c.geographykey = g.geographykey&lt;br /&gt;
where c.addressline2 is not null&lt;br /&gt;
ORDER BY lastname&lt;/font&gt;&lt;/p&gt;


&lt;p&gt;5.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;Using a left join on FactResellerSales and Dim_Employee from the same database show EmployeeKey, LastName, and FirstName from Dim_Employee.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;From FactResellerSales show the SalesAmount column summed and then group by Dim_Employee columns.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Also, use having statement to bring back only summed sales amount that have a total greater than 1 million.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Lastly order by the summed sales amount in descending order.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Hint:&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Should be only 15 rows.&lt;/font&gt;&lt;/span&gt; 

&lt;/p&gt;&lt;font color="#FF8040"&gt;
SELECT e.employeekey, e.lastname, e.firstname, sum(s.salesamount) AS totalsales&lt;br /&gt;
FROM dbo.FactResellerSales AS s LEFT JOIN dbo.DimEmployee AS e&lt;br /&gt;
ON s.employeekey = e.employeekey&lt;br /&gt;
GROUP BY e.employeekey, e.lastname, e.firstname&lt;br /&gt;
HAVING sum(s.salesamount) &amp;gt; 1000000&lt;br /&gt;
ORDER BY sum(s.salesamount) desc&lt;/font&gt;&lt;/p&gt;
&lt;img src="http://blogs.sqlservercentral.com/aggbug.aspx?PostID=8826" width="1" height="1"&gt;</content><author><name>Devin Knight</name><uri>http://blogs.sqlservercentral.com/members/Devin-Knight.aspx</uri></author></entry><entry><title>SSIS Interview Questions</title><link rel="alternate" type="text/html" href="http://blogs.sqlservercentral.com/dknight/archive/2008/05/19/ssis-interview-questions.aspx" /><id>http://blogs.sqlservercentral.com/dknight/archive/2008/05/19/ssis-interview-questions.aspx</id><published>2008-05-19T18:08:00Z</published><updated>2008-05-19T18:08:00Z</updated><content type="html">I have decided to make a short series of blogs about possible interview questions to help you prepare for an interview.  Last time I wrote about basic DBA questions.  Today I have given you some basic SSIS question to study.  These basic SSIS questions will give you a starting point on how to prepare for an interview.  If you have any other suggestions feel free to add to this list but keep in mind these questions are probably for a mid to junior level BI consultant.  I would assume if you&amp;#39;re a senior BI developer you know what to expect.  
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-SIZE:20pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;SSIS Interview Questions&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;
&lt;p&gt;
1.          What does a control flow do?
&lt;p&gt;
2.          Generically explain what happens inside a data flow task?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;
3.	Explain what ETL is?
&lt;p&gt;
4.	Which task would you use to copy, move or delete files?
&lt;p&gt;
5.	Which transform would you use to split your data based on conditions you define?
&lt;p&gt;
6.	Explain the pros and cons of deploying to a file system vs msdb?
&lt;p&gt;
7.	If you did not know the answer to a question what would be your next step to find the answer?&lt;img src="http://blogs.sqlservercentral.com/aggbug.aspx?PostID=8825" width="1" height="1"&gt;</content><author><name>Devin Knight</name><uri>http://blogs.sqlservercentral.com/members/Devin-Knight.aspx</uri></author><category term="Interview Questions" scheme="http://blogs.sqlservercentral.com/dknight/archive/tags/Interview+Questions/default.aspx" /></entry><entry><title>Possible interview questions for Intern/Junior DBA or Developer</title><link rel="alternate" type="text/html" href="http://blogs.sqlservercentral.com/dknight/archive/2008/05/10/possible-interview-questions-for-intern-junior-dba-or-developer.aspx" /><id>http://blogs.sqlservercentral.com/dknight/archive/2008/05/10/possible-interview-questions-for-intern-junior-dba-or-developer.aspx</id><published>2008-05-10T23:22:00Z</published><updated>2008-05-10T23:22:00Z</updated><content type="html">&lt;p&gt;I wrote these questions thinking about what some basic t-sql statements that I would want to see if I were to interview a intern or junior level DBA.&amp;nbsp; These cover some basics using both the adventure works transactional database and the adventure works data warehouse.&amp;nbsp; I&amp;#39;m interested in seeing how others test people they interview.&amp;nbsp; Let me know what suggestions you have for me to add to my questions.&amp;nbsp; &lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;span style="FONT-SIZE:20pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;Activities for Laptop&lt;p&gt;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;&amp;nbsp;&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;1.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;Using the AdventureWorks database and bring back all the columns from the HumanResources.Employee table where the title starts with Production, marital status is M and the hire date is between 1/1/2000 and getdate().&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Hint:&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Should get 12 rows back.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;

&lt;p&gt;2.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;From the AdventureWorks database join the tables Production.Product and Production.TransactionHistory.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Bring back columns ProductID, Quantity, and ActualCost from Production.TransactionHistory.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Use Name and ProductNumber from the table Production.Product.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Also, add a where clause that only returns the rows having an actual cost greater than zero.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;

&lt;p&gt;3.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;Using the AdventureWorksDW database show a join between Dim_Customer and Dim_Geography that brings back the columns LastName and FirstName aggregated separated by a comma, AddressLine1, and AddressLine2 from Dim_Customer. &lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;From Dim_Geography bring back the City, StateProvinceCode, and PostalCode columns.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Then order by LastName.&lt;/font&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;mso-bidi-font-family:Calibri;mso-bidi-theme-font:minor-latin;"&gt;&lt;span style="mso-list:Ignore;"&gt;&lt;font face="Calibri"&gt;

&lt;p&gt;4.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;This time using the same SQL statement from the last question replace the AddressLine1 and AddressLine2 columns with a case statement.  The case statement should return only AddressLine1 if AddressLine2 is null and AddressLine1 and AddressLine2 separate by a comma if AddressLine2 does exists&lt;/font&gt;&lt;/span&gt; 

&lt;p&gt;5.&lt;/font&gt;&lt;span style="FONT:7pt &amp;#39;Times New Roman&amp;#39;;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="FONT-SIZE:12pt;LINE-HEIGHT:115%;"&gt;&lt;font face="Calibri"&gt;Using a left join on FactResellerSales and Dim_Employee from the same database show EmployeeKey, LastName, and FirstName from Dim_Employee.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp;&lt;/span&gt;From FactResellerSales show the SalesAmount column summed and then group by Dim_Employee columns.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Also, use having statement to bring back only summed sales amount that have a total greater than 1 million.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Lastly order by the summed sales amount in descending order.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Hint:&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Should be only 15 rows.&lt;/font&gt;&lt;/span&gt; 
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.sqlservercentral.com/aggbug.aspx?PostID=8810" width="1" height="1"&gt;</content><author><name>Devin Knight</name><uri>http://blogs.sqlservercentral.com/members/Devin-Knight.aspx</uri></author><category term="Interview Questions" scheme="http://blogs.sqlservercentral.com/dknight/archive/tags/Interview+Questions/default.aspx" /></entry><entry><title>SQL Saturday </title><link rel="alternate" type="text/html" href="http://blogs.sqlservercentral.com/dknight/archive/2008/05/05/sql-saturday.aspx" /><id>http://blogs.sqlservercentral.com/dknight/archive/2008/05/05/sql-saturday.aspx</id><published>2008-05-05T12:58:00Z</published><updated>2008-05-05T12:58:00Z</updated><content type="html">So if you missed out on SQL Saturday you missed a great event and I highly suggest making it to the next event in Orlando June 7th and 8th.  Check www.sqlsaturday.com for registration and schedules.  Hope to see you in Orlando!
&lt;p&gt;
This weekend brought hundreds of people from all over the country to Jacksonville to network and improve their skills.  Both my sessions went well and if you attended my Intro to SSIS session and would like the few PowerPoint slides email me at knight_devin@homail.com and I would be happy to supply you with them.  I had many great questions in both sessions but if you have any further questions let me know and I’ll be happy to help.  &lt;img src="http://blogs.sqlservercentral.com/aggbug.aspx?PostID=8794" width="1" height="1"&gt;</content><author><name>Devin Knight</name><uri>http://blogs.sqlservercentral.com/members/Devin-Knight.aspx</uri></author><category term="SQL Saturday" scheme="http://blogs.sqlservercentral.com/dknight/archive/tags/SQL+Saturday/default.aspx" /></entry><entry><title>SQL Saturday - Jacksonville</title><link rel="alternate" type="text/html" href="http://blogs.sqlservercentral.com/dknight/archive/2008/04/22/sql-saturday-jacksonville.aspx" /><id>http://blogs.sqlservercentral.com/dknight/archive/2008/04/22/sql-saturday-jacksonville.aspx</id><published>2008-04-22T20:53:00Z</published><updated>2008-04-22T20:53:00Z</updated><content type="html">&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I am fairly new to the IT profession, so I think my blog will be great for others trying to get their break.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;I have always used blogs as a great source to find answers to my numerous questions.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;So, I hope my blog can be used similarly.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;My theory is if you write about what you have learned then you are twice as likely to remember it.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;So here it goes let’s prove myself right.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3" face="Times New Roman"&gt;Here’s where you can find me:&lt;/font&gt;&lt;/p&gt;&lt;font size="3" face="Times New Roman"&gt;&amp;nbsp;&lt;/font&gt; 
&lt;p style="MARGIN:0in 0in 0pt;" class="MsoNormal"&gt;&lt;font size="3"&gt;&lt;font face="Times New Roman"&gt;I am a member of the Jacksonville SQL Server User Group although unfortunately I travel during the week so miss the Wednesday meetings.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;I will be speaking at SQL Saturday in two sessions on May 3 at the University of North Florida in Jacksonville.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;The first session is more of a discussion and will be about what steps to take to get your break in the IT industry.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;The second is an introduction to SSIS where I will show how to create a basic package.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;Expect this session to fill up quickly because it is an intro session.&lt;span style="mso-spacerun:yes;"&gt;&amp;nbsp; &lt;/span&gt;&lt;/font&gt;&lt;/font&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;&lt;img src="http://blogs.sqlservercentral.com/aggbug.aspx?PostID=8770" width="1" height="1"&gt;</content><author><name>Devin Knight</name><uri>http://blogs.sqlservercentral.com/members/Devin-Knight.aspx</uri></author><category term="SQL Saturday" scheme="http://blogs.sqlservercentral.com/dknight/archive/tags/SQL+Saturday/default.aspx" /></entry></feed>