<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;D0MARXY4fSp7ImA9WhRXFUk.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391</id><updated>2011-12-22T14:47:24.835+05:30</updated><category term="Microsoft Virtual Tech Days 2011" /><category term="Microsoft event" /><title>Sudhir's SQL SERVER Blog</title><subtitle type="html">SQL Server has many features that we already know, many we don't know. Let's sit together and understand SQL Server in detail. Its an ocean, let's dive deep to understand, feel and enjoy it.</subtitle><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://sql-sudhir.blogspot.com/" /><link rel="next" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default?start-index=26&amp;max-results=25&amp;redirect=false&amp;v=2" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>121</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/SudhirsSqlServerBlog" /><feedburner:info uri="sudhirssqlserverblog" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><feedburner:emailServiceId>SudhirsSqlServerBlog</feedburner:emailServiceId><feedburner:feedburnerHostname>http://feedburner.google.com</feedburner:feedburnerHostname><entry gd:etag="W/&quot;D0MARXY_cCp7ImA9WhRXFUk.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-1981278103665100639</id><published>2011-12-22T14:47:00.000+05:30</published><updated>2011-12-22T14:47:24.848+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-22T14:47:24.848+05:30</app:edited><title>Inside SQL Server Optimizer Book</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
Here is another book from Redgate, Inside SQL Server optimizer by &lt;span style="font-size: small;"&gt;Benjamin Nevarez.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;&lt;span style="font-size: small;"&gt;Here's a quick overview of what the book covers:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Chapter 1, &lt;/span&gt;&lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;&lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;Execution Engine&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: small;"&gt;, Introduction to Query Optimization, starts with an overview on how the SQL Server Query Optimizer works, and introduces the concepts that will be covered in more detail in the rest of the book. A look into some of the challenges query optimizers still face today is covered next, along with a section on how to read and understand execution plans. The chapter closes with a discussion of join ordering, traditionally one of the most complex problems in query optimization.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Chapter 2 talks about the &lt;/span&gt;&lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;&lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;Execution Engine&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: small;"&gt;, describing it as a collection of physical operators that perform the functions of the query processor. It emphasizes how these operations, implemented by the Execution Engine, define the choices available to the Query Optimizer when building execution plans. This chapter includes sections on data access operations, the concepts of sorting and hashing, aggregations, and joins, to conclude with a brief introduction to parallelism.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Chapter 3, &lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;&lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;Statistics and Cost Estimation&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: small;"&gt;, shows how the quality of the execution plans generated by the Query Optimizer is directly related to the accuracy of its cardinality and cost estimations. The chapter describes Statistics objects in detail, and includes some sections on how statistics are created and maintained, as well as how they are used by the Query Optimizer. We'll also take a look at how to detect cardinality estimation errors, which may cause the Query Optimizer to choose inefficient plans, together with some recommendations on how to avoid and fix these problems. Just to round off the subject, the chapter ends with an introduction to cost estimation.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Chapter 4, &lt;/span&gt;&lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;&lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;Index Selection&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: small;"&gt;, shows how SQL Server can speed up your queries and dramatically improve the performance of your applications, just by using the right indexes. The chapter shows how SQL Server selects indexes, how you can provide better indexes, and how you can verify your execution plans to make sure these indexes are correctly used. We'll talk about the Database Engine Tuning Advisor and the Missing Indexes feature, which will show how the Query Optimizer itself can provide you with index tuning recommendations.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Chapter 5, &lt;/span&gt;&lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;&lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;The Optimization Process&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: small;"&gt;, goes right into the internals of the Query Optimizer and introduces the steps that it performs without you ever knowing. This covers everything, from the moment a query is submitted to SQL Server, until an execution plan is generated and ready to be executed, including steps like parsing, binding, simplification, trivial plan, and full optimization. Important components which are part of the Query Optimizer architecture, such as transformation rules and the memo structure, are also introduced.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;&lt;span style="font-size: small;"&gt;Chapter 6, &lt;/span&gt;&lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;&lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;Additional Topics&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;span style="font-size: small;"&gt;, includes a variety of subjects, starting with the basics of update operations, and how they also need to be optimized just like any other query, so that they can be performed as quickly as possible. We'll have an introduction to Data Warehousing and how SQL Server optimizes star queries, before launching into a detailed explanation of parameter sniffing, along with some recommendations on how to avoid some problems presented by this behavior. Continuing with the topic of parameters, the chapter concludes by discussing auto-parameterization and forced parameterization.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style="font-size: small;"&gt;&lt;strong&gt;Chapter 7,&lt;/strong&gt; &lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;&lt;span style="font-family: Calluna, Calluna; font-size: small;"&gt;&lt;strong&gt;hints&lt;/strong&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size: small;"&gt;, and warns that, although hints are a powerful tool which allow you to take explicit control over the execution plan of a query, they need to be used with caution, and only as a last resort when no other option is available. The chapter covers the most used hints, and ends with a couple of sections on plan guides and the USE PLAN query hint.&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span style="font-size: small;"&gt;Its a very good book to understand a lot of features to enhance performance &amp;amp; also get a hands on what's happening in background. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="background-color: white; color: blue; font-size: small;"&gt;&lt;a href="http://downloads.red-gate.com/ebooks/Inside_the_SQL_Server_Query_Optimizer.zip" target="_blank"&gt;&lt;strong&gt;&lt;span style="color: blue;"&gt;Click here to download this book&lt;/span&gt;.&lt;/strong&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style="background-color: white; color: blue;"&gt; &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;Happy Learning&lt;/span&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-size: small;"&gt;Sudhir&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-1981278103665100639?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/PtcrGbOOWGLIQc716bEw3cr4ti8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PtcrGbOOWGLIQc716bEw3cr4ti8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/PtcrGbOOWGLIQc716bEw3cr4ti8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/PtcrGbOOWGLIQc716bEw3cr4ti8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/scE42LautZ4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/1981278103665100639/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=1981278103665100639&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/1981278103665100639?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/1981278103665100639?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/scE42LautZ4/inside-sql-server-optimizer-book.html" title="Inside SQL Server Optimizer Book" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/12/inside-sql-server-optimizer-book.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEIHSH46eyp7ImA9WhRRF08.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-2305509898065359230</id><published>2011-12-01T12:22:00.001+05:30</published><updated>2011-12-01T12:25:39.013+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-12-01T12:25:39.013+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft event" /><category scheme="http://www.blogger.com/atom/ns#" term="Microsoft Virtual Tech Days 2011" /><title>Microsoft's Virtual Tech Days 2011 from 14-16th DEC</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
Microsoft is coming up with Virtual Tech Days from 14-16th Dec 2011.&lt;br /&gt;
&lt;br /&gt;
Welcome to the next edition of the Virtual Tech Days event scheduled in the mid of December, we are very excited about the event and we are currently working out a highly interactive agenda where you will learn about future technologies from Microsoft and deep dive sessions across our platforms and solutions. There will be dedicated tracks for Developers, IT Pros and Architects in this edition of VTD. Stay tuned to this page to see the schedule and agenda coming up over the next few weeks&lt;br /&gt;
&lt;br /&gt;
The focus will be on 3 tracks, Developer, IT Professionals &amp;amp; Architects. For Developers stress will be given on development technologies. For IT Professionals the focus will be on Administration, Sharepoint, Database etc.&lt;br /&gt;
&lt;br /&gt;
Agenda for Architects is not yet published.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.virtualtechdays.com/agendaday1.aspx" target="_blank"&gt;&lt;strong&gt;&lt;span style="color: blue;"&gt;Click here &lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;to view Agenda. Note: Its different&amp;nbsp;for each day.&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.virtualtechdays.com/registration1.aspx" target="_blank"&gt;&lt;strong&gt;&lt;span style="color: blue;"&gt;Click here&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt; to Register for the event.&lt;br /&gt;
&lt;br /&gt;
If you wish to view existing videos / presentations from old Virtual days then &lt;a href="http://www.virtualtechdays.com/downloadday1.aspx" target="_blank"&gt;&lt;span style="color: blue;"&gt;&lt;strong&gt;click here&lt;/strong&gt;&lt;/span&gt;&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
Happy Learning&lt;br /&gt;
&lt;br /&gt;
Sudhir&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-2305509898065359230?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/c7QuZRR9ONThSwwQJIGy7MNJlNY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c7QuZRR9ONThSwwQJIGy7MNJlNY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/c7QuZRR9ONThSwwQJIGy7MNJlNY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/c7QuZRR9ONThSwwQJIGy7MNJlNY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/4O8-73Zfze0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/2305509898065359230/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=2305509898065359230&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/2305509898065359230?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/2305509898065359230?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/4O8-73Zfze0/microsofts-virtual-tech-days-2011-from.html" title="Microsoft's Virtual Tech Days 2011 from 14-16th DEC" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/12/microsofts-virtual-tech-days-2011-from.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C04MSXY_eCp7ImA9WhdaEUw.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-6539684993534202377</id><published>2011-10-20T17:29:00.002+05:30</published><updated>2011-10-20T17:29:48.840+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-10-20T17:29:48.840+05:30</app:edited><title>.Net, C#, C++ requirements for Mumbai (Credit Suisse) Bank</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
My company Credit Suisse (department) is hiring people in Mumbai.&lt;br /&gt;
&lt;br /&gt;
Here are details of the requirements and there are multiple positions:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;.NET C# (4 - 7 years experience) with Winforms or WCF/WPF&amp;nbsp;&lt;/li&gt;
&lt;li&gt;.NET C# (2 - 5 years experience) with experience working with 1 database technology (Sybase, SQL, Oracle)&amp;nbsp;&lt;/li&gt;
&lt;li&gt;C++ (4 - 7 years experience) with strong Perl&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;If interested then send your CV to me at sudhir.chawla@credit-suisse.com. Or for more information call me at +91-9920368156.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;All the best.&lt;br /&gt;
&lt;br /&gt;
Sudhir&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-6539684993534202377?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/VALgB-LfMATMOovr8IoEcE9Bb4U/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VALgB-LfMATMOovr8IoEcE9Bb4U/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/VALgB-LfMATMOovr8IoEcE9Bb4U/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/VALgB-LfMATMOovr8IoEcE9Bb4U/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/Lvn2vf2oHAc" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/6539684993534202377/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=6539684993534202377&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/6539684993534202377?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/6539684993534202377?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/Lvn2vf2oHAc/net-c-c-requirements-for-mumbai-credit.html" title=".Net, C#, C++ requirements for Mumbai (Credit Suisse) Bank" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/10/net-c-c-requirements-for-mumbai-credit.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Ak4EQX05fyp7ImA9WhdUE0o.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-1749354596711710886</id><published>2011-09-30T16:05:00.000+05:30</published><updated>2011-09-30T16:05:00.327+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-09-30T16:05:00.327+05:30</app:edited><title>Stored Procedure Vs Function in SQL Server</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
Let's discuss some points about Stored Procedure &amp;amp; Functions in SQL Server.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Although both functions and sp's are prcomiled sql statements there exists some differences between them.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;1. Functions must return a value(scalar,inline table or multi statement table) whereas stored proc may or may not return a value.&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;2.Functions can return a table whereas stored procs can create a table but can't return table.&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;3. Stored procs can be called independently using exec keyword whereas function are called using select statements.&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;4. Stored procs can be used to change server configuration(in terms of security-i.e. setting granular permissions of user rights) whereas function can't be used for this&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;5. XML and output parameters can't be passed to functions whereas it can be with sp's.&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;6.transaction related statement can be handled in sp whereas it can't be in function.&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;7. stored procedures can call a funtion or another stored proc similarly a function can call another function and a stored proc. The catch with function is that no user defined stored proc can be called. Only extended/system defined procs can be called.&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;8. We can have extended stored procedures but not extended functions.&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;9. A function can be used in a Join whereas Stored proc can't be used in a Join. &lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Hope this is helpful.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Sudhir Chawla&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-1749354596711710886?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/14BTm6MwiwHVuULpbhxVjdoMSb4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/14BTm6MwiwHVuULpbhxVjdoMSb4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/14BTm6MwiwHVuULpbhxVjdoMSb4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/14BTm6MwiwHVuULpbhxVjdoMSb4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/mHNKAajwlDI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/1749354596711710886/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=1749354596711710886&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/1749354596711710886?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/1749354596711710886?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/mHNKAajwlDI/stored-procedure-vs-function-in-sql.html" title="Stored Procedure Vs Function in SQL Server" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/09/stored-procedure-vs-function-in-sql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0AEQ3wzeCp7ImA9WhdXFUU.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-7844173927786572465</id><published>2011-08-29T09:17:00.001+05:30</published><updated>2011-08-29T09:18:22.280+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-29T09:18:22.280+05:30</app:edited><title>24 Hours of PASS: Summit 2011 Preview</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div align="left"&gt;24 Hours of PASS is back with more sessions on September 7th and 8th. Join  knowledgeable SQL Server experts - slated to present in-depth sessions at PASS  Summit 2011 - as they&amp;nbsp;preview&amp;nbsp;their SQL Server session&amp;nbsp;topics over these 24 free  technical webcasts.&lt;/div&gt;&lt;div align="left"&gt;&lt;b&gt;When:&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;b&gt;Singapore 8 PM,&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;b&gt;India 5:30 PM&lt;/b&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align="left"&gt;&lt;a href="https://www323.livemeeting.com/lrs/8000181573/Registration.aspx?pageName=lj6378f4fhf5hpdm"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;b&gt;Click here to Register for your choice of sessions.&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align="left"&gt;&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;b&gt;Detail of Sessions:&amp;nbsp;&lt;/b&gt;&lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align="left"&gt;&lt;br /&gt;
&amp;nbsp;&lt;img id="presControlReg_ctl01_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree302/lp/8000181573/bj2/01b3v8dn15sj1nnl/mbn1l90r2gtpvnvc.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl01_lblPresenterName"&gt;Session 01 &lt;b&gt;Brian Knight&lt;/b&gt;&lt;/span&gt;  &lt;/div&gt;&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl01_lblPresenterDesc"&gt;Brian Knight, SQL Server MVP, MCSE,  MCDBA, is the co-founder of SQLServerCentral.com, BIDN.com and SQLShare.com. He  works as President and lead architect for Pragmatic Works and has written  thirteen books on SQL Server over his fifteen year database career.&lt;/span&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl01_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; INTRODUCTION TO  DATA MINING IN SQL SERVER ANALYSIS SERVICES. Learn how to create a data mining  model to predict your best customers, use algorithms to ensure your marketing  budget is spent wisely and use Time Series analysis for budgeting and  forecasting.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl02_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/ktn/qcgv2d1xnvvf285f/ctv6r80frtr983xj.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl02_lblPresenterName"&gt;Session 02 &lt;b&gt;Brent Ozar&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl02_lblPresenterDesc"&gt;Brent Ozar is a Microsoft Certified  Master of SQL Server 2008, a Microsoft SQL Server MVP, and co-founder of Brent  Ozar PLF. Brent has over a decade of experience with SQL Server, systems  administration, SAN administration, virtualization administration, and project  management. Brent blogs at http://www.BrentOzar.com like it's going out of  style.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl02_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; SAN BASICS FOR  DBAs. They keep telling you it's a SQL problem - but is it? Learn the basics  about your storage options like RAID 5, RAID 10, solid state drives, and why  your biggest bottleneck might be a $5 cable. No storage experience  required.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl03_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/q5w/ckzg115wd000f26r/7kr1g4rqjfjnx8r5.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl03_lblPresenterName"&gt;Session 03 &lt;b&gt;Jonathan  Kehayias&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl03_lblPresenterDesc"&gt;Jonathan Kehayias is a Senior  Consultant with SQLskills, the youngest MCM for SQL Server 2008 and has been a  SQL Server MVP for many years. Jonathan blogs on SQLskills.com, tweets as  @SQLPoolBoy, and is an expert on Extended Events.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl03_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; DIVING INTO  EXTENDED EVENTS. Extended Events provide information about the operations of SQL  Server that have never before been available. Close the learning gap between  Extended Events and SQL Trace.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl04_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/d0p/k1twpz5v1lj4nllh/kkcp5r892b0298bq.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl04_lblPresenterName"&gt;Session 04 &lt;b&gt;Peter Myers&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl04_lblPresenterDesc"&gt;Peter Myers is a highly experienced  consultant, trainer, mentor and presenter specializing in Microsoft Business  Intelligence.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl04_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; EXPLORING  POWERPIVOT FOR EXCEL IN SQL SERVER PROJECT "DENALI". Peter Myers explores the  new design experience and modelling features available in PowerPivot for Excel  in the upcoming release of SQL Server Project  “Denali”.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl05_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree302/lp/8000181573/wrz/0nr4d2v5vl1f3vsn/qpd0dvqcbwgtft17.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl05_lblPresenterName"&gt;Session 05 &lt;b&gt;Aaron Nelson&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl05_lblPresenterDesc"&gt;Aaron Nelson is a Senior SQL Server  Architect who holds certifications for MCITP: Business Intelligence Developer,  Database Administrator, Database Developer; as well as MCTS: Windows Server  Virtualization, Configuration (meaning Hyper-V).&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl05_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; WHY POWERSHELL?  Windows PowerShell is rapidly becoming the go-to scripting choice of System  Administrators, but what does that mean for SQL Server DBAs? We'll explore  PowerShell and demonstrate how and why DBAs should use  it.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl06_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/4w6/5rxl96hr9l95pmmh/r0gsx270q5qcnx4t.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl06_lblPresenterName"&gt;Session 06 &lt;b&gt;Andy Leonard&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl06_lblPresenterDesc"&gt;Andy Leonard is a consultant and  trainer with Linchpin People, LLC. He is active in the SQL Server Community,  co-CSO of SQLPeople.net, and co-author of several books on SQL Server and  Integration Services.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl06_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; SSIS IN THE  ENTERPRISE. Learn key components of an SSIS Framework to facilitate SSIS  development that performs and is manageable in the modern  enterprise.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl07_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree302/lp/8000181573/xzc/h7pd8wwzzfc16f16/gpv9nwt4s5bch9g5.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl07_lblPresenterName"&gt;Session 07 &lt;b&gt;Gail Shaw&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl07_lblPresenterDesc"&gt;Gail Shaw is a SQL MVP from  Johannesburg, South Africa, specializing in performance tuning and database  optimization.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl07_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; EXTRACTING  EXECUTION PLANS. This session will cover assorted ways of obtaining query  execution plans from SQL Server.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl08_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/b7b/lt6m2t9jwv9b6zhg/w2tmj8t1vp7g0x04.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl08_lblPresenterName"&gt;Session 08 &lt;b&gt;Allan Hirt&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl08_lblPresenterDesc"&gt;Clustering MVP Allan Hirt is a  consultant, published author, speaker, and trainer who has used SQL Server since  1992. Allan travels all over the world to work with and train clients. His most  recent book is "Pro SQL Server 2008 Failover Clustering".&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl08_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; MULTI-SITE FAILOVER  CLUSTERING WITH SQL SERVER 2008, 2008 R2, and DENALI. Learn how to plan a  multi-site cluster deployment for SQL Server 2008, 2008 R2, and  Denali.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl09_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/wfz/s5j4p2xpkhzj2gqb/0qcd06bz0n97vmtl.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl09_lblPresenterName"&gt;Session 09 &lt;b&gt;Stacia Misner + Denny  Cherry&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl09_lblPresenterDesc"&gt;Stacia Misner and Denny Cherry are  Microsoft MVPs with 25 years IT experience between them; Stacia focuses on the  BI side and Denny focuses on the core engine side. Between them they have  written 14 books and hundreds of articles.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl09_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; SO HOW DOES THE BI  WORKLOAD IMPACT THE DB ENGINE? In this session, we review the architecture of  SQL Server and its BI components and deployment options for optimal performance.  We'll also discuss how day-to-day BI operations impact the database  engine.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl10_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/btg/4t16mmvxcc299t9m/ztg6nqpdp2511jb3.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl10_lblPresenterName"&gt;Session 10 &lt;b&gt;Maciej Pilecki&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl10_lblPresenterDesc"&gt;Maciej Pilecki is a SQL Server MVP,  Microsoft Certified Master in SQL Server 2008, Microsoft Certified Trainer and  Senior Consultant with Project Botticelli. He is passionate about the internals  of the SQL Server database engine, Storage Engine and Query Optimizer, and  Performance Tuning.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl10_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; SECRETS OF THE  SQLOS. This session will explore a mysterious component of Microsoft SQL Server:  its own internal built-in operating system, or  SQLOS.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl11_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/cc0/pszjk3bcq9k1k67z/9k5kftnwbb30ddzf.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl11_lblPresenterName"&gt;Session 11 &lt;b&gt;Glenn Berry&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl11_lblPresenterDesc"&gt;Glenn works as a Database Architect at  Avalara in Denver, CO. He is a SQL Server MVP, and Adjunct Faculty member at  University College - University of Denver.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl11_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; HARDWARE 301:  DIVING DEEPER INTO DATABASE HARDWARE. Making the right hardware selection  decisions is very important for database scalability. Having properly sized and  configured hardware can both increase application performance reduce capital  expenses.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl12_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/w9t/h4k62s2km567hdhp/vpf02g811m3mddzz.png" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl12_lblPresenterName"&gt;Session 12 &lt;b&gt;Grant Fritchey&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl12_lblPresenterDesc"&gt;Grant Fritchey: Red Gate Software  Product Evangelist, Author, MVP, Consultant, Speaker, Blogger, a Scary  DBA.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl12_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; ALL ABOUT EXECUTION  PLANS: READING EXECUTION PLANS. This session introduces the basics of reading  execution plans. Learn where to start and how to proceed when reading your own  plans.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl13_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree302/lp/8000181573/vt0/bt68g2r2h8kmt68x/272t7lcc4d67gdqp.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl13_lblPresenterName"&gt;Session 13 &lt;b&gt;Adam Jorgensen&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl13_lblPresenterDesc"&gt;Adam Jorgensen, President of Pragmatic  Works, SQL MVP and SSAS Maestro co-course director is focused on democratizing  SQL Server technology. He mentors executive teams &amp;amp; drives towards this goal  designing &amp;amp; delivering world-class solutions.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl13_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; ZERO TO CUBE - FAST  TRACK TO SSAS DEVELOPMENT. Attendees will learn how to drive and build an  Analysis Services cube and reports as they rotate through the podium as  volunteers.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl14_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/csl/457zvj87m58zr8pf/42xr5qbfvh12m53j.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl14_lblPresenterName"&gt;Session 14 &lt;b&gt;Rob Farley&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl14_lblPresenterDesc"&gt;Rob Farley (MVP and MCT) runs  Australian consultancy LobsterPot Solutions. He is hosting a pre-conference  seminar at the PASS Summit 2011, showing ways that a better understanding of  Advanced T-SQL features can be used to fix queries.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl14_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; FIXING QUERIES WITH  UNIQUENESS. In my pre-con seminar, Fixing Queries through Advanced T-SQL  Techniques, I’ll be looking at ways you can make your queries run faster. In  this 24HOP session I'll be looking at Uniqueness, and the impact that this can  have.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl15_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree302/lp/8000181573/clh/lw9m441ssqkbr04g/k7n27h96cpw42q6j.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl15_lblPresenterName"&gt;Session 15 &lt;b&gt;Edwin Sarmiento&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl15_lblPresenterDesc"&gt;Edwin Sarmiento is a SQL Server  DBA/Windows Engineer for Pythian, a global remote DBA services provider. He is  very passionate about technology but has interests in music, professional and  organizational development, leadership and management matters.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl15_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; DISASTER RECOVERY  IS NOT JUST ABOUT TECHNOLOGY. This session will describe the principles that  should drive disaster recovery strategies and how they need to become the  foundation of the technology solutions that you need to  implement.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl16_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/hng/4wgl1g8mdkglstf0/kpn56hv1cs0d62h7.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl16_lblPresenterName"&gt;Session 16 &lt;b&gt;Jes Borland&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl16_lblPresenterDesc"&gt;Jes Schultz Borland is a Database  Administrator at Kimberly Clark. She holds an AAS - Programmer/Analyst degree.  She has worked with SQL Server since 2007, focusing on Reporting Services and  day-to-day administration.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl16_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; RERPORTING SERVICES  201: FROM BASIC TO WOW! You have solid, reliable reports that you and others  depend on. Learn how to take them from basic to "wow", using features such as  tablix, lists, images, and charts.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl17_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/hm7/vzj656132h5c5tlp/c0g22g23tb9s9lq3.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl17_lblPresenterName"&gt;Session 17 &lt;b&gt;Karen Lopez&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl17_lblPresenterDesc"&gt;Karen Lopez has 20+ years of data  architecture experience on large, multi-project programs. A new SQL Server MVP,  she wants you to love your data.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl17_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; 5 PHYSICAL DATABASE  DESIGN BLUNDERS &amp;amp; HOW TO AVOID THEM. Mistakes can cost you dearly:  performance snags, development delays and bugs. Learn how to: find blunders, get  tips on how to avoid them, talk about and defend design  recommendations.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl18_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/30z/hbtkbpc40j0gt0m0/1tsw95hglqcrnl5c.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl18_lblPresenterName"&gt;Session 18 &lt;b&gt;Adam Machanic&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl18_lblPresenterDesc"&gt;Adam Machanic is a Boston-based  independent database consultant, writer, and speaker. He has written for  numerous web sites, magazines, and books. He loves performance monitoring and  shortening his bio for the sake of LiveMeeting.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl18_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; BASELINE BASICS OR  WHO BROKE THE DATABASE. Does the server seem a bit sluggish today? Is a quick  glance at performance counters not revealing any obvious culprit? Where should  you go next?&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl19_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/bgb/h88lr1ddckqms6d5/p1w9vlmtrtbcl191.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl19_lblPresenterName"&gt;Session 19 &lt;b&gt;Audrey Hammonds&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl19_lblPresenterDesc"&gt;Audrey Hammonds is a BI Consultant for  Key2 Consulting and one half of the Datachix (www.datachix.com). She holds MCTS  certifications in SQL Server 2008 Database Development and SQL Server 2008  Business Intelligence.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl19_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; T-SQL AWESOMENESS:  3 WAYS TO WRITE COOL SQL. There are some truly awesome ways to make your data do  just what you need it to do, while improving performance and/or readability.  Come learn new-school ways to expand your T-SQL  repertoire.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl20_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/nw0/tf5f5kclx6dmtfvv/nf7cq6rb68f4nb9s.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl20_lblPresenterName"&gt;Session 20 &lt;b&gt;Don Kiely&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl20_lblPresenterDesc"&gt;Don Kiely is a technology consultant  and database application developer in Fairbanks, Alaska.  donkiely@computer.org&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl20_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; CODE-FIRST  DEVELOPMENT WITH THE ENTITY FRAMEWORK. Code-first development in Entity  Framework is a new feature of version 4.1, based on custom .NET classes. Define  your objects then let EF create the database. This session explores this great  new feature.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl21_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/nzn/mlw33ffrm53cshjc/9spzqt6pbldnhw8b.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl21_lblPresenterName"&gt;Session 21 &lt;b&gt;Simon Sabin&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl21_lblPresenterDesc"&gt;Simon Sabin is a principal consultant  for SQLKnowHow who specialize in the high perf/big data SQL Server systems. His  focus is troubleshooting and mentoring teams responsible for such systems. He is  a SQL Server MVP and MCM and is the founder of SQLBits.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl21_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; ADVANCED REPORTING  SERVICES. Slicers are an interactivity feature available in Excel and Crescent.  Learn to use features such as multi valued parameters, expression formatting and  custom code to show you how to add slicers to reporting services  reports.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl22_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/1cf/7c5mb2v7jsrt2wpv/0b4x32328hrf4t15.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl22_lblPresenterName"&gt;Session 22 &lt;b&gt;Victor Isakov&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl22_lblPresenterDesc"&gt;Victor Isakov (MCA, MCM, MCT, MVP) is a  Database Architect and Trainer who provides consulting and training services to  various organizations in the public, private and NGO sectors globally. He  regularly speaks at international conferences and has authored a number of books  on SQL Server.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl22_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; IMPORTANT TRACE  FLAGS THAT EVERY DBA SHOULD KNOW. In this session, Victor Isakov will present  the important trace flags that all DBAs should know, what they do, when to  implement them and how best to implement them in a production  environment.&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl23_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree302/lp/8000181573/6c3/hcjwsx5m1nrhnqh9/jb3d41mh38c597mp.JPG" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl23_lblPresenterName"&gt;Session 23 &lt;b&gt;Jorge Segarra&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl23_lblPresenterDesc"&gt;Jorge Segarra is a DBA-turned-BI  Consultant for Pragmatic Works consulting, SQL Server MVP, and a Regional Mentor  for PASS. He is the founder of SQL University which can be found at his blog,  http://sqlchicken.com.&lt;/span&gt; &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl23_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; POLICY-BASED  MANAGEMENT IN A NUTSHELL. Discover Policy-Based Management, a powerful and  easy-to-configure feature added in SQL Server 2008. Learn how to set these up in  your own shops, set up an elegant (and free) reporting solution, and much, much  more!&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;img id="presControlReg_ctl24_imgPresenter" src="https://www323.livemeeting.com/etc/tree/tree303/lp/8000181573/h0x/p2bpwzwsjkntwb04/b0tqd877m2zgn6ck.jpg" style="border-bottom-width: 0px; border-left-width: 0px; border-right-width: 0px; border-top-width: 0px;" /&gt;&amp;nbsp;&lt;span class="labelBoldedText" id="presControlReg_ctl24_lblPresenterName"&gt;Session 24 &lt;b&gt;Paul Turley&lt;/b&gt;&lt;/span&gt;  &lt;br /&gt;
&lt;table&gt;&lt;tbody&gt;
&lt;tr&gt; &lt;td style="text-align: justify;"&gt;&lt;span class="labelText" id="presControlReg_ctl24_lblPresenterDesc"&gt;Paul Turley is a Mentor for SolidQ and  a SQL Server MVP who has been architecting, managing and developing applications  and business intelligence solutions for large and small businesses since 1992.  He holds the current MCTS and MCITP certifications for SQL Server BI.&lt;/span&gt;  &lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt; &lt;td&gt;&lt;span class="labelText" id="presControlReg_ctl24_lblPresenting" style="text-align: left;"&gt;&lt;b&gt;Presenting:&lt;/b&gt; VISUAL REPORT  DESIGN: BRINGING SEXY BACK. BI is all the rage but you don’t have to invest in  an entire BI platform to have fresh, usable reports. Learn design techniques  applicable to enterprise analytic solutions and smaller-scale operational  reporting.&lt;br /&gt;
&lt;br /&gt;
Happy Learning&lt;br /&gt;
&lt;br /&gt;
Sudhir&lt;/span&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/tbody&gt;&lt;/table&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-7844173927786572465?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/TmMA8ShpmKMJIukdr8t2ChA6dlE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TmMA8ShpmKMJIukdr8t2ChA6dlE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/TmMA8ShpmKMJIukdr8t2ChA6dlE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TmMA8ShpmKMJIukdr8t2ChA6dlE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/S1BBrKDgFjI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/7844173927786572465/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=7844173927786572465&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/7844173927786572465?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/7844173927786572465?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/S1BBrKDgFjI/24-hours-of-pass-summit-2011-preview.html" title="24 Hours of PASS: Summit 2011 Preview" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/08/24-hours-of-pass-summit-2011-preview.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkQHQns6fyp7ImA9WhdQEEk.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-8487190327979216602</id><published>2011-08-11T12:02:00.000+05:30</published><updated>2011-08-11T12:02:13.517+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T12:02:13.517+05:30</app:edited><title>SQL Server Questions Part IV</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
Here are some more questions on SQL Server. PART - IV.&amp;nbsp;Here are some more questions with answers on SQL Server:&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q. Define ACID property?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ANS: &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
ACID (an acronym for Atomicity Consistency Isolation Durability) is a concept that Database Professionals generally look for while evaluating databases and application architectures. For a reliable database, all this four attributes should be achieved.&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Atomicity is an all-or-none proposition.&lt;/li&gt;
&lt;li&gt;Consistency guarantees that a transaction never leaves your database in a half-finished state.&lt;/li&gt;
&lt;li&gt;Isolation keeps transactions separated from each other until they are finished.&lt;/li&gt;
&lt;li&gt;Durability guarantees that the database will keep track of pending changes in such a way that the server can recover from an abnormal termination.&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;b&gt;Q. What are the Different Normalization Forms?&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Ans: &lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;1st Normal Form&lt;/b&gt;: Eliminate Repeating Groups. Make a separate table for each set of related attributes, and give each table a primary key. Each field contains at most one value from its attribute domain.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;2nd Normal Form&lt;/b&gt;: Eliminate Redundant Data. If an attribute depends on only part of a multi-valued key, then remove it to a separate table.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;3rd Normal Form&lt;/b&gt;: Eliminate Columns Not Dependent On Key.&lt;br /&gt;
If attributes do not contribute to a description of the key, then remove them to a separate table. All attributes must be directly dependent on the primary key. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;BCNF&lt;/b&gt;: Boyce-Codd Normal Form. If there are non-trivial dependencies between candidate key attributes, then separate them out into distinct tables.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;4th Normal Form&lt;/b&gt;: Isolate Independent Multiple Relationships. No table may contain two or more 1:n or n:m relationships that are not directly related.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;5th Normal Form&lt;/b&gt;: Isolate Semantically Related Multiple Relationships. There may be practical constrains on information that justify separating logically related many-to-many relationships.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q. What are the Different Types of Triggers?&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Ans. &lt;/b&gt;&lt;br /&gt;
There are two types of Triggers.&lt;br /&gt;
&lt;b&gt;1) DML Trigger&lt;/b&gt;&lt;br /&gt;
There are two types of DML Triggers&lt;br /&gt;
&lt;b&gt;a.Instead of Trigger&lt;/b&gt;&lt;br /&gt;
Instead of Triggers are fired in place of the triggering action such as an insert, update, or delete.&lt;br /&gt;
&lt;b&gt;b. After Trigger&lt;/b&gt;&lt;br /&gt;
After triggers execute following the triggering action, such as an insert, update, or delete.&lt;br /&gt;
&lt;b&gt;2) DDL Trigger&lt;/b&gt;&lt;br /&gt;
This type of trigger is fired against Drop Table, Create Table, Alter Table or Login events. DDL Triggers are always After Triggers.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q. What is a View?&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Ans.&lt;/b&gt;&lt;br /&gt;
A simple view can be thought of as a subset of a table. It can be used for retrieving data as well as updating or deleting rows. Rows updated or deleted in the view are updated or deleted in the table the view was created with. It should also be noted that as data in the original table changes, so does the data in the view as views are the way to look at parts of the original table. The results of using a view are not permanently stored in the database. The data accessed through a view is actually constructed using standard T-SQL select command and can come from one to many different base tables or even other views.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q. What is a Linked Server?&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Ans.&lt;/b&gt;&lt;br /&gt;
Linked Servers is a concept in SQL Server by which we can add other SQL Server to a Group and query both the SQL Server databases using T-SQL Statements. With a linked server, you can create very clean, easy–to-follow SQL statements that allow remote data to be retrieved, joined and combined with local data. Stored Procedures sp_addlinkedserver, sp_addlinkedsrvlogin will be used to add new Linked Server. &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q. What is Collation?&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Ans. &lt;/b&gt;&lt;br /&gt;
Collation refers to a set of rules that determine how data is sorted and compared. Character data is sorted using rules that define the correct character sequence with options for specifying case sensitivity, accent marks, Kana character types, and character width.&lt;br /&gt;
&lt;br /&gt;
Will add more soon.&lt;br /&gt;
&lt;br /&gt;
Happy Learning&lt;br /&gt;
&lt;br /&gt;
Sudhir&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-8487190327979216602?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/LDDv-ngiH1IsohWHyKJIZlLspH4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LDDv-ngiH1IsohWHyKJIZlLspH4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/LDDv-ngiH1IsohWHyKJIZlLspH4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/LDDv-ngiH1IsohWHyKJIZlLspH4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/-Xe5lH-5blY" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/8487190327979216602/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=8487190327979216602&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/8487190327979216602?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/8487190327979216602?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/-Xe5lH-5blY/sql-server-questions-part-iv.html" title="SQL Server Questions Part IV" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/08/sql-server-questions-part-iv.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8HRXY_cSp7ImA9WhdQEE8.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-3436962908114150624</id><published>2011-08-11T07:26:00.001+05:30</published><updated>2011-08-11T07:27:14.849+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-11T07:27:14.849+05:30</app:edited><title>Download SQL Server Code Name “Denali” CTP3 Product Guide</title><content type="html">&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Guys,&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I am sure everyone will be aware the new version of SQL SERVER DENALI is in its CTP3 phase. Now they have released Product Guide on the same.&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #333333; line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;This product guide release represents a significant milestone for customers and partners who want to experience the extensive new value delivered by SQL Server Code Name “Denali.” As the foundation of the cloud-ready information platform, SQL Server Code Name “Denali” can help organizations unlock breakthrough insights across the organization as well quickly build solutions and extend data on-premises and across public clouds, backed by mission-critical confidence.&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The SQL Server Code Name “Denali” CTP3 Product Guide includes useful resources and demos that will help you in your evaluation of CTP3.&amp;nbsp; This includes:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;14 Product Datasheets&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;8 PowerPoint Presentations&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;5 Technical White Papers&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;13 Hands-On Lab Preview Documents&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;6 Click-Through Demonstrations&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;13 Self-Running Demonstrations&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;26 Links to On-Line References&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;44 Links to On-Line Videos including 26 Presentations from North America TechEd 2011&lt;/b&gt;&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The Product Guide comes with a small application to help you navigate through the content. Once you download the ZIP file, your will want to extract all of the files to your local hard drive. To start the viewer, click in the STARTHERE.CMD file. The view works with IE8 and IE9. If you are using an alternative default browser, a simpler HTML version of the viewer will be launched.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a target="_blank" href="http://www.microsoft.com/download/en/details.aspx?id=27069" style="background-color: white;"&gt;&lt;span style="color: blue;"&gt;&lt;b&gt;Click here to download the guide.&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Happy Learning&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Sudhir&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-3436962908114150624?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/-EqD8FwM0STekeJN_GNviaBI2zE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-EqD8FwM0STekeJN_GNviaBI2zE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/-EqD8FwM0STekeJN_GNviaBI2zE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/-EqD8FwM0STekeJN_GNviaBI2zE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/KPwtttfN9-k" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/3436962908114150624/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=3436962908114150624&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/3436962908114150624?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/3436962908114150624?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/KPwtttfN9-k/download-sql-server-code-name-denali.html" title="Download SQL Server Code Name “Denali” CTP3 Product Guide" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/08/download-sql-server-code-name-denali.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DU8ER3g9eip7ImA9WhdRF0o.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-6077881850070655687</id><published>2011-08-08T10:00:00.000+05:30</published><updated>2011-08-08T10:00:06.662+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-08T10:00:06.662+05:30</app:edited><title>SQL Server Questions Part III</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
Here are some more Questions with Answers.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q. What is the difference between Delete and Truncate command and is it possible to rollback after Truncate command?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ANS&lt;/b&gt;. Delete command removes the rows from a table based on Where condition. Truncate will actually remove all the rows from a table.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Below are some points about TRUNCATE:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;TRUNCATE is faster and uses fewer system and transaction log resources than DELETE.&amp;nbsp;&lt;/li&gt;
&lt;li&gt;TRUNCATE removes the data by deallocating the data pages used to store the table’s data, and only the page deallocations are recorded in the transaction log.&lt;/li&gt;
&lt;li&gt;TRUNCATE removes all the rows from a table, but the table structure, its columns, constraints, indexes and so on remains. The counter used by an identity for new rows is reset to the seed for the column.&lt;/li&gt;
&lt;li&gt;You cannot use TRUNCATE TABLE on a table referenced by a FOREIGN KEY constraint.&lt;/li&gt;
&lt;li&gt;TRUNCATE cannot be rolled back unless it is used in TRANSACTION. OR TRUNCATE can be rolled back when used with BEGIN … END TRANSACTION using T-SQL.&lt;/li&gt;
&lt;li&gt;TRUNCATE is a DDL Command.&lt;/li&gt;
&lt;li&gt;TRUNCATE resets the identity of the table.&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;b&gt;Below are some points about DELETE:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;DELETE removes rows one at a time and records an entry in the transaction log for each deleted row.&lt;/li&gt;
&lt;li&gt;DELETE does not reset Identity property of the table.&lt;/li&gt;
&lt;li&gt;DELETE can be used with or without a WHERE clause.&lt;/li&gt;
&lt;li&gt;DELETE activates Triggers if defined on table.&lt;/li&gt;
&lt;li&gt;DELETE can be rolled back.&lt;/li&gt;
&lt;li&gt;DELETE is DML Command.&lt;/li&gt;
&lt;li&gt;DELETE does not reset the identity of the table.&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;b&gt;Q. Why we should give preference to stored procedure?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ANS&lt;/b&gt;. A stored procedure is a group of SQL statements that have been created and stored in a database. A procedured can accept input parameters. When the procedure is modified, all clients automatically get the new version. Stored procedures reduce network traffic and improve performance. Stored procedures can be used to help ensure the integrity of the database.&lt;br /&gt;
&lt;br /&gt;
Procedure Cache is the place where Execution Plan of Stored Procedure is stored. An execution plan states the efficient way in which the query(s) is executed. So whenever a normal query is executed its Execution Plan is created but when a Stored Procedure is executed, Execution plan is created and stored in Procedure Cache. Whenever the same procedure is executed and its execution plan exists in Procedure cache then it uses that execution plan rather than creating a new plan.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q. What is an extent?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ANS&lt;/b&gt;. Extent is a basic unit of storage to provide space for tables. Every extent has a number of data pages. As new records are inserted new data, pages are allocated. There are eight data pages in an extent. So as soon as the eight pages are consumed, it allocates a new extent with data pages.&lt;br /&gt;
&lt;br /&gt;
While extent is basic unit storage from a database point of view, page is a unit of allocation within extent.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q. What is the advantage of SET NOCOUNT ON?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ANS&lt;/b&gt;. &lt;b&gt;SET NOCOUNT ON&lt;/b&gt; gives a performance boost to action queries by suppressing the "(n row(s) affected) message that results from running a query.&lt;br /&gt;
&lt;br /&gt;
Qualifying an object with it's owner boosts performance because SQL does not have to work out where if there is a user specific version of the same object. It also gives benefits in the caching of execution plans.&lt;br /&gt;
&lt;br /&gt;
The performance boost is due to the few bytes of information that make up the "(1 row(s) affected)" message not being transmitted to the client application.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;With this in mind I should consider the following points:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Communication between the database and the client application on a stand-alone machine will be as fast as it is possible to get. If your front end application had it's own clock and you recorded the time from submitting the query to the time when the client finally received the full results I would expect that transmitting results across a network to be slower.&lt;br /&gt;
&lt;br /&gt;
In this experiment we are carrying out a single simple insert statement. If your procedure carries out multiple operations the performance boost will be more pronounced.&lt;br /&gt;
&lt;br /&gt;
For queries that retrieve data the performance boost will be less simply because the size of the "(1 row(s) affected)" message is small compared to the volume of data being returned.&lt;br /&gt;
&lt;br /&gt;
In .NET applications an ExecuteNonQuery command returns the number of records affected by the operation. Set NOCOUNT ON means that the value that this call returns is always zero.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q. Suppose I have a table that has ID as primary key with IDENTITY. Whenever a new row is inserted in table, Identity will auto incremement the value by 1.&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;I don't want to insert an auto incremented value but I want to give it my own value. How can I do this?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Ans&lt;/b&gt;. We need to use &lt;b&gt;SET IDENTITY_INSERT [TABLE NAME]&lt;/b&gt;. This allows explicit values to be inserted into the identity column of a table.&lt;br /&gt;
&lt;br /&gt;
At any time, only one table in a session can have the IDENTITY_INSERT property set to ON. If a table already has this property set to ON, and a SET IDENTITY_INSERT ON statement is issued for another table, SQL Server returns an error message that states SET IDENTITY_INSERT is already ON and reports the table it is set ON for.&lt;br /&gt;
&lt;br /&gt;
If the value inserted is larger than the current identity value for the table, SQL Server automatically uses the new inserted value as the current identity value.&lt;br /&gt;
&lt;br /&gt;
The setting of SET IDENTITY_INSERT is set at execute or run time and not at parse time.&lt;br /&gt;
&lt;br /&gt;
Example:&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;SET IDENTITY_INSERT products ON&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;GO&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;INSERT INTO products (id, product) VALUES(3, 'garden shovel').&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;GO&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;
&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;SET IDENTITY_INSERT products OFF&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;GO&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Q. What are IMPLICIT TRANSACTIONS?&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;ANS&lt;/b&gt;. Implicit Transactions are those that requires a COMMIT or ROLLBACK for every transaction.&lt;br /&gt;
&lt;br /&gt;
When ON, SET IMPLICIT_TRANSACTIONS sets the connection into implicit transaction mode. When OFF, it returns the connection to autocommit transaction mode.&lt;br /&gt;
&lt;br /&gt;
For example if we turn it on &amp;amp; update a table, the changes will not be committed until COMMIT command is executed.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Happy Learning&lt;br /&gt;
&lt;br /&gt;
Sudhir&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-6077881850070655687?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Dam7uQzQLpnutaAHSGFa9D_-Q0w/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Dam7uQzQLpnutaAHSGFa9D_-Q0w/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Dam7uQzQLpnutaAHSGFa9D_-Q0w/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Dam7uQzQLpnutaAHSGFa9D_-Q0w/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/t4BHEIVxa2Q" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/6077881850070655687/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=6077881850070655687&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/6077881850070655687?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/6077881850070655687?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/t4BHEIVxa2Q/sql-server-questions-part-iii.html" title="SQL Server Questions Part III" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/08/sql-server-questions-part-iii.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUUMQXw5fCp7ImA9WhdREUo.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-2925206395061473736</id><published>2011-08-01T10:04:00.001+05:30</published><updated>2011-08-01T10:04:40.224+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-08-01T10:04:40.224+05:30</app:edited><title>SSIS Questions - Part 1</title><content type="html">&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Guys,&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Let's start a series of Q&amp;amp;A's on SSIS also. As these days its essential to learn SSIS or any other BI tool.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;I felt SSIS is one of the best tools to start with. Let's see some of the basic questions asked on SSIS.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;Q.&amp;nbsp;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;What is the control flow in SSIS?&amp;nbsp;&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;ANS:&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;As we have MAIN in .Net, same way we have Control Flow in SSIS.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;Containers, Data flow tasks, Administration tasks, Precedence constraints, and Variables are elements of the control flow.&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;The control flow is the highest-level of control process. It allows to orchestrate and manage the run-time process activities of data flow and other processes within a package. We can design a control flow by using an Execute Package task to manage the sequence of processing for a set of existing packages in a Master Package concept. This capability allows to combine individual packages into a highly manageable workflow process. Use precedence constraints to set the process rules and to specify sequence within the control flow. An SSIS package consists of a control flow and one or more objects. Data flow and event handler process control components are optional.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;Following are some key points of Control Flow:&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;ul&gt;&lt;li style="line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Process is the key: precedence constraints control the project flow based on task completion, success or failure.&lt;/span&gt;&lt;/li&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;Task 1 needs to complete before task 2 can begin.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;Smallest unit of the control flow is a task.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;Control flow does not move data from task to task.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;Tasks are run in series if connected with precedence or in parallel.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;Package control flow is made up of containers and tasks connected with precedence constraints to control package&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/li&gt;
&lt;/span&gt;&lt;/ul&gt;&lt;br /&gt;
&lt;div&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;Q.&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;what is a data flow in SSIS?&lt;/span&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;ANS.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/b&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;The Data Flow task encapsulates the data flow engine that moves data between sources and destinations, and lets the user transform, clean, and modify data as it is moved. Addition of a Data Flow task to a package, control flow makes it possible for the package to extract, transform, and load data.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;A data flow consists of at least one data flow component, but it is typically a set of connected data flow components:&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;sources that extract data; transformations that modify, route, or summarize data; and destinations that load data&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;. Components are connected in the data flow by paths. Each path specifies the two components that are the start and the end of the path.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;At run time, the Data Flow task builds an execution plan from the data flow, and the data flow engine executes the plan. You can create a Data Flow task that has no data flow, but the task executes only if it includes at least one data flow.&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;A package can include multiple Data Flow tasks, and complex packages frequently do. For example, if a package requires that data flows be run in a specified sequence, or that other tasks be performed between the data flows, you must use a separate Data Flow task for each data flow.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;The Data Flow task also manages error flows. At run time, row-level errors may occur when data flow components convert data, perform a lookup, or evaluate expressions. For example, a data column with a string value cannot be converted to an integer, or an expression tries to divide by zero. Both operations cause errors, and the rows that contain the errors can be processed separately using an error flow.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;There are many types of transformations as the data moves from the data source to the description. Here are some of the transformations:&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;Copy Column&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;- This transformation copies the data in a column and creates a new column with it.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;Script Component&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;- This uses a VB script to transform the data somehow. You can use programmatic means to access the data, and set this script up as a data source, destination, or a transformation. When you open up the script component, there is a button stated as Design Script, which invokes a Visual Studio Editor where you can code the script with intellisense support.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;Sort&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;- This transformation sorts the data based on one or more columns setup to sort in a specified order.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;Pivot and Unpivot&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;- New to SQL Server 2005 is the way to pivot/unpivot data rather easily and they are supported as transformations. Pivoting data means you can make the columns of the result set based on a distinct result from the data.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;Merge/Union All&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;– Merging allows you to veer two inputs into one output. You can specify the input/output parameters that the transformation will map to. The Merge transformation is a little more restrictive than the Union All transformation.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;Conditional Split&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;– Conditional Split works the opposite way; based on values within the data, you can setup statements to split the data if a condition matches. For instance, you can split one result based on the expression “ListPrice &amp;gt; 100” and any data that matches that result is returned via a specific data flow path.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;OLE DB Command&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;– This transformation executes a SQL statement for every row in the input source.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;Lookup&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;– This transformation looks up the value of a field in a lookup data source/table.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;Derived Column&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;- A way to add an additional column in the dataset.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;Aggregate&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;- This allow to group data.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;b&gt;Fuzzy Logic&amp;nbsp;&lt;/b&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;- This allows to perform text manpulation like upper case, lower case operations on string data.&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;span class="Apple-style-span" style="line-height: 16px;"&gt;etc&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-2925206395061473736?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/yWgaId_dT-n7K-wPNhS8uCwaMag/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yWgaId_dT-n7K-wPNhS8uCwaMag/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/yWgaId_dT-n7K-wPNhS8uCwaMag/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/yWgaId_dT-n7K-wPNhS8uCwaMag/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/RGJITjN-i3c" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/2925206395061473736/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=2925206395061473736&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/2925206395061473736?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/2925206395061473736?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/RGJITjN-i3c/ssis-questions-part-1.html" title="SSIS Questions - Part 1" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/08/ssis-questions-part-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkQDSXw4cCp7ImA9WhdTF0w.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-1884884354411728790</id><published>2011-07-15T11:18:00.005+05:30</published><updated>2011-07-15T11:42:58.238+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-15T11:42:58.238+05:30</app:edited><title>Technical Videos of SQL Server Denali</title><content type="html">Hello Everyone,&lt;br /&gt;
&lt;br /&gt;
Here are links of some of the videos that were recorded during Tech-Ed event in US.&lt;br /&gt;
&lt;br /&gt;
Click on each to view the video.&lt;br /&gt;
&lt;br /&gt;
&lt;div align="justify"&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI206" rel="nofollow" target="_blank"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;What's New in Microsoft SQL Server Code-Named  "Denali" for SQL Server Analysis Services and PowerPivot&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI317" rel="nofollow" target="_blank"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;What’s New in Microsoft SQL Server Code-Named  “Denali” for SQL Server Integration Services&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI211" rel="nofollow" target="_blank"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;What’s New in Microsoft SQL Server Code-Named  “Denali” for Reporting Services&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI302" rel="nofollow" target="_blank"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Microsoft SQL Server Code-Named "Denali" AlwaysOn  Series,Part 1&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI404" rel="nofollow" target="_blank"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Microsoft SQL Server Code-Named "Denali" AlwaysOn  Series,Part 2&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI304" rel="nofollow" target="_blank"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;What's New in Manageability for Microsoft SQL Server  Code-Named Denali&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI402" rel="nofollow" target="_blank"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Performance Tuning and Optimization in Microsoft SQL  Server 2008 R2 and SQL Server Code-Named Denali&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://channel9.msdn.com/Events/DevDays/DevDays-2011-Netherlands/Devdays013" rel="nofollow" target="_blank"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;What's New in SQL Server "Denali" for Developers |  DevDays 2011&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI401" rel="nofollow" target="_blank"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;What’s New in Security for Microsoft SQL Server  Code-Named Denali&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/FDN04" rel="nofollow" target="_blank"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;Microsoft SQL Server: The Data and BI Platform for  Today and Tomorrow&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;a href="http://channel9.msdn.com/Events/TechEd/NorthAmerica/2011/DBI318" rel="nofollow" target="_blank"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;What's  Cool in Microsoft SQL Server 2008 R2 and New in SQL Server Code-Named  Denali&lt;/span&gt;&lt;/a&gt;&lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align="justify"&gt;Happy Learning&lt;/div&gt;&lt;div align="justify"&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div align="justify"&gt;Sudhir&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-1884884354411728790?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/TceP8QG7GKANq96wH6MU-ZhGjRM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TceP8QG7GKANq96wH6MU-ZhGjRM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/TceP8QG7GKANq96wH6MU-ZhGjRM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/TceP8QG7GKANq96wH6MU-ZhGjRM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/VWA-SpLiLh8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/1884884354411728790/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=1884884354411728790&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/1884884354411728790?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/1884884354411728790?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/VWA-SpLiLh8/sql-server-denali-videos.html" title="Technical Videos of SQL Server Denali" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/07/sql-server-denali-videos.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkIMQng7eSp7ImA9WhZaGE8.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-4982132430568225524</id><published>2011-07-05T05:39:00.000+05:30</published><updated>2011-07-05T05:39:43.601+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-05T05:39:43.601+05:30</app:edited><title>SQL Server Questions Part II</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
Today we will see some more generic questions on SQL Server. &lt;br /&gt;
&lt;br /&gt;
Here are more questions:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. How can you ensure that a table named TableB with a field named Fld1 will only have those values in the Fld1 field that are also in the table named TableA with a field named Fld1?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: Use referential integrity / Foreign Key Constraint&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. How can you reset Identity key value of a table?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: Truncate Table will reset the Identity value of table.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. What can be used to ensure that a field in a table only accepts a certain range of values?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: We can use various constraints that can be used to achieve this. &lt;br /&gt;
&lt;br /&gt;
There are various constraints available in SQL Server.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Primary Key Constraint &lt;/strong&gt;=&amp;gt; to uniquely identify a row without using NULL &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Foreign Key Constraint&lt;/strong&gt; =&amp;gt; to maintain referential integrity between 1 or more tables &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Unique Key Constraint &lt;/strong&gt;=&amp;gt; to uniquely identify a row &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;CHECK Constraint&lt;/strong&gt; =&amp;gt; the value entered is validated and if it fails condition then don't allow entry of data &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Default Constraint &lt;/strong&gt;=&amp;gt; If we don't supply any value for field then set value of field with specified value &lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Null Constraint &lt;/strong&gt;=&amp;gt; Whether field can accept NULL value or not.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. Our company recently introduced a policy where all names of objects must follow naming convention. For ex. Table must start with tbl_, procedure should start with prc_ etc. How can I ensure all new objects must adher to these policies and if not followed object should not be created?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: 1 way to use DDL triggers. From 2008 onwards we can also refer to Policy Based Management to ensure this.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. Is it possible to drop multiple objects using single DROP statement?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: &lt;br /&gt;
Drop Table a,b,c &lt;br /&gt;
Drop proc a,b,c&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. If you have a stored procedure, you want to just check the syntax of the same rather than executing it, what will u do?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: Press CONTROL + F5 to check for its syntax. Or click on button next to EXECUTE button.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. Which event (CHECK constraint, Foreign Key, Rule, Trigger, Primary Key check) will be performed last for an integrity check?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: Trigger because everything is executed before data is inserted in the table &amp;amp; as soon as data is entered in Table, trigger is fired.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. When a new parameter is added to an SP, what steps to take to ensure existing code in an application does not break?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
ANS: Give a default value to the newly added parameter. This will ensure that all existing code will not fail.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. When we drop a variable length column using ALTER TABLE DROP COLUMN statement, the space used by the column is not automatically claimed. What will u do to claim the space?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: DBCC CLEANTABLE (database_name, table_name)&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. I have a table Employee with following definition:&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Employee ( &lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;EmpID int Not Null Identity (1,1), &lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;EmpName varchar(100) default 'test', &lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Age int default 2)&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;What query you will write to insert default values in EMPLOYEE table?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: Insert into Employee Default Values&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q.How to retrieve a single table from database backup?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: It is not possible to directly restore 1 table from backup. Only option is to restore the database somewhere else &amp;amp; then load data of required table and transfer to destination.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. How do you flip rows to columns and vice-versa?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: We can use PIVOT, UnPivot to flip rows to columns &amp;amp; vice-versa.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. What is WITH ENCRYPTION clause and where it is used?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: This will encrypt the definition of object and it will not be visible whenever we use sp_helptext. This can be done with View, Stored Procedure, Function etc&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. What will happen if I write following statement:&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;Select getdate() &lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;go 10&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: Select Getdate() is executed 10 times because GO 10 acts as a loop.&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;Q. What is the purpose of the USE command?&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
Ans: The USE command helps select any available database, so that every query is executed on selected database else default database is used.&lt;br /&gt;
&lt;br /&gt;
Do let me know if you have any comments or more questions. &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
Thanks &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
Sudhir&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-4982132430568225524?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/AA4tJGwGpUMTNIrbFETc1791Bi4/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AA4tJGwGpUMTNIrbFETc1791Bi4/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/AA4tJGwGpUMTNIrbFETc1791Bi4/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/AA4tJGwGpUMTNIrbFETc1791Bi4/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/Z0KiK6fqoM0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/4982132430568225524/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=4982132430568225524&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/4982132430568225524?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/4982132430568225524?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/Z0KiK6fqoM0/sql-server-questions-part-ii.html" title="SQL Server Questions Part II" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/07/sql-server-questions-part-ii.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMNRX05eCp7ImA9WhZaFU4.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-5433131008362417306</id><published>2011-07-01T20:48:00.000+05:30</published><updated>2011-07-01T20:48:14.320+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-07-01T20:48:14.320+05:30</app:edited><title>Visual Studio 2010 and .NET Framework 4 Training Kit</title><content type="html">&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Guys,&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style="color: #4f4f4f; margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Visual Studio 2010 and .NET Framework 4 Training Kit includes presentations, hands-on labs, and demos. This content is designed to help you learn how to utilize the Visual Studio 2010 features and a variety of framework technologies including:&lt;/span&gt;&lt;/div&gt;&lt;ul style="color: #4f4f4f; list-style-type: disc; margin-bottom: 0px; margin-left: 15px; margin-right: 15px; margin-top: 10px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;C# 4&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Visual Basic 10&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;F#&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Parallel Extensions&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Windows Communication Foundation&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Windows Workflow&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Windows Presentation Foundation&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Silverlight 4&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;ASP.NET 4&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Windows 7&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Entity Framework&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;ADO.NET Data Services&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Managed Extensibility Framework&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Application Lifecycle Management&lt;/span&gt;&lt;/li&gt;
&lt;li style="margin-bottom: 10px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Windows Azure&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;span class="Apple-style-span" style="color: #4f4f4f; font-family: Arial, Helvetica, sans-serif;"&gt;This version of the Training Kit works with Visual Studio 2010 and .NET Framework 4.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #4f4f4f; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #4f4f4f; font-family: Arial, Helvetica, sans-serif;"&gt;Download and launch the self-extracting package. The Training Kit will uncompress to the selected folder and launch a HTML browser for the content.&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: #4f4f4f; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="color: blue; font-family: Arial, Helvetica, sans-serif;"&gt;&lt;b&gt;&lt;a href="http://www.microsoft.com/download/en/details.aspx?displaylang=en&amp;amp;id=23507"&gt;Click here to download the kit.&lt;/a&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Happy Learning&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Sudhir&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-5433131008362417306?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/4daqo1HhhFg5AOPk640hW-QHC1s/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4daqo1HhhFg5AOPk640hW-QHC1s/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/4daqo1HhhFg5AOPk640hW-QHC1s/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/4daqo1HhhFg5AOPk640hW-QHC1s/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/OUyngbj6J4M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/5433131008362417306/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=5433131008362417306&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/5433131008362417306?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/5433131008362417306?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/OUyngbj6J4M/visual-studio-2010-and-net-framework-4.html" title="Visual Studio 2010 and .NET Framework 4 Training Kit" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/07/visual-studio-2010-and-net-framework-4.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IHRXY-fip7ImA9WhZaEUg.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-1407578067897559910</id><published>2011-06-27T12:34:00.001+05:30</published><updated>2011-06-27T12:55:34.856+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-06-27T12:55:34.856+05:30</app:edited><title>SQL Server Questions PART - 1</title><content type="html">&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Guys,&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Let's discuss some of the basic questions that we might face anywhere. I will try to come up with as many as I can. It will be great to receive comments/feedback on the same.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Here we go:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. How many types of Indexes are there in SQL Server? What is the difference between them?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Ans: There are 2 type of indexes. Clustered and Non-Clustered. There can be only 1 Clustered index per table and 249 Non-Clustered Indexes per table. The index at the end of the book is a perfect example of Clustered Index.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;In Clustered index, data is sorted &amp;amp; saved. Suppose there is a table Employee with Clustered Index created on Employee Name field. We have data like Abrahim, Jacob etc. Now whenever it tries to save new data with Colin, it will be inserted between Abrahim and Jacob. This is not applicable for Non-Clustered index, the data is not saved in sorted way.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Visit here for Clustered Indexes&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/aa933131(v=SQL.80).aspx"&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;msdn.microsoft.com/en-us/library/aa933131(v=SQL.80).aspx&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Visit here for Non-Clustered Indexes&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/aa933130(v=SQL.80).aspx"&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;msdn.microsoft.com/en-us/library/aa933130(v=SQL.80).aspx&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. What is the difference between UNION and UNION ALL?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Ans: There is a very small difference between UNION and UNION ALL. When we join 2 resultsets using UNION, it will internally add Distinct clause before returning final result. When we use UNION ALL, full set of data is retrieved.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;To see this, go to SSMS and Enable Execution Plan, it will show the difference.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Visit here for more information:&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://msdn.microsoft.com/en-us/library/ms180026.aspx"&gt;&lt;span style="color: blue; font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;msdn.microsoft.com/en-us/library/ms180026.aspx&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. What is the difference between Primary key and Unique key?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Ans: We have tables &amp;amp; Rows and to identify each row we need Primary key. Someone can say that a Unique key can also help to identify each row. That’s true but there is a difference. Primary Key value can’t contain NULL, it must have a value whereas Unique Key can have 1 NULL value as its unique and because NULL is unknown its hard to identify/represent a row with NULL. That’s why Primary key doesn’t allow NULL.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. How Page Split occurs and why?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Ans. I am sure we all are aware of Indexes, especially Clustered Index because data is sorted before it is written to disk. As we have a 8K page size and further it depends on Fill factor and row size (length of each field) how much that page will be filled. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Suppose one page can accommodate maximum 2 rows in 1 page. We have same Employee table with Employee Name as primary Key. First page has 2 rows where Employee Name in 1st Row is Amar and 2nd Row is Carol. Now when we try to add a new row with Employee Name as Boris. As Boris comes before Carol so data will be inserted after Amar, but a page can hold only 2 rows so what will happen to Carol. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;SQL Server pick handles/Link list end points for next page from 1st page. Create a new page, move Boris to this new page &amp;amp; store Boris on 1st page. Now reset the next page after 1st Page to New Page and New Page will point to the original 2nd page so that the Link list is updated.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://sqlblogcasts.com/blogs/tonyrogerson/arch...appen-why-worry.aspx"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;sqlblogcasts.com/blogs/tonyrogerson/arch...appen-why-worry.aspx&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. What are the disadvantages of having Indexes?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Ans. Insertion or saving become slow because data is sorted before it is saved and while doing so some page splits will occur&amp;nbsp;and it will take its own time. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;There should not be too many indexes else things will slow down heavily. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;If you create an index on each column of a table, it improves the query performance, as the query optimizer can choose from all the existing indexes to come up with an efficient execution plan. At the same time, data modification operations (such as INSERT, UPDATE, DELETE) will become slow, as every time data changes in the table, all the indexes need to be updated. Another disadvantage is that, indexes need disk space, the more indexes you have, more disk space is used.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. What is a covering Index?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Ans. covering index, which is a form of a composite index, includes all of the columns referenced in the SELECT, JOIN, and WHERE clauses of a query. Because of this, the index contains the data you are looking for and SQL Server doesn’t have to look up the actual data in the table, reducing logical and/or physical I/O, and boosting performance.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;On the other hand, if the covering index gets too big (has too many columns), this could actually increase I/O and degrade performance. Generally, when creating covering indexes, follow these guidelines:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;• If the query or queries you run using the covering index are seldom run, then the overhead of the covering index may outweigh the benefits it provides. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;• The covering index should not add significantly to the size of the key. If it does, then it its use may outweigh the benefits it provides. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;• The covering index must include all columns found in the SELECT list, the JOIN clause, and the WHERE clause. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;a href="http://www.simple-talk.com/sql/learn-sql-server...e-query-performance/"&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;www.simple-talk.com/sql/learn-sql-server...e-query-performance/&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. Is it possible to use Order by clause in View? If yes, how?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Ans. Generally Order by clause is not allowed in a view. In case we need to use it then we need to use TOP clause. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select top 10 * from ViewName&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Order by Field&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Or&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select top 100 Percent from ViewName&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Order by Field&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. Write a query that return Nth highest salary of employees.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;SELECT TOP 1 UnitPrice&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;FROM (&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;SELECT TOP 12 UnitPrice&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;FROM Products&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;ORDER BY UnitPrice DESC) a&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;ORDER BY UnitPrice&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;OR&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;SELECT MIN(UnitPrice) FROM Products&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;WHERE UnitPrice IN&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;(SELECT TOP 12 UnitPrice FROM Products ORDER BY UnitPrice DESC)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&amp;nbsp; &lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. There are 2 tables Customers and Orders and CustomerID is primary key in Customers table and OrderID is primary key in Orders table. CustomerID is foreign key in Orders table.&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Write a query to list all Customers who have ordered at least once.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Write a query to list all Customers who are have no orders.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;ANS: &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;--Customers with at least 1 order&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select c.CustomerId, c.ContactName, Count(OrderID)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;from Customers c inner join Orders d&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;on c.CustomerID = d.CustomerId&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;group by c.CustomerID, c.ContactName&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;having Count(*)&amp;nbsp;&amp;gt;= 1&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;--Customers with no orders&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;select c.CustomerId, c.ContactName, Count(OrderID) NoOfOrders&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;from Customers c left join Orders d&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;on c.CustomerID = d.CustomerId&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;group by c.CustomerID, c.ContactName&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;having Count(OrderID) = 0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;or&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select c.* from Customers c left join &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Orders b on c.CustomerID = b.CustomerID&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;where b.OrderID is null&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. There is a table Employees with fields like EmployeeID, ReportsTo and CityId. EmployeeID is Primary Key and&amp;nbsp;ReportsTo as foreign Key in Employees table.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Write a query to retrieve all Employees who are Managers.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Write a query to retrieve all employees who live in same city as their managers&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Ans.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;--All Employees as Managers&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select a.employeeid, a.lastName from employees a inner join employees b&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;on a.Employeeid = b.Reportsto&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;group by a.EmployeeID, a.lastname&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;having count(*) &amp;gt;0&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;--All Employees who live in same city as their Manager&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;select a.EmployeeId, b.EmployeeId, a.LastName + ',' + a.FirstName, b.LastName + ',' + b.FirstName, a.City, b.City&lt;/span&gt; &lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;From Employees a inner join Employees b&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;on a.EmployeeID = b.ReportsTo&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Where a.City = b.City&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. Write a query to identify duplicate records in a table. &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;2 CASES: If we have identity field and another when we don't have identity field&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;ANS:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;create table testWithIdentity&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;(&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;ID int Identity(1,1),&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Project varchar(10),&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;hours int,&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Activity varchar(10))&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Go&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Insert into testWithIdentity&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select 'AWARDS', 1000, 'TEST'&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;union all&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select 'AWARDS', 1000, 'TEST'&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;union all&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select 'AWARDS', 1000, 'TEST1'&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;go&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select * from testWithIdentity&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;go&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select project, hours, activity from test&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;group by project, hours, activity&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;having count(*)&amp;nbsp;&amp;gt; 1&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;--This statement will work but what about ID field, let’s add ID in select statement.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select id,project, hours, activity from test&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;group by id,project, hours, activity&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;having count(*)&amp;nbsp;&amp;gt; 1&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;--This shows 0 records as duplicate.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Let’s write our query differently:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select a.* from test a,&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;test b&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;where a.project = b.project and a.hours = b.hours&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;and a.activity = b.activity&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;and a.id &amp;lt; b.id&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;CASE 2:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;create table testWithNoIdentity&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;(&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Project varchar(10),&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;hours int,&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Activity varchar(10))&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;go&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Insert into testWithNoIdentity&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select 'AWARDS', 1000, 'TEST'&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;union all&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select 'AWARDS', 1000, 'TEST'&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;union all&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select 'AWARDS', 1000, 'TEST1'&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;go&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select * from testWithNoIdentity&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;go&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select * from testWithNoIdentity&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;group by project, hours, activity&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;having count(*) &amp;gt; 1&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. What do we call a table that has no index?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;ANS:&amp;nbsp;HEAP&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. What is the data Page size (actual and available)?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;ANS:&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;8KB = 8196 = TOTAL ROW SIZE&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;8060 = AVAILABLE ROW SIZE&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. What are magic tables (hint: Triggers / OUTPUT clause)&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;ANS: INSERTED and DELETED also known as Special Tables&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. What will be the output of following snippet:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Declare @val1 varchar(10)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Declare @val2 varchar(10)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Declare @val3 varchar(10)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;set @val3=null&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;set @val2='adadasd'&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;set @val1=null&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Select Coalsec(@val3, @val1, @val1)&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;The output will be NULL&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;If we rewrite our statement as Select Coalsec(@val3, @val1, @val2)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;It will return &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;‘adadasd’&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. What does NULL mean?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;ANS: UNKNOWN&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. If I have a view with definition as Select * from table and table has 3 columns. When I execute Select * from view I see 3 columns. &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Now if I alter my table and add 1 more column &amp;amp; execute Select * from view how many columns will be returned &amp;amp; why?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Ans: As View is also an object and it has definition with columns retrieved. As soon as view is created, it creates entry for all fetched columns, so even if we add another field in base table and execute query as Select * from view, it will pick only those fields which are available in its metadata / sys.Columns or syscolumns table. &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;To update the view schema, execute &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;sp_refreshview ‘ViewName’ &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;This will refresh the schema definition of the view.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. There are 5 records in a table with two columns i.e name and age.&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Data in Name field&amp;nbsp;can be anything but age are 20,30,null,40 and null. &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;What will be the output of following statements:&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;select avg(age) from table&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;select count(1) from table &lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;select count(age) from table&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Ans:&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;create table test&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;(name varchar(100),&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;age int null)&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;go&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;insert into test&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;select 'ax', 20&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;union all&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;select 'bw',30&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;union all&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;select 'bw1',null&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;union all&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;select 'abw',40&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;union all&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;select 'bw1a',null&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;go&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;select avg(age) from test – 30 because 20+30+40 = 90 and null columns are not counted for calculating avg, which is a numeric value&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;go&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;select count(1) from test –- 5 total records in table are 5&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;go&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;select count(age) from test –- 3 because null is excluded, so only 3 rows with number are returned.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Go&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. How to pass Rows to stored procedure as parameter?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;ANS: Use Table Value Parameter&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;strong&gt;&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Q. What is the difference in DEALLOCATE and CLOSE CURSOR?&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Ans: Close Cursor will close the Cursor but it can be accessed again using Open Cursor. When Deallocate cursor is given, the cursor will be removed from memory. In case that cursor is required again, then we need to create fresh cursor with DECLARE statement again.&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Appreciate your feedback. Will come up with more soon.&lt;/span&gt; &lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&amp;nbsp; &lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Thanks &lt;/span&gt;&lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;&lt;/span&gt;&amp;nbsp; &lt;br /&gt;
&lt;span style="font-family: &amp;quot;Courier New&amp;quot;, Courier, monospace;"&gt;Sudhir&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-1407578067897559910?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/zePTebgza9Fdsixnypcqd8ON8CA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zePTebgza9Fdsixnypcqd8ON8CA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/zePTebgza9Fdsixnypcqd8ON8CA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/zePTebgza9Fdsixnypcqd8ON8CA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/lLkmVdCnfm0" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/1407578067897559910/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=1407578067897559910&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/1407578067897559910?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/1407578067897559910?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/lLkmVdCnfm0/sql-server-questions-part-1.html" title="SQL Server Questions PART - 1" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/06/sql-server-questions-part-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUcFRnYzfyp7ImA9WhZVEkU.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-8406150079118282223</id><published>2011-05-25T05:53:00.000+05:30</published><updated>2011-05-25T05:53:37.887+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-25T05:53:37.887+05:30</app:edited><title>SQL Server Analysis Services (SSAS) Tutorial by MSSQLTips.com</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
SQL Server Analysis Services (SSAS) is the technology from the Microsoft Business Intelligence stack, to develop Online Analytical Processing (OLAP) solutions. In other terms, we can use SSAS to create cubes using data from data marts / data warehouse for deeper and faster data analysis. &lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;Cubes are multi-dimensional data sources which have dimensions and facts (also known as measures) as its basic constituents. From a relational perspective dimensions can be thought of as master tables and facts can be thought of as measureable details. These details are generally stored in a pre-aggregated proprietary format and users can analyze huge amounts of data and slice this data by dimensions very easily. Multi-dimensional expression (MDX) is the query language used to query a cube, similar to the way T-SQL is used to query a table in SQL Server.&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;/div&gt;Simple examples of dimensions can be product / geography / time / customer, and similar simple examples of facts can be orders / sales. A typical analysis could be to analyze sales in Asia-pacific geography during the past 5 years.&amp;nbsp;Think of this data as a pivot table where geography is the column-axis and years is the row axis, and sales can be seen as the values. Geography can also have its own hierarchy like Country-&amp;gt;City-&amp;gt;State. Time can also have its own hierarchy like Year-&amp;gt;Semester-&amp;gt;Quarter. Sales could then be analyzed using any of these hierarchies for effective data analysis.&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;/div&gt;A typical higher level cube development process using SSAS involves the following steps:&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;/div&gt;1) Reading data from a dimensional model&lt;br /&gt;
2) Configuring a schema in BIDS (Business Intelligence Development Studio)&lt;br /&gt;
3) Creating dimensions, measures and cubes from this schema&lt;br /&gt;
4) Fine tuning the cube as per the requirements&lt;br /&gt;
5) Deploying the cube&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;This tutorial will step through a number of topics that&amp;nbsp;we need to understand in order to successfully create a basic cube. Gigh level outline is as follows:&amp;nbsp;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;Design and develop a star-schema &lt;/li&gt;
&lt;li&gt;Create dimensions, hierarchies, and cubes &lt;/li&gt;
&lt;li&gt;Process and deploy a cube &lt;/li&gt;
&lt;li&gt;Develop calculated measures and named sets using MDX &lt;/li&gt;
&lt;li&gt;Browse the cube data using Excel as the client tool&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div&gt;In this tutorial, we will also try to develop an understanding of OLAP development from the eyes of an OLTP practitioner. &lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&lt;a href="http://www.mssqltips.com/tutorial.asp?tutorial=2000" target="_blank"&gt;&lt;strong&gt;&lt;span style="color: blue;"&gt;Click here to read tutorial.&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br/&gt;&lt;br/&gt;Happy Learning&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;br/&gt;&lt;br/&gt;Sudhir&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-8406150079118282223?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/2SX8TirUTbjQjBkckCtcK5CkGIo/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2SX8TirUTbjQjBkckCtcK5CkGIo/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/2SX8TirUTbjQjBkckCtcK5CkGIo/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/2SX8TirUTbjQjBkckCtcK5CkGIo/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/8Sv2NxGzvpo" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/8406150079118282223/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=8406150079118282223&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/8406150079118282223?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/8406150079118282223?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/8Sv2NxGzvpo/sql-server-analysis-services-ssas.html" title="SQL Server Analysis Services (SSAS) Tutorial by MSSQLTips.com" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/05/sql-server-analysis-services-ssas.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEEFQ3w4eSp7ImA9WhZVEk8.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-4948838170347765712</id><published>2011-05-24T13:06:00.000+05:30</published><updated>2011-05-24T13:06:52.231+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-24T13:06:52.231+05:30</app:edited><title>SQL Server Integration Services Tutorial by MSSQLTIPS.com</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
SQL Server Integration Services (SSIS) is a tool that we use to perform ETL operations; i.e. Extract, Transform and Load data. While ETL processing is common in data warehousing (DW) applications, SSIS&amp;nbsp;can do&amp;nbsp;much more&amp;nbsp;than that e.g. when&amp;nbsp;we create a Maintenance Plan using SQL Server Management Studio (SSMS) an SSIS package is created, when we export or import data, an SSIS package is created. &lt;br /&gt;
&lt;br /&gt;
At a high level, SSIS provides the ability to:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Retrieve data from just about any source &lt;/li&gt;
&lt;li&gt;Perform various transformations on the data; e.g. convert from one type to another, convert to uppercase or lowercase, perform calculations, etc. &lt;/li&gt;
&lt;li&gt;Load data into just about any source &lt;/li&gt;
&lt;li&gt;Define a workflow&amp;nbsp;&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;In this tutorial we will step through a number of topics that we need to understand in order to successfully build an SSIS package. Our high level outline is as follows:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Creating SSIS packages with SQL Server Management Studio (SSMS) &lt;/li&gt;
&lt;li&gt;Business Intelligence Development Studio (BIDS) &lt;/li&gt;
&lt;li&gt;Creating a simple SSIS package in BIDS &lt;/li&gt;
&lt;li&gt;Deploying SSIS packages &lt;/li&gt;
&lt;li&gt;Executing SSIS packages &lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div&gt;&lt;a href="http://www.mssqltips.com/tutorial.asp?tutorial=200" target="_blank"&gt;&lt;strong&gt;&lt;span style="color: blue;"&gt;Click here to read tutorial.&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Happy learning&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Sudhir&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-4948838170347765712?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/5Xg2FprTZi1u3ID0hetUN_-Dxa0/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5Xg2FprTZi1u3ID0hetUN_-Dxa0/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/5Xg2FprTZi1u3ID0hetUN_-Dxa0/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/5Xg2FprTZi1u3ID0hetUN_-Dxa0/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/Y914aOfYF1M" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/4948838170347765712/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=4948838170347765712&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/4948838170347765712?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/4948838170347765712?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/Y914aOfYF1M/sql-server-integration-services.html" title="SQL Server Integration Services Tutorial by MSSQLTIPS.com" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/05/sql-server-integration-services.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0EHSHkyeyp7ImA9WhZVEk8.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-2304096307531334053</id><published>2011-05-24T12:47:00.001+05:30</published><updated>2011-05-24T12:50:39.793+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-24T12:50:39.793+05:30</app:edited><title>SQL Server Reporting Services Tutorial by MSSQLTips.com</title><content type="html">Guys,&lt;br /&gt;
&lt;div&gt;&lt;/div&gt;SQL Server Reporting Services 2008 (SSRS) is a feature included in the SQL Server 2008 product. We use SSRS to design, develop, test, and deploy reports. SSRS leverages Business Intelligence Development Studio (BIDS) developer tool for all aspects of authoring and deploying reports. &lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;/div&gt;In this tutorial we will step through a number of topics that we need to understand to successfully build a report. The tutorial will run through following topics:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Reporting Services Components &lt;/li&gt;
&lt;li&gt;Install Reporting Services &lt;/li&gt;
&lt;li&gt;Business Intelligence Development Studio (BIDS) &lt;/li&gt;
&lt;li&gt;Install Sample Database &lt;/li&gt;
&lt;li&gt;Create a Simple Report with the Wizard &lt;/li&gt;
&lt;li&gt;Create a Simple Report with the Report Designer &lt;/li&gt;
&lt;li&gt;Deploy Reports &lt;/li&gt;
&lt;li&gt;Configure Report Manager Security&amp;nbsp;&lt;/li&gt;
&lt;/ul&gt;&lt;div&gt;&lt;/div&gt;&lt;div&gt;&lt;a href="http://www.mssqltips.com/tutorial.asp?tutorial=222" target="_blank"&gt;&lt;strong&gt;&lt;span style="color: blue;"&gt;Click here to read tutorial.&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;Happy Learning&lt;br /&gt;
&lt;br /&gt;
Sudhir&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-2304096307531334053?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/gzAe3nkzzAJAksuWmdDltRSrUlk/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gzAe3nkzzAJAksuWmdDltRSrUlk/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/gzAe3nkzzAJAksuWmdDltRSrUlk/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/gzAe3nkzzAJAksuWmdDltRSrUlk/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/2Z5lDVbSUwI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/2304096307531334053/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=2304096307531334053&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/2304096307531334053?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/2304096307531334053?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/2Z5lDVbSUwI/sql-server-reporting-services-tutorial.html" title="SQL Server Reporting Services Tutorial by MSSQLTips.com" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/05/sql-server-reporting-services-tutorial.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CE8CRX0yeSp7ImA9WhZVEk8.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-4799025033428268603</id><published>2011-05-16T19:01:00.002+05:30</published><updated>2011-05-24T13:11:04.391+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-24T13:11:04.391+05:30</app:edited><title>SSWUG Free Expo Event: Understanding SQL Server Analysis Services</title><content type="html">Guys,&lt;br /&gt;
&lt;div&gt;&lt;br /&gt;
&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #343434; font-family: Arial, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;SSWUG.ORG’s virtual expo will review various aspects of SQL Server Analysis Services (SSAS), which enables the server to be used for analytical processing and data mining. Through in-depth sessions with four of the leading experts in the information technology (IT) and business intelligence (BI) fields, we will see many demonstrations and examples on designing, creating and managing data from multiple sources. By the end of our event, we should have the tools and understanding needed to bring added functionality, automation and insight into your data.&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #343434; font-family: Arial, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #343434; font-family: Arial, Arial, Helvetica, sans-serif;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px; line-height: 18px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #343434; font-family: Arial, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;Please&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #343434; font-family: Arial, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #343434; font-family: Arial, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;a href="https://www.vconferenceonline.com/event/regevent.aspx?id=277" style="border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: #660066; font-size: 1em; line-height: 1em; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;"&gt;register now&lt;/a&gt;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #343434; font-family: Arial, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="color: #343434;"&gt;to learn from four acclaimed SSAS experts for free on Friday, May 20! &lt;/span&gt;&lt;a href="http://www.vconferenceonline.com/event/home.aspx?id=277"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;b&gt;Click here to Register&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="color: #343434;"&gt;.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #343434; font-family: Arial, Arial, Helvetica, sans-serif; font-size: 12px; line-height: 18px;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #343434; font-family: Arial, Arial, Helvetica, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;h3 style="font-size: 1.4em; margin-bottom: 5px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #343434; font-family: Arial, Arial, Helvetica, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal;"&gt;Friday,&amp;nbsp;May 20, 2011&lt;br /&gt;
9 a.m. - 1 p.m. PDT&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.vconferenceonline.com/event/sessions.aspx?id=277" style="border-bottom-style: none; border-left-style: none; border-right-style: none; border-top-style: none; color: #660066; outline-color: initial; outline-style: none; outline-width: initial; text-decoration: none;" target="_blank"&gt;Sessions&lt;/a&gt;&amp;nbsp;will cover the following topics:&lt;/span&gt;&lt;/span&gt;&lt;/h3&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: #343434; font-family: Arial, Arial, Helvetica, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal;"&gt;&lt;span class="Apple-style-span" style="color: black; font-family: Times New Roman; font-size: small;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="color: #343434; font-family: Arial;"&gt;Common Mistakes with SSAS Cube Designs&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;span class="Apple-style-span" style="color: #343434; font-family: Arial, Arial, Helvetica, sans-serif; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal;"&gt;&lt;span class="Apple-style-span" style="font-size: 12px;"&gt;Sudhir&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;SSAS Partitioning and Aggregation Strategies&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Properly Using the SSAS Query Cache&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Overcoming SSAS Implementation Issues&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Building a Scalable SSAS Solution&amp;nbsp;&lt;/li&gt;
&lt;li&gt;Best Practices for Performance and Tuning Techniques&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-4799025033428268603?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/JvZp6biOs7yU75RfS9HZH-lrvcw/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JvZp6biOs7yU75RfS9HZH-lrvcw/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/JvZp6biOs7yU75RfS9HZH-lrvcw/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/JvZp6biOs7yU75RfS9HZH-lrvcw/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/guaZDylYAU4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/4799025033428268603/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=4799025033428268603&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/4799025033428268603?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/4799025033428268603?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/guaZDylYAU4/sswug-free-expo-event-understanding-sql.html" title="SSWUG Free Expo Event: Understanding SQL Server Analysis Services" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/05/sswug-free-expo-event-understanding-sql.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0cBRXo-fyp7ImA9WhZWE0w.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-1877989414270372036</id><published>2011-05-12T19:53:00.000+05:30</published><updated>2011-05-14T02:07:34.457+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-05-14T02:07:34.457+05:30</app:edited><title>Introduction to MDX video &amp; slides by Business Intelligence architect and MDX expert Bill Pearson</title><content type="html">&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Guys,&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #343434; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;To explore the basic functions of MDX and view many practical examples on using the query language in SSWUG.ORG’s "Introduction to MDX" webcast series. In three, in-depth sessions, Business Intelligence architect and MDX expert Bill Pearson will focus on the basic components of MDX, as well as provide information on crafting simple MDX expressions and queries that generate result sets. By the end of this three-part series, we should have the information needed to meet many real-world business needs.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="color: #343434; line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;br /&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="line-height: 18px;"&gt;&lt;span class="Apple-style-span" style="line-height: normal;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;div style="color: #343434; line-height: 1.5em; margin-bottom: 18px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-right: 6px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;The first session will concentrate on crafting simple MDX expressions and queries whose purposes, for the most part, are to return a set of data. Bill will review the structure of a cube, using the sample "Adventure Works" cube as an example and is available to anyone installing SQL Server Analysis Services 2008 R2. He will also outline the components of simple MDX syntax, explain how to begin writing basic expressions and queries, expose basic member functions and introduce filters (or “slicers”). Finally, we will have the chance to explore core MDX functionality, including calculated members and named sets.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="line-height: 1.5em; margin-bottom: 18px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-right: 6px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;&lt;a href="http://www.vconferenceonline.com/event/home.aspx?id=275" target="_blank"&gt;&lt;span class="Apple-style-span" style="color: blue;"&gt;&lt;b&gt;Click here&lt;/b&gt;&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span" style="color: #343434;"&gt;&amp;nbsp;to register for the video and presentation slides.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: #343434; line-height: 1.5em; margin-bottom: 18px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-right: 6px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;All the best &amp;amp; happy learning.&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div style="color: #343434; line-height: 1.5em; margin-bottom: 18px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-right: 6px;"&gt;&lt;div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;"&gt;&lt;span class="Apple-style-span" style="font-family: Arial, Helvetica, sans-serif;"&gt;Sudhir&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-1877989414270372036?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ObaV0D7wcfvJCO35FlLqCp-ZsE8/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ObaV0D7wcfvJCO35FlLqCp-ZsE8/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ObaV0D7wcfvJCO35FlLqCp-ZsE8/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ObaV0D7wcfvJCO35FlLqCp-ZsE8/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/Pf6CctCPZy8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/1877989414270372036/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=1877989414270372036&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/1877989414270372036?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/1877989414270372036?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/Pf6CctCPZy8/introduction-to-mdx-video-slides.html" title="Introduction to MDX video &amp; slides by Business Intelligence architect and MDX expert Bill Pearson" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/05/introduction-to-mdx-video-slides.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0AHQ304eip7ImA9WhZQFk8.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-4215019824282565045</id><published>2011-04-24T11:45:00.000+05:30</published><updated>2011-04-24T11:45:32.332+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-24T11:45:32.332+05:30</app:edited><title>Singapore SQL Server User Group on 28th April</title><content type="html">Hi,&lt;br /&gt;
&lt;br /&gt;
Welcome to SQL Server User Group Singapore. Following are details of this months meeting on 28th April at Microsoft.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Topic:&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Introduction to Business Intelligence&lt;/b&gt; – Renaud/Michael will deliver the details of Decision support process , needs and BI From Business needs to Business Intelligence Solutions, The "Boss"questions, Applied Example, Real life project demo&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;What’s new in SSRS 2008 R2?&lt;/b&gt;– SSRS 2008 R2 is a minor version upgrade from SSRS 2008, however, there are many features which are very useful to aid in the development of reports using SSRS. Come and join me about a whirlwind tour about the various features in SSRS 2008 R2.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Date&lt;/b&gt;:     April  28th, 2011&lt;br /&gt;
&lt;b&gt;Time&lt;/b&gt;:     7:00PM – 9:00 PM&lt;br /&gt;
Registration starts at 6:30 PM&lt;br /&gt;
&lt;b&gt;Venue&lt;/b&gt;: NTUC Building 22CF-12, Microsoft Office One Marina Boulevard&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Speaker profile:&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;Renaud HARDUIN&lt;/b&gt; is ESSILOR European IT Singapore Developement Service Manager, in Singapore (ESSILOR ITSS / 38 people / 6 teams). He is in charge of Europe IT Development Team and support for various Business Support. Renaud is is MVP on SQL/BI since 2005&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Michael LABASTIDA&lt;/b&gt; is ESSILOR BI Technical Leader &amp;amp; BI Expert In charge of one of the major BI ESSILOR Project in ESSILOR ITSS.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Alvin Lau&lt;/b&gt; is your average Joe in the application space and is a large advocate of .NET technologies since 2005. In his spare time, he runs SGDOTNET, a Singapore-based .NET user group, and loves to share his experience and knowledge. His area of interests includes ASP.Net, Agile development, SharePoint and Microsoft BI.&lt;br /&gt;
&lt;br /&gt;
Our website of sql user group : &lt;a href="http://sgsql.org/"&gt;http://sgsql.org&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Please confirm your attendance by sending email to &lt;a href="mailto:SGSQL@LIVE.COM"&gt;SGSQL@LIVE.COM&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
See you there on 28th April, 2010&lt;br /&gt;
&lt;br /&gt;
Enjoy&lt;br /&gt;
&lt;br /&gt;
Sudhir&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-4215019824282565045?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/lrsCfLko4Hjc0nFFKuY7I0Es5iA/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lrsCfLko4Hjc0nFFKuY7I0Es5iA/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/lrsCfLko4Hjc0nFFKuY7I0Es5iA/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/lrsCfLko4Hjc0nFFKuY7I0Es5iA/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/deU9fSlPuI4" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/4215019824282565045/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=4215019824282565045&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/4215019824282565045?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/4215019824282565045?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/deU9fSlPuI4/singapore-sql-server-user-group-on-28th.html" title="Singapore SQL Server User Group on 28th April" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/04/singapore-sql-server-user-group-on-28th.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0ADRnw5cSp7ImA9WhZQE0s.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-7312352970908788478</id><published>2011-04-21T11:32:00.000+05:30</published><updated>2011-04-21T11:32:57.229+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-21T11:32:57.229+05:30</app:edited><title>Designing Cubes for Performance by Stacia Misner</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
If you are a SQL Server BI developer, who wants to enhance his/her skills on Cube performances then please click on below links to view presentation &amp;amp; recordings of session given by MVP Stacia Misner.&lt;br /&gt;
&lt;br /&gt;
I am sure this will be really helpful.&lt;br /&gt;
&lt;br /&gt;
Enjoy &amp;amp; Happy Learning&lt;br /&gt;
&lt;br /&gt;
Sudhir&lt;br /&gt;
&lt;a href="http://blog.datainspirations.com/2011/04/20/designing-cubes-for-performance/" target="_blank"&gt;&lt;strong&gt;&lt;span style="color: blue; font-size: large;"&gt;Follow this link for the details:&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://blog.datainspirations.com/uploads/designing-cubes-perf.pdf" target="_blank"&gt;&lt;strong&gt;&lt;span style="color: blue; font-size: large;"&gt;Click here to download Slides&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-7312352970908788478?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/h3C9k8b8pM7OUhAKdy40rCK6PeE/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h3C9k8b8pM7OUhAKdy40rCK6PeE/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/h3C9k8b8pM7OUhAKdy40rCK6PeE/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/h3C9k8b8pM7OUhAKdy40rCK6PeE/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/yfZi3yDNXmA" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/7312352970908788478/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=7312352970908788478&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/7312352970908788478?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/7312352970908788478?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/yfZi3yDNXmA/designing-cubes-for-performance-by.html" title="Designing Cubes for Performance by Stacia Misner" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/04/designing-cubes-for-performance-by.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEICRHcyeyp7ImA9WhZRGEg.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-100762830361384393</id><published>2011-04-15T12:48:00.001+05:30</published><updated>2011-04-15T12:59:25.993+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-04-15T12:59:25.993+05:30</app:edited><title>Stairway to SSRS Part 1-&gt; SSRS in Flash</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
If you are interested in learning about SSRS (SQL Server Reporting Services) then have a look at this article. This article from Jessica Moss (SQL Server MVP) shows how we can get started in SSRS. &lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
We can learn following from this article:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;What is SQL Server Reporting Services? &lt;/li&gt;
&lt;li&gt;What can&amp;nbsp;we do with SSRS reports? &lt;/li&gt;
&lt;li&gt;What components does SSRS use? &lt;/li&gt;
&lt;/ul&gt;&lt;a href="http://www.sqlservercentral.com/articles/Reporting+Services+(SSRS)/69949/" target="_blank"&gt;&lt;strong&gt;&lt;span style="color: blue;"&gt;To read complete article, click here.&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt; &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
Happy Learning &lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
Sudhir&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-100762830361384393?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/6puV8cKi3A_2CeCgxdMn0_vwXHY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6puV8cKi3A_2CeCgxdMn0_vwXHY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/6puV8cKi3A_2CeCgxdMn0_vwXHY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/6puV8cKi3A_2CeCgxdMn0_vwXHY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/dT9hdp-2EF8" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/100762830361384393/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=100762830361384393&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/100762830361384393?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/100762830361384393?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/dT9hdp-2EF8/stairway-to-ssrs-part-1-ssrs-in-flash.html" title="Stairway to SSRS Part 1-&gt; SSRS in Flash" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/04/stairway-to-ssrs-part-1-ssrs-in-flash.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DE8MQH46fSp7ImA9WhZSFU4.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-7002351106063423120</id><published>2011-03-31T07:31:00.000+05:30</published><updated>2011-03-31T07:31:21.015+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-31T07:31:21.015+05:30</app:edited><title>The SSIS Data Pump - Step 2 of the Stairway to Integration Services</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
As we all know that &lt;strong&gt;SQL Server Integration Services&lt;/strong&gt; is one of the most popular subsystems in SQL Server. In allows us to Extract, Transform, and Load (ETL) data between a variety of data sources and programmatically change data in any manner you can think of and script in C#.&lt;br /&gt;
&lt;br /&gt;
In our previous &lt;a href="http://sql-sudhir.blogspot.com/2011/03/what-is-ssis-step-1-of-stairway-to.html"&gt;Part 1 – BIDS&lt;/a&gt;&amp;nbsp;we learned our way around Business Intelligence Development Studio and&amp;nbsp;we are now itching to build an SSIS package that moves real data!&lt;br /&gt;
&lt;br /&gt;
This article explains:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;The relationship between Connection Managers and adapters (OLE DB Source and OLE DB Destination) &lt;/li&gt;
&lt;li&gt;Role and some features of Data Flow Paths that connect Data Flow Task components to each and represent the "data flow pipeline" &lt;/li&gt;
&lt;li&gt;Design-time validation and how to view Errors and Warnings. &lt;/li&gt;
&lt;li&gt;Some cool time-saving features of the Adapter Editors -&amp;nbsp;we&amp;nbsp;will fall in love with these New buttons! &lt;/li&gt;
&lt;li&gt;Formatting components on the Data Flow canvas so they're aligned. &lt;/li&gt;
&lt;li&gt;Take a peek under the hood of the Data Flow Task, viewing the Data Flow Path metadata. &lt;/li&gt;
&lt;li&gt;How this metadata can be used by the OLE DB Destination to build a CREATE TABLE statement. &lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;div&gt;&lt;a href="http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/72493/"&gt;&lt;strong&gt;&lt;span style="color: blue; font-size: large;"&gt;Click here to read complete article.&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Happy Learning&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Sudhir&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-7002351106063423120?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/YgvLHQIjrdLZDi3o4N7toe5B8dY/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YgvLHQIjrdLZDi3o4N7toe5B8dY/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/YgvLHQIjrdLZDi3o4N7toe5B8dY/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/YgvLHQIjrdLZDi3o4N7toe5B8dY/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/IqGpuQ5xqoA" height="1" width="1"/&gt;</content><link rel="related" href="http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/72493/" title="The SSIS Data Pump - Step 2 of the Stairway to Integration Services" /><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/7002351106063423120/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=7002351106063423120&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/7002351106063423120?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/7002351106063423120?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/IqGpuQ5xqoA/ssis-data-pump-step-2-of-stairway-to.html" title="The SSIS Data Pump - Step 2 of the Stairway to Integration Services" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/03/ssis-data-pump-step-2-of-stairway-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEMFQHo_eCp7ImA9WhZSFU4.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-7057743364460134893</id><published>2011-03-31T07:23:00.000+05:30</published><updated>2011-03-31T07:23:31.440+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-31T07:23:31.440+05:30</app:edited><title>What is SSIS? Step 1 of the Stairway to Integration Services</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
As we know that &lt;strong&gt;SQL Server Integration Services &lt;/strong&gt;is one of the most popular subsystems in SQL Server. In allows&amp;nbsp;us to Extract, Transform, and Load (ETL) data between a variety of data sources and programmatically change data in any manner you can think of and script in C#.&lt;br /&gt;
&lt;br /&gt;
We can use SSIS to:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;Perform ETL (Extract, Transform, and Load) operations &lt;/li&gt;
&lt;li&gt;Transfer data &lt;/li&gt;
&lt;li&gt;Copy database objects &lt;/li&gt;
&lt;li&gt;Perform FTP operations &lt;/li&gt;
&lt;li&gt;Work with files &lt;/li&gt;
&lt;/ul&gt;This article from SQLServerCentral provides an introduction to SQL Server Integration Services, and an overview of its architecture. &lt;br /&gt;
&lt;br /&gt;
&lt;a href="http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/72492/"&gt;&lt;strong&gt;&lt;span style="color: blue; font-size: large;"&gt;To read this article, click here&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Happy learning&lt;br /&gt;
&lt;br /&gt;
Sudhir&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp; &lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&amp;nbsp;&amp;nbsp;&lt;/div&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-7057743364460134893?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/Vpie1RTUZIgFNKAhWtKGhj_qrMI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Vpie1RTUZIgFNKAhWtKGhj_qrMI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/Vpie1RTUZIgFNKAhWtKGhj_qrMI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/Vpie1RTUZIgFNKAhWtKGhj_qrMI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/4ga_6Rdftq0" height="1" width="1"/&gt;</content><link rel="related" href="http://www.sqlservercentral.com/articles/Integration+Services+(SSIS)/72492/" title="What is SSIS? Step 1 of the Stairway to Integration Services" /><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/7057743364460134893/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=7057743364460134893&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/7057743364460134893?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/7057743364460134893?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/4ga_6Rdftq0/what-is-ssis-step-1-of-stairway-to.html" title="What is SSIS? Step 1 of the Stairway to Integration Services" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/03/what-is-ssis-step-1-of-stairway-to.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cAR3k5eSp7ImA9WhZTFkU.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-6798702616487832883</id><published>2011-03-21T10:51:00.001+05:30</published><updated>2011-03-21T10:54:06.721+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-21T10:54:06.721+05:30</app:edited><title>Resources for migrating from Oracle/Sybase/MySQL/Access to SQL Server and SQL Azure</title><content type="html">Guys,&lt;br /&gt;
&lt;br /&gt;
Everyone faces issues when migrating data from various sources like Oracle, MySQL, Sybase or Access to SQL Server.&lt;br /&gt;
&lt;br /&gt;
We might have come across issues like:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;How to correct schema issues?&lt;/li&gt;
&lt;li&gt;Data type conversion cases&lt;/li&gt;
&lt;li&gt;Should comments be saved or no?&lt;/li&gt;
&lt;/ul&gt;and many more.&lt;br /&gt;
&lt;br /&gt;
To get an answer to these questions, refer to &lt;a href="http://blogs.msdn.com/b/ssma/"&gt;&lt;strong&gt;&lt;span style="color: blue;"&gt;Microsoft SQL Server Migration Assistant (SSMA) Team's Blog&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
There are many examples, which are very helpful.&lt;br /&gt;
&lt;br /&gt;
Happy Learning.&lt;br /&gt;
&lt;br /&gt;
Sudhir&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-6798702616487832883?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/8ohX7hrdYQVgb911elzuIyJeYgM/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8ohX7hrdYQVgb911elzuIyJeYgM/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/8ohX7hrdYQVgb911elzuIyJeYgM/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/8ohX7hrdYQVgb911elzuIyJeYgM/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/vZV2DVb0keI" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/6798702616487832883/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=6798702616487832883&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/6798702616487832883?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/6798702616487832883?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/vZV2DVb0keI/resources-for-migrating-from.html" title="Resources for migrating from Oracle/Sybase/MySQL/Access to SQL Server and SQL Azure" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/03/resources-for-migrating-from.html</feedburner:origLink></entry><entry gd:etag="W/&quot;AkQESHk_fyp7ImA9Wx9aF0w.&quot;"><id>tag:blogger.com,1999:blog-5299050221157624391.post-178040060359561791</id><published>2011-03-10T06:21:00.000+05:30</published><updated>2011-03-10T06:21:49.747+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2011-03-10T06:21:49.747+05:30</app:edited><title>Stairway to SQL Server Agent: Step 1: Setup and Overview</title><content type="html">Hi,&lt;br /&gt;
&lt;br /&gt;
We all come across a situation where we need to schedule something &amp;amp; run the process in background automatically in database itself. &lt;br /&gt;
&lt;br /&gt;
The tool that we can use to achieve this task is SQL SERVER AGENT. &lt;br /&gt;
&lt;br /&gt;
SQL Server Agent is at the heart of any live database system. The Agent has a number of uses which aren't always obvious, and so a knowledge of the system is always useful, to developers as well as DBAs. Richard Waymire provides a simple explanation of its many uses.&lt;br /&gt;
&lt;br /&gt;
In this article Richard explains following things:&lt;br /&gt;
&lt;ul&gt;&lt;li&gt;SQL Server Agent Setup and Overview&lt;/li&gt;
&lt;li&gt;Getting SQL Server Agent Running &lt;/li&gt;
&lt;li&gt;Setting the Agent to Auto-start with SQL Server &lt;/li&gt;
&lt;li&gt;Creating your first Job&lt;/li&gt;
&lt;/ul&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div&gt;&lt;a href="http://www.sqlservercentral.com/articles/Stairway+Series/72267/"&gt;&lt;strong&gt;&lt;span style="color: blue;"&gt;Click here&lt;/span&gt;&lt;/strong&gt;&lt;/a&gt; to read full article. &lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Happy Learning&lt;/div&gt;&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div&gt;Sudhir&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;br /&gt;
&lt;div&gt;&amp;nbsp;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/5299050221157624391-178040060359561791?l=sql-sudhir.blogspot.com' alt='' /&gt;&lt;/div&gt;
&lt;p&gt;&lt;a href="http://feedads.g.doubleclick.net/~a/ILq9sHRT18TfSI87j18FkXFytjI/0/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ILq9sHRT18TfSI87j18FkXFytjI/0/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;br/&gt;
&lt;a href="http://feedads.g.doubleclick.net/~a/ILq9sHRT18TfSI87j18FkXFytjI/1/da"&gt;&lt;img src="http://feedads.g.doubleclick.net/~a/ILq9sHRT18TfSI87j18FkXFytjI/1/di" border="0" ismap="true"&gt;&lt;/img&gt;&lt;/a&gt;&lt;/p&gt;&lt;img src="http://feeds.feedburner.com/~r/SudhirsSqlServerBlog/~4/z9s1tNf2iew" height="1" width="1"/&gt;</content><link rel="replies" type="application/atom+xml" href="http://sql-sudhir.blogspot.com/feeds/178040060359561791/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://www.blogger.com/comment.g?blogID=5299050221157624391&amp;postID=178040060359561791&amp;isPopup=true" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/178040060359561791?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/5299050221157624391/posts/default/178040060359561791?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/SudhirsSqlServerBlog/~3/z9s1tNf2iew/stairway-to-sql-server-agent-step-1.html" title="Stairway to SQL Server Agent: Step 1: Setup and Overview" /><author><name>Sudhir Chawla</name><uri>http://www.blogger.com/profile/14469801380794481741</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="24" src="http://1.bp.blogspot.com/_6DMLGhClRfQ/SlM1jJxjcbI/AAAAAAAAA-g/bIvRt-k1PB0/S220/DSC00035.JPG" /></author><thr:total>0</thr:total><feedburner:origLink>http://sql-sudhir.blogspot.com/2011/03/stairway-to-sql-server-agent-step-1.html</feedburner:origLink></entry></feed>

