{"id":2134,"date":"2014-01-26T12:31:16","date_gmt":"2014-01-26T07:01:16","guid":{"rendered":"http:\/\/sqlhints.com\/?page_id=2134"},"modified":"2016-04-01T01:55:20","modified_gmt":"2016-03-31T20:25:20","slug":"tutorialsqlserver","status":"publish","type":"page","link":"https:\/\/sqlhints.com\/tutorialsqlserver\/","title":{"rendered":"Sql Server Tutorial"},"content":{"rendered":"<h1>Introduction<\/h1>\n<p style=\"text-align: justify;\">Welcome to Sqlhints.com\u2019s Sql Server Tutorial. This Tutorial consists of list of lessons suited for newbee to intermediate programmers or anyone who would like to gain familiarity with the Sql Server Development and Administration. These lessons will help you get a quick head-start with Sql Server. The lessons are designed in such way that theory is explained by means of examples instead of writing long story.<\/p>\n<p style=\"text-align: justify;\">This Tutorial is work in progress, will be adding Tutorials periodically and update the existing lessons based on the feedback from the community. Do visit us back regularly and spread a word about this Tutorial to the community if you really learnt something new and like us on Facebook page <a href=\"https:\/\/www.facebook.com\/sqlhints\">Sqlhints<\/a>.<\/p>\n<p style=\"text-align: justify;\">I hope you all will enjoy this Tutorial, happy learning and best of luck!<\/p>\n<h2>Lists of Lessons which will be covered in this Tutorial<\/h2>\n<table>\n<tbody>\n<tr>\n<td style=\"width: 18%;\"><strong>Lesson 1:<\/strong><\/td>\n<td><a title=\"Variables and Data Types in Sql Server\" href=\"https:\/\/sqlhints.com\/2014\/01\/26\/variables-and-data-types-in-sql-server\/\">Variables and Data Types<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 2:<\/strong><\/td>\n<td><a title=\"Working with Databases in Sql Server\" href=\"https:\/\/sqlhints.com\/2014\/01\/26\/working-with-databases-in-sql-server\/\" target=\"_blank\">Working with Databases<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 3:<\/strong><\/td>\n<td><a title=\"Working with Tables in Sql Server\" href=\"https:\/\/sqlhints.com\/2014\/01\/27\/working-with-tables-in-sql-server\/\" target=\"_blank\">Working with Tables<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 4:<\/strong><\/td>\n<td><a title=\"Difference Between Primary Key and Unique Key In Sql Server\" href=\"https:\/\/sqlhints.com\/2013\/06\/02\/difference-between-primary-key-and-unique-key-in-sql-server\/\">Constraints &#8211; PRIMARY KEY, UNIQUE KEY, FOREIGN KEY, CHECK, and DEFAULT<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 5:<\/strong><\/td>\n<td><a title=\"Querying Data Using SELECT In Sql Server\" href=\"https:\/\/sqlhints.com\/2014\/02\/08\/querying-data-using-select-in-sql-server\/\" target=\"_blank\">Querying Data Using SELECT<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 6:<\/strong><\/td>\n<td><a title=\"Joins \u2013 INNER JOIN, LEFT OUTER JOIN, RIGHT OUTER JOIN, FULL OUTER JOIN,CROSS JOIN &amp; SELF JOIN In Sql Server\" href=\"https:\/\/sqlhints.com\/2014\/02\/01\/joins-in-sql-server\/\" target=\"_blank\">Joins \u2013 INNER JOIN, LEFT OUTER JOIN, RIGHT OUTER JOIN, FULL OUTER JOIN,CROSS JOIN &amp; SELF JOIN<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 7:<\/strong><\/td>\n<td><a title=\"UNION AND UNION ALL Operator\" href=\"https:\/\/sqlhints.com\/2011\/09\/04\/union-and-union-all-operator\/\">UNION AND UNION ALL<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 8:<\/strong><\/td>\n<td><a href=\"https:\/\/sqlhints.com\/2015\/06\/21\/while-loop-in-sql-server\/\" target=\"_blank\">Looping constructs in Sql Server<\/a><\/p>\n<ul>\n<li><a href=\"https:\/\/sqlhints.com\/2015\/06\/21\/while-loop-in-sql-server\/\" target=\"_blank\">WHILE loop in Sql Server<\/a><\/li>\n<li><a href=\"https:\/\/sqlhints.com\/2015\/06\/21\/looping-through-table-records-in-sql-server\/\" target=\"_blank\">Looping through table records in Sql Server<\/a><\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 9:<\/strong><\/td>\n<td>DML Statements &#8211; INSERT, UPDATE, and DELETE Statements<\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 10:<\/strong><\/td>\n<td><a title=\"Stored Procedure\" href=\"https:\/\/sqlhints.com\/2011\/08\/14\/stored-procedure\/\">Stored Procedures<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 11:<\/strong><\/td>\n<td><a title=\"User-Defined Functions\" href=\"https:\/\/sqlhints.com\/2011\/08\/14\/user-defined-functions\/\">User Defined Functions<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 12:<\/strong><\/td>\n<td><a title=\"Views in Sql Server\" href=\"https:\/\/sqlhints.com\/2011\/08\/20\/views-in-sql-server\/\">Views<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 13:<\/strong><\/td>\n<td><a href=\"https:\/\/sqlhints.com\/2016\/03\/09\/triggers-in-sql-server\/\">Triggers<\/a><\/p>\n<ul>\n<li><a href=\"https:\/\/sqlhints.com\/2016\/03\/09\/data-manipulation-language-dml-triggers-in-sql-server\/\" target=\"_blank\">Data Manipulation Language (DML) Triggers<\/a><\/li>\n<li><a href=\"https:\/\/sqlhints.com\/2016\/03\/09\/data-definition-language-ddl-triggers-in-sql-server\/\" target=\"_blank\">Data Definition Language (DDL) Triggers<\/a><\/li>\n<li><a href=\"https:\/\/sqlhints.com\/2016\/03\/09\/logon-triggers-in-sql-server\/\" target=\"_blank\">LOGON Triggers<\/a><\/li>\n<\/ul>\n<\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 14:<\/strong><\/td>\n<td>Indexes<\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 15:<\/strong><\/td>\n<td>Transactions<\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 16:<\/strong><\/td>\n<td><a title=\"Exception Handling in Sql Server\" href=\"https:\/\/sqlhints.com\/2014\/01\/20\/exception-handling-in-sql-server\/\" target=\"_blank\">Exception Handling<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 17:<\/strong><\/td>\n<td><a title=\"Difference Between Temporary Table and Table Variable \u2013 Part 1\" href=\"https:\/\/sqlhints.com\/2014\/02\/10\/difference-between-temporary-table-and-table-variable-part-1\/\" target=\"_blank\">Table Variable and Temporary Tables<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 18:<\/strong><\/td>\n<td>BackUp And Restore<\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 19:<\/strong><\/td>\n<td>Import and Export<\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 20:<\/strong><\/td>\n<td>Security in Sql Server<\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 21:<\/strong><\/td>\n<td><a title=\"New Features in Sql Server 2008\" href=\"https:\/\/sqlhints.com\/2011\/09\/11\/new-features-in-sql-server-2008\/\">New Features in Sql Server 2008<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 22:<\/strong><\/td>\n<td><a title=\"New Features in Sql Server 2012\" href=\"https:\/\/sqlhints.com\/2013\/07\/07\/new-features-in-sql-server-2012\/\">New Features in Sql Server 2012<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 23:<\/strong><\/td>\n<td><a title=\"Sql Server 2014\" href=\"https:\/\/sqlhints.com\/sql-server-2014\/\">New Features in Sql Server 2014<\/a><\/td>\n<\/tr>\n<tr>\n<td><strong>Lesson 24:<\/strong><\/td>\n<td><a title=\"Sql Server 2014\" href=\"https:\/\/sqlhints.com\/sql-server-2016\/\">New Features in Sql Server 2016<\/a><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n<h1>Background for this Sql Server Tutorial:<\/h1>\n<p style=\"text-align: justify;\">In 2011 my wife joined as a Technical Trainer in one of the Leading Chain of Institute in Bangalore as .Net Technical Trainer. But just into her third\/fourth week of Job, she has been requested to give training to the Students who joined for Sql Server Development and Administration Courses. She called me up and asked what should I do as She was not knowing much about Sql Server, then I told her don\u2019t worry I will train you go-ahead and agree for giving the Sql Server Training.<\/p>\n<p style=\"text-align: justify;\">As usual googled and tried for multiple sites and could not find one site which covers all the Sql Server features in Tutorial format from Basic to Advance. For each topic needed to hop between different sitres. So I have decided to put my Sql Server 10 year experience prepare myself the lessons with Sql Script on daily basis after my office hours. Every day I use to prepare the Script files which was having little theory in it and trained her the same night and next day morning same lesson she use to explain to the students. And the outcome was students were very impressed with her presentation and the examples which she use to demo in very easy to understand way. And in her carrier as a Technical Trainer spanning 8 months she successfully completed 9 Sql Server batches.<\/p>\n<p style=\"text-align: justify;\">And sometime at the end of 2011 I gave the same script to one of my friend who wanted to learn Sql Server. The result was he became fluent in Sql Server just by going through the Script files which I have prepared for training my wife.<\/p>\n<p style=\"text-align: justify;\">And recently on 11th Jan, 2014 post my Presentation at the Microsoft Office on \u201cException Handling In Sql Server\u201d got amazing Feedback. Some of the messages posted in the Facebook SQLBangalore user group were \u201cThanks Basavaraj Biradar! Your session was divine!\u201d , \u201cThanks Basavaraj for your excellent session\u201d and so on. And many of the community members asked me to share the script which I have prepared and one of them specifically asked my advice on which site he as to refer to learn the Sql Server from basic to advance, then I told him I am not sure about one site but you need to hop around multiple sites.<\/p>\n<p style=\"text-align: justify;\">The above incidents made me to share the Sql Server Tutorials which I have prepared for my wife to the Community and make more and more peoples learn Sql Server without much effort. As the Tutorials which I have prepared for my wife were in RAW format and it was not having the Sql Server 2012 and 2014 features in it. Some of the tutorials I have already published but need to organize them in the format of a Tutorial. So as and when I am done with updates to a particular Tutorial I will publish it. So it will be a continuous journey, need all your feedback and support to accomplish this dream project.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Introduction Welcome to Sqlhints.com\u2019s Sql Server Tutorial. This Tutorial consists of list of lessons suited for newbee to intermediate programmers or anyone who would like to gain familiarity with the Sql Server Development and Administration. These lessons will help you get a quick head-start with Sql Server. The lessons are designed in such way that &hellip; <a href=\"https:\/\/sqlhints.com\/tutorialsqlserver\/\" class=\"more-link\">Continue reading <span class=\"screen-reader-text\">Sql Server Tutorial<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"open","template":"","meta":{"jetpack_post_was_ever_published":false,"footnotes":""},"class_list":["post-2134","page","type-page","status-publish","hentry"],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/P3xNAz-yq","_links":{"self":[{"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/pages\/2134","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/comments?post=2134"}],"version-history":[{"count":20,"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/pages\/2134\/revisions"}],"predecessor-version":[{"id":2205,"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/pages\/2134\/revisions\/2205"}],"wp:attachment":[{"href":"https:\/\/sqlhints.com\/wp-json\/wp\/v2\/media?parent=2134"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}