<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2307246081599859801</id><updated>2024-08-28T22:58:16.923-07:00</updated><title type='text'>SQL Debate or Discussion</title><subtitle type='html'>SQL DEBATE is a  Discussion Forum for spreading knowledge on SQL &#xa;by using various Query , Procedure or Function of SQL.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://sqldebate.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://sqldebate.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>dilip0165</name><uri>http://www.blogger.com/profile/02441643113404959319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg32bjOLGx-yj4ylQ2rUF-7i9nQ2xQHFTYotmVh66UK7Gj7tUdmINofzD9tyQydOgDqQtDoF3giumZS28FHvJWqsAcnOdxazqpEkfeToCLIZnEEuz5lBvUwO1Il8b8VyMg/s220/sql-logo.png'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>11</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2307246081599859801.post-8212294327281944578</id><published>2012-02-03T02:39:00.000-08:00</published><updated>2013-05-02T12:31:43.794-07:00</updated><title type='text'>Difference between drop and truncate in sql server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hi friends here i will explain the difference between &lt;b&gt;Drop and Truncate&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;A&lt;/b&gt;s we have seen in the last post about the difference between Truncate and Delete today we will seen the Difference between &lt;b&gt;Drop and Truncate visually&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
Let&#39;s see we have the table with the following data as given below&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinhLd6-SCP8fxMv5RhkKeWEOg4N6N9tD_6wEVxGwAezdRIFevAa8KKSgKXLyUeCQR8YX0fNKOsscBsDZYrfv8wYueHbfj72LafueI5RoPbyaxQp2gyvcNsDaHk0ECCk638Zq0RKL6DUOWW/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;316&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinhLd6-SCP8fxMv5RhkKeWEOg4N6N9tD_6wEVxGwAezdRIFevAa8KKSgKXLyUeCQR8YX0fNKOsscBsDZYrfv8wYueHbfj72LafueI5RoPbyaxQp2gyvcNsDaHk0ECCk638Zq0RKL6DUOWW/s640/Untitled.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
now suppose if we perform truncate operation on it all the Records will be remove from it. as you can see it from givenn slide&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIJYUscA86FvxZSo2JfKEu6Wa4kNi-gowb0s6EkaJgrrv3GxWztML0v-t5xmiOH0BjozQLJA2rJHmoHNSOZdb5zkc5DWylEi6RsQbFRWS9bVDXawtJfwO9a84hg60DO861yf3Tu08oAvQv/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;215&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiIJYUscA86FvxZSo2JfKEu6Wa4kNi-gowb0s6EkaJgrrv3GxWztML0v-t5xmiOH0BjozQLJA2rJHmoHNSOZdb5zkc5DWylEi6RsQbFRWS9bVDXawtJfwO9a84hg60DO861yf3Tu08oAvQv/s400/Untitled.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
Above you can see all the data will be deleted from the table but all the columns will be as it is.
&lt;br /&gt;
&lt;br /&gt;
Now if you use Drop Query then whole the table will be deleted&lt;br /&gt;
let&#39;s see the example below&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCQeO3nKypkK362Y9VvlTlHavJ6STf_1XB4xhTt6YmDdFXUm-nu5S7LY9ik0pkM-PkLcMxiFHiuP4nv4kxFaiiAlT5ynQlRsOHak-uMTiJ28n7sPJ_GP88QbwYNhkahrCI8VqLIaRYWbdQ/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;307&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiCQeO3nKypkK362Y9VvlTlHavJ6STf_1XB4xhTt6YmDdFXUm-nu5S7LY9ik0pkM-PkLcMxiFHiuP4nv4kxFaiiAlT5ynQlRsOHak-uMTiJ28n7sPJ_GP88QbwYNhkahrCI8VqLIaRYWbdQ/s400/Untitled.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
so now as given above if u try &amp;nbsp;select query you have the above errors because table is not exists.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;so we have conclusion is that&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/b&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Trebuchet MS&#39;, Verdana; line-height: 17px; text-align: -webkit-auto;&quot;&gt;Drop - deletes the data as well as structure&lt;/span&gt;&lt;br style=&quot;background-color: white; font-family: Arial, &#39;Trebuchet MS&#39;, Verdana; line-height: 17px; text-align: -webkit-auto;&quot; /&gt;&lt;span style=&quot;background-color: white; font-family: Arial, &#39;Trebuchet MS&#39;, Verdana; line-height: 17px; text-align: -webkit-auto;&quot;&gt;Truncate - deletes only the data, and resets the auto increment column to 0&lt;/span&gt;&lt;/span&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sqldebate.blogspot.com/feeds/8212294327281944578/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqldebate.blogspot.com/2012/02/difference-between-drop-and-truncate-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/8212294327281944578'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/8212294327281944578'/><link rel='alternate' type='text/html' href='http://sqldebate.blogspot.com/2012/02/difference-between-drop-and-truncate-in.html' title='Difference between drop and truncate in sql server'/><author><name>dilip0165</name><uri>http://www.blogger.com/profile/02441643113404959319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg32bjOLGx-yj4ylQ2rUF-7i9nQ2xQHFTYotmVh66UK7Gj7tUdmINofzD9tyQydOgDqQtDoF3giumZS28FHvJWqsAcnOdxazqpEkfeToCLIZnEEuz5lBvUwO1Il8b8VyMg/s220/sql-logo.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEinhLd6-SCP8fxMv5RhkKeWEOg4N6N9tD_6wEVxGwAezdRIFevAa8KKSgKXLyUeCQR8YX0fNKOsscBsDZYrfv8wYueHbfj72LafueI5RoPbyaxQp2gyvcNsDaHk0ECCk638Zq0RKL6DUOWW/s72-c/Untitled.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2307246081599859801.post-1870381320282021732</id><published>2012-02-01T05:32:00.000-08:00</published><updated>2012-02-01T05:32:45.671-08:00</updated><title type='text'>Diffrence between Stored Procedure and User Define Function in SQL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;strong style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif;&quot;&gt;&lt;span style=&quot;line-height: 18px;&quot;&gt;These are the main&amp;nbsp;difference&amp;nbsp;between Stored Procedure and User Define Function&lt;/span&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: large;&quot;&gt;Functions&amp;nbsp;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;strong style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: large;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;-can be used with Select statement&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;-Not returning output parameter but returns Table variables&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;-You can join UDF&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;-Can not be used to change server configuration&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;-Can not be used with XML FOR clause&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;-Can not have transaction within function&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;strong style=&quot;background-color: white; border-bottom-width: 0px; border-color: initial; border-image: initial; border-left-width: 0px; border-right-width: 0px; border-style: initial; border-top-width: 0px; line-height: 18px; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px; text-align: -webkit-auto;&quot;&gt;&lt;span style=&quot;font-family: Georgia, &#39;Times New Roman&#39;, serif; font-size: large;&quot;&gt;Stored Procedure&lt;/span&gt;&lt;/strong&gt;&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;b&gt;&lt;span style=&quot;background-color: white; line-height: 18px; text-align: -webkit-auto;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;have to use EXEC or EXECUTE&lt;/span&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;-return output parameter&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;-can create table but won’t return Table Variables&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;-you can not join SP&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;-can be used to change server configuration&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;-can be used with XML FOR Clause&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;b&gt;-can have transaction within SP&lt;/b&gt;&lt;/span&gt;&lt;span style=&quot;background-color: white; font-family: &#39;Helvetica Neue&#39;, Arial, sans-serif; font-size: 12px; line-height: 20px; text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br class=&quot;Apple-interchange-newline&quot; /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqldebate.blogspot.com/feeds/1870381320282021732/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqldebate.blogspot.com/2012/02/diffrence-between-stored-procedure-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/1870381320282021732'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/1870381320282021732'/><link rel='alternate' type='text/html' href='http://sqldebate.blogspot.com/2012/02/diffrence-between-stored-procedure-and.html' title='Diffrence between Stored Procedure and User Define Function in SQL'/><author><name>dilip0165</name><uri>http://www.blogger.com/profile/02441643113404959319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg32bjOLGx-yj4ylQ2rUF-7i9nQ2xQHFTYotmVh66UK7Gj7tUdmINofzD9tyQydOgDqQtDoF3giumZS28FHvJWqsAcnOdxazqpEkfeToCLIZnEEuz5lBvUwO1Il8b8VyMg/s220/sql-logo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2307246081599859801.post-4583694541632297590</id><published>2012-01-31T11:32:00.000-08:00</published><updated>2012-02-01T02:15:46.196-08:00</updated><title type='text'>Difference between Truncate and Delete in SQL</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Here we will see the first practical example&lt;br /&gt;
&lt;br /&gt;
Suppose we have following table named as&lt;b&gt; tbl_Countries&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDZyLVTllT1Ua90Druy8M30xMOgWdKzBd2d89XR7SH1klkLhjqR7RW5BtClo8sbQqns-sPEAMVUj-vw5izio9x07S-pOOglUNEec-iWibGlDQvSxxoFYbf6gnQCEKeHs2YrxnGd1oxZidZ/s1600/sql.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;563&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDZyLVTllT1Ua90Druy8M30xMOgWdKzBd2d89XR7SH1klkLhjqR7RW5BtClo8sbQqns-sPEAMVUj-vw5izio9x07S-pOOglUNEec-iWibGlDQvSxxoFYbf6gnQCEKeHs2YrxnGd1oxZidZ/s640/sql.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;b&gt;Now we will use the delete operation on given table&lt;/b&gt; &lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
if&lt;b&gt;&amp;nbsp;&lt;/b&gt;we want delete specific record in table we have to use the &lt;b&gt;Delete&lt;/b&gt; operations&lt;br /&gt;
with where clause&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJgba5gcwW3NSIj-j3iA4tTZZsk-j8jpDmcCXyfEMWGDJ6fua1-Yqe7sB8VaGPesYLobeFOZZm-jDdecguHEr1IjZGRJatKQioC984Wxu0tVvauu3saNhLHxMibUqDRUfcnKfZN0HDSYn5/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;640&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhJgba5gcwW3NSIj-j3iA4tTZZsk-j8jpDmcCXyfEMWGDJ6fua1-Yqe7sB8VaGPesYLobeFOZZm-jDdecguHEr1IjZGRJatKQioC984Wxu0tVvauu3saNhLHxMibUqDRUfcnKfZN0HDSYn5/s640/Untitled.png&quot; width=&quot;612&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
so as you have seen in above table you can delete specific row using Delete Operations&lt;br /&gt;
&lt;br /&gt;
&amp;nbsp;if you want to delete all &amp;nbsp;records of the table just use the &lt;b&gt;Truncate &lt;/b&gt;operation on your table.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3uOi-voQwlu89fmnUHxAfstXgtmAuvQ6PJlBDaScu-5Soei0rr9h3B7zPxzGHsjgh_ta74k8_syTCIENDeqx9g0gYCvUF8SMZ5H8JSGY5WEP9GWKR4z-RZk0F4gwvd3jFEriwfNJYTMFZ/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;402&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh3uOi-voQwlu89fmnUHxAfstXgtmAuvQ6PJlBDaScu-5Soei0rr9h3B7zPxzGHsjgh_ta74k8_syTCIENDeqx9g0gYCvUF8SMZ5H8JSGY5WEP9GWKR4z-RZk0F4gwvd3jFEriwfNJYTMFZ/s640/Untitled.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
so from the above example you can understand the clear difference between&lt;b&gt; Truncate and Delete&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;b&gt;Difference between delete and truncate&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;-Delete&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;Can not be rolled back.&lt;br /&gt;
&amp;nbsp;DML command.&lt;br /&gt;
&amp;nbsp;Does not reset identity of table.&lt;br /&gt;
&amp;nbsp;It cannot activates trigger.
 mention transaction log of deleted rows.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;- Truncate&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;/b&gt;Can be rolled back.
  DDL Command
reset identity of table.&lt;br /&gt;
&amp;nbsp;Activates trigger.&lt;br /&gt;
&amp;nbsp;Does not mention transaction log.&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqldebate.blogspot.com/feeds/4583694541632297590/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqldebate.blogspot.com/2012/01/difference-between-truncate-and-delete.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/4583694541632297590'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/4583694541632297590'/><link rel='alternate' type='text/html' href='http://sqldebate.blogspot.com/2012/01/difference-between-truncate-and-delete.html' title='Difference between Truncate and Delete in SQL'/><author><name>dilip0165</name><uri>http://www.blogger.com/profile/02441643113404959319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg32bjOLGx-yj4ylQ2rUF-7i9nQ2xQHFTYotmVh66UK7Gj7tUdmINofzD9tyQydOgDqQtDoF3giumZS28FHvJWqsAcnOdxazqpEkfeToCLIZnEEuz5lBvUwO1Il8b8VyMg/s220/sql-logo.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgDZyLVTllT1Ua90Druy8M30xMOgWdKzBd2d89XR7SH1klkLhjqR7RW5BtClo8sbQqns-sPEAMVUj-vw5izio9x07S-pOOglUNEec-iWibGlDQvSxxoFYbf6gnQCEKeHs2YrxnGd1oxZidZ/s72-c/sql.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2307246081599859801.post-5014604655731836657</id><published>2012-01-31T03:04:00.000-08:00</published><updated>2012-01-31T03:04:40.392-08:00</updated><title type='text'>how to create dynamic page using ms sql procedure</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Hello Friends ,&lt;br /&gt;
&lt;br /&gt;
This post is &amp;nbsp;about how to create dynamic page using procedure in asp.net using MS sql procedure .&lt;br /&gt;
&lt;br /&gt;
for that first create the simple .aspx page named as &lt;b&gt;create-dynamic-page.aspx&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
its content would be like below image&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgneZHEulY4aRcQbDpMDbdhcOMse0Hx0PH5wa2fQIR8VcmJKQwzTdqufaqPOhrM2x8gSY9JDMiWvWQwlXd5fGyi7DWCEGyuFkw9_nKlDSDRXY5OIGWKdqGpgy6dEB2zIj3rRAFPPA9cSItf/s1600/Untitled.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;192&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgneZHEulY4aRcQbDpMDbdhcOMse0Hx0PH5wa2fQIR8VcmJKQwzTdqufaqPOhrM2x8gSY9JDMiWvWQwlXd5fGyi7DWCEGyuFkw9_nKlDSDRXY5OIGWKdqGpgy6dEB2zIj3rRAFPPA9cSItf/s640/Untitled.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
now write down the inline code or page behind code in your page.&lt;br /&gt;
your code behind page that is &lt;b&gt;create-dynamic-page.aspx.vb&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
Let&#39;s create one procedure for dynamic page that is very simple&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;-- exec prc_GetDynamicPageContent &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;-- drop proc &amp;nbsp;prc_GetDynamicPageContent &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;create &amp;nbsp;proc [dbo].[prc_GetDynamicPageContent] &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;as &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;begin &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp;select &#39;&amp;lt;%@ Page Language=&quot;vb&quot; AutoEventWireup=&quot;false&quot; CodeBehind=&quot;create-dynamic-page.aspx.vb&quot; Inherits=&quot;default.create_dynamic_page&quot; %&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD XHTML 1.0 Transitional//EN&quot; &quot;http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot; &amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;head runat=&quot;server&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;title&amp;gt;Untitled Page&amp;lt;/title&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;/head&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;body&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;form id=&quot;form1&quot; runat=&quot;server&quot;&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;div&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/div&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/form&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;/body&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;lt;/html&amp;gt;&#39;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;end &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
HERE using above procedure it will create dynamic page each time in your code and will use&lt;br /&gt;
&lt;b&gt;create-dynamic-page.aspx.vb&lt;/b&gt; as code behind so wite down your code in that file.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqldebate.blogspot.com/feeds/5014604655731836657/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqldebate.blogspot.com/2012/01/how-to-create-dynamic-page-using-ms-sql.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/5014604655731836657'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/5014604655731836657'/><link rel='alternate' type='text/html' href='http://sqldebate.blogspot.com/2012/01/how-to-create-dynamic-page-using-ms-sql.html' title='how to create dynamic page using ms sql procedure'/><author><name>dilip0165</name><uri>http://www.blogger.com/profile/02441643113404959319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg32bjOLGx-yj4ylQ2rUF-7i9nQ2xQHFTYotmVh66UK7Gj7tUdmINofzD9tyQydOgDqQtDoF3giumZS28FHvJWqsAcnOdxazqpEkfeToCLIZnEEuz5lBvUwO1Il8b8VyMg/s220/sql-logo.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgneZHEulY4aRcQbDpMDbdhcOMse0Hx0PH5wa2fQIR8VcmJKQwzTdqufaqPOhrM2x8gSY9JDMiWvWQwlXd5fGyi7DWCEGyuFkw9_nKlDSDRXY5OIGWKdqGpgy6dEB2zIj3rRAFPPA9cSItf/s72-c/Untitled.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2307246081599859801.post-7168269876292643260</id><published>2012-01-30T21:27:00.000-08:00</published><updated>2014-05-05T19:24:44.351-07:00</updated><title type='text'>Procedure or function expects parameter &#39; which is not supplied</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
This post discuss in details at&amp;nbsp;&lt;a href=&quot;http://www.datahaunting.com/sqlserver2012/procedure-or-function-expects-parameter-which-was-not-supplied/&quot;&gt;DataHaunting&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Hi many of us &amp;nbsp;facing this type of problem when wroking SQL Server .&lt;br /&gt;
&lt;br /&gt;
let me&amp;nbsp;illustrate the example if you are working with the SQL Server&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
in the given example if you execute the procedure it will show the error as given below because here&lt;br /&gt;
we need the pass the parameter &amp;nbsp;as &lt;b&gt;&#39;@name&#39;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_C1CJ01NdRRegkbAyjpgYce4Jnb0v7Zt-5xDSnObPazdQQNxLUr8vvmSAdbhEiziTjCGPHzMDBKY0pMebcf0JDVs8sHO465xU8yuuzER-KloRWRy4OfjdAMI31_VJ9VlM0O0OmpvqbrZV/s1600/sql1.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_C1CJ01NdRRegkbAyjpgYce4Jnb0v7Zt-5xDSnObPazdQQNxLUr8vvmSAdbhEiziTjCGPHzMDBKY0pMebcf0JDVs8sHO465xU8yuuzER-KloRWRy4OfjdAMI31_VJ9VlM0O0OmpvqbrZV/s640/sql1.png&quot; height=&quot;440&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
now if you are passing the parameter as &lt;b&gt;&#39;dilip0165&#39; &lt;/b&gt;your query will be execute successfully .&lt;br /&gt;
&lt;br /&gt;
if you have need &amp;nbsp;number of arguments to insert into table &amp;nbsp;then you have to pass the number of&lt;br /&gt;
parameter as here we have passed .&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu0a7YLKRIkR5qcFcYGCC2c81S1K5hyphenhyphenus_jBcq3q9JX54eHM9rBsw641TGS4vw52TkaSbiUoQYfCjzE76zUXbPgP0teCZvi5U9ULxx4MPdvg1m5zv0FP2L7rHfGRtcMy0ezf8FXRhjWZdW/s1600/sql.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiu0a7YLKRIkR5qcFcYGCC2c81S1K5hyphenhyphenus_jBcq3q9JX54eHM9rBsw641TGS4vw52TkaSbiUoQYfCjzE76zUXbPgP0teCZvi5U9ULxx4MPdvg1m5zv0FP2L7rHfGRtcMy0ezf8FXRhjWZdW/s640/sql.png&quot; height=&quot;640&quot; width=&quot;572&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sqldebate.blogspot.com/feeds/7168269876292643260/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqldebate.blogspot.com/2012/01/procedure-or-function-expects-parameter.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/7168269876292643260'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/7168269876292643260'/><link rel='alternate' type='text/html' href='http://sqldebate.blogspot.com/2012/01/procedure-or-function-expects-parameter.html' title='Procedure or function expects parameter &#39; which is not supplied'/><author><name>dilip0165</name><uri>http://www.blogger.com/profile/02441643113404959319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg32bjOLGx-yj4ylQ2rUF-7i9nQ2xQHFTYotmVh66UK7Gj7tUdmINofzD9tyQydOgDqQtDoF3giumZS28FHvJWqsAcnOdxazqpEkfeToCLIZnEEuz5lBvUwO1Il8b8VyMg/s220/sql-logo.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh_C1CJ01NdRRegkbAyjpgYce4Jnb0v7Zt-5xDSnObPazdQQNxLUr8vvmSAdbhEiziTjCGPHzMDBKY0pMebcf0JDVs8sHO465xU8yuuzER-KloRWRy4OfjdAMI31_VJ9VlM0O0OmpvqbrZV/s72-c/sql1.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2307246081599859801.post-2105584711639779488</id><published>2012-01-24T22:57:00.000-08:00</published><updated>2014-05-05T19:23:41.357-07:00</updated><title type='text'>How to find table which used in many  procedures in DataBase using Procedure</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;This post discuss in details at&amp;nbsp;&lt;a href=&quot;http://www.datahaunting.com/sqlserver2012/how-to-find-table-which-is-used-in-many-procedures-in-sql-server/&quot;&gt;DataHaunting&lt;/a&gt;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;
&lt;b&gt;We Many times want to find the table which used in various procedure&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
Here I have Created simple procedure to find in which Procedure it is used&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;CREATE PROCEDURE [dbo].[prc_Search] &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;@StringToSearch varchar(100) &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;AS &amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&amp;nbsp; &amp;nbsp;SET @StringToSearch = &#39;%&#39; +@StringToSearch + &#39;%&#39; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&amp;nbsp; &amp;nbsp;SELECT Distinct SO.Name &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&amp;nbsp; &amp;nbsp;FROM sysobjects SO (NOLOCK) &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&amp;nbsp; &amp;nbsp;INNER JOIN syscomments SC (NOLOCK) on SO.Id = SC.ID &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&amp;nbsp; &amp;nbsp;AND SO.Type = &#39;P&#39; &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&amp;nbsp; &amp;nbsp;AND SC.Text LIKE @stringtosearch &amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&amp;nbsp; &amp;nbsp;ORDER BY SO.Name &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
create above procedure in your Database&lt;br /&gt;
&lt;br /&gt;
Now when you want find your table is used in which procedure simply Execute&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&amp;nbsp;&amp;nbsp;&lt;/span&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;prc_Search&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: magenta;&quot;&gt;&#39;tbl_AdminUsers&#39;&lt;/span&gt;
&lt;br /&gt;
as given below slide you can see the number of procedure in which your procedure is used&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMQ0eL62kqNDcVPqjdiPVjj0BYvpFneKHFvEubKcdDJCyIqgPe9a8i8d8Rp7Dl_3WR7YhsWL3og7WoQvuXy68bvMPQAv3oqo2K0KXXrLYB3CuvLaj14INxlh2UvB-8hmZHX-i4Ni_0JjtD/s1600/sql.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMQ0eL62kqNDcVPqjdiPVjj0BYvpFneKHFvEubKcdDJCyIqgPe9a8i8d8Rp7Dl_3WR7YhsWL3og7WoQvuXy68bvMPQAv3oqo2K0KXXrLYB3CuvLaj14INxlh2UvB-8hmZHX-i4Ni_0JjtD/s400/sql.png&quot; height=&quot;358&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://sqldebate.blogspot.com/feeds/2105584711639779488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqldebate.blogspot.com/2012/01/how-to-find-table-used-in-how-many-proc.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/2105584711639779488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/2105584711639779488'/><link rel='alternate' type='text/html' href='http://sqldebate.blogspot.com/2012/01/how-to-find-table-used-in-how-many-proc.html' title='How to find table which used in many  procedures in DataBase using Procedure'/><author><name>dilip0165</name><uri>http://www.blogger.com/profile/02441643113404959319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg32bjOLGx-yj4ylQ2rUF-7i9nQ2xQHFTYotmVh66UK7Gj7tUdmINofzD9tyQydOgDqQtDoF3giumZS28FHvJWqsAcnOdxazqpEkfeToCLIZnEEuz5lBvUwO1Il8b8VyMg/s220/sql-logo.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjMQ0eL62kqNDcVPqjdiPVjj0BYvpFneKHFvEubKcdDJCyIqgPe9a8i8d8Rp7Dl_3WR7YhsWL3og7WoQvuXy68bvMPQAv3oqo2K0KXXrLYB3CuvLaj14INxlh2UvB-8hmZHX-i4Ni_0JjtD/s72-c/sql.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2307246081599859801.post-245989187459609035</id><published>2012-01-24T21:28:00.000-08:00</published><updated>2012-01-24T22:13:29.566-08:00</updated><title type='text'>How To Create Table in SQL Server</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
There are various way we can create table in SQL Server But Here I will Discuss the convenient way to make the Data Table on SQL Server .&lt;br /&gt;
&lt;br /&gt;
Here I will make the Table On SQL Server 2008 with snapshot so which is easy to understand.&lt;br /&gt;
&lt;br /&gt;
As we have seen in last post that how to create Database using Server Explorer .&lt;br /&gt;
&lt;a href=&quot;http://sqldebate.blogspot.com/2012/01/how-to-connect-sql-server-with-visual.html&quot;&gt;&lt;span style=&quot;color: magenta;&quot;&gt;http://sqldebate.blogspot.com/2012/01/how-to-connect-sql-server-with-visual.html&lt;/span&gt;&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
Today we will see how to create the Table with SQL various functionality .&lt;br /&gt;
&lt;br /&gt;
in the give example we have created New Table Named as &quot;db_test&quot;&lt;br /&gt;
&lt;br /&gt;
Now to create the table right click ont the table you will see &quot;New Table&quot; option click on it.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1b949J_xwOYLyXGheB-Qk3WpbUfFG6xX3kL6GW8qD2T7zRlXnML15mkSrqHfasvhPUSPxlM0tMmcNx-giAUuEmWztPhM7pBXGt5eqws3VEeNUSxv7jRdsrCzQkj3xRrA3ogFttPwaukqp/s1600/sql.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1b949J_xwOYLyXGheB-Qk3WpbUfFG6xX3kL6GW8qD2T7zRlXnML15mkSrqHfasvhPUSPxlM0tMmcNx-giAUuEmWztPhM7pBXGt5eqws3VEeNUSxv7jRdsrCzQkj3xRrA3ogFttPwaukqp/s640/sql.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Here I have created table without any Primary Key but very useful way to create the table.&lt;br /&gt;
&lt;br /&gt;
Let&#39;s see the Example&amp;nbsp;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSKyBfZr8GG-0C3uZRZ4dyiBNHRyZHbVoTK04yQH9FiiHXwNE8T7PMqRmPiY_WEoI4aP2jnWzkfE4HsynYrJaYMPD4yByqfMP2-4MpQwPB6HVjTQE6e1NOnAY1E8loiuvm-MJEBegoXJVR/s1600/sql.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhSKyBfZr8GG-0C3uZRZ4dyiBNHRyZHbVoTK04yQH9FiiHXwNE8T7PMqRmPiY_WEoI4aP2jnWzkfE4HsynYrJaYMPD4yByqfMP2-4MpQwPB6HVjTQE6e1NOnAY1E8loiuvm-MJEBegoXJVR/s640/sql.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Here we can see the I have Created simple Table with five field .&lt;br /&gt;
let&#39;s see the advantage of this type of Data Table&lt;br /&gt;
&lt;br /&gt;
First I have Created Column &lt;b&gt;&quot;id&quot; &lt;/b&gt;with data type integer here i have unchecked the allow nulls.&lt;br /&gt;
Now look at the column property in that focus on &lt;b&gt;&quot;Identity Specification&quot; &lt;/b&gt;in that double click on is identity you will see column property as given below exmaples.&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvWgrcMFCSAgmJIYFtFmVe6eb-JkxAmc3dE0cRFLyh5SaQKAepvt3IHAoKX5h2oKz7mlxMyxyz9sijiz0SYBEf9VziAJSRWhZ4tA0jYmZRQmcnVdExT49kUkgdcmjSh1u2aokSxxnKLOeS/s1600/sql.png&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;172&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvWgrcMFCSAgmJIYFtFmVe6eb-JkxAmc3dE0cRFLyh5SaQKAepvt3IHAoKX5h2oKz7mlxMyxyz9sijiz0SYBEf9VziAJSRWhZ4tA0jYmZRQmcnVdExT49kUkgdcmjSh1u2aokSxxnKLOeS/s640/sql.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
Here it will show the auto increment when add the column here &lt;b&gt;&quot;Identity Increment &quot; &lt;/b&gt;specify the increment in number and&lt;b&gt; &quot;Identity Seed&quot; &lt;/b&gt;specify that from where to start count for the auto increment .&lt;br /&gt;
&lt;br /&gt;
so by using this simple property you can have new distinct&amp;nbsp;&lt;b&gt;&quot;ID&quot; &lt;/b&gt;number each time when you have create new rows . so no conflict can be generated &amp;nbsp;and &amp;nbsp;your table will work smoothly&amp;nbsp;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqldebate.blogspot.com/feeds/245989187459609035/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqldebate.blogspot.com/2012/01/how-to-create-table-in-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/245989187459609035'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/245989187459609035'/><link rel='alternate' type='text/html' href='http://sqldebate.blogspot.com/2012/01/how-to-create-table-in-sql-server.html' title='How To Create Table in SQL Server'/><author><name>dilip0165</name><uri>http://www.blogger.com/profile/02441643113404959319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg32bjOLGx-yj4ylQ2rUF-7i9nQ2xQHFTYotmVh66UK7Gj7tUdmINofzD9tyQydOgDqQtDoF3giumZS28FHvJWqsAcnOdxazqpEkfeToCLIZnEEuz5lBvUwO1Il8b8VyMg/s220/sql-logo.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj1b949J_xwOYLyXGheB-Qk3WpbUfFG6xX3kL6GW8qD2T7zRlXnML15mkSrqHfasvhPUSPxlM0tMmcNx-giAUuEmWztPhM7pBXGt5eqws3VEeNUSxv7jRdsrCzQkj3xRrA3ogFttPwaukqp/s72-c/sql.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2307246081599859801.post-3278614910823062609</id><published>2012-01-24T06:02:00.001-08:00</published><updated>2012-01-24T06:36:09.913-08:00</updated><title type='text'>SQL SELECT QUERY</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Sql have Several Query for interect with Database.&lt;br /&gt;
&lt;br /&gt;
Select Query is one of the most important Query here we will see the different Uses of Select Query.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;* To simply select the all Datas from Database Table&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&amp;nbsp;select &amp;nbsp;* &amp;nbsp;from table_name&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&amp;nbsp;above statements select all the &amp;nbsp;rows from Data Table.&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;* To count just number of rows(all) &amp;nbsp;from table &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3; color: blue;&quot;&gt;select count(*) from table_name&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3; color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
above query count all the rows from given table&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;* now if you want count distinct rows from table you have to specify distinct word before count key word&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;like&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;background-color: #f3f3f3; color: blue;&quot;&gt;select &amp;nbsp;count( distinct &amp;nbsp;column_name) from table_name&amp;nbsp;&lt;/span&gt;
&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
above query &amp;nbsp;remove duplication from count result .&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;* Use select method to insert data from one table to another table&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: magenta;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;insert into tbl_insert_table (first_column , last_column)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: blue;&quot;&gt;select first_value , last_value from tbl_select_table&amp;nbsp;&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqldebate.blogspot.com/feeds/3278614910823062609/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqldebate.blogspot.com/2012/01/sql-select-query.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/3278614910823062609'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/3278614910823062609'/><link rel='alternate' type='text/html' href='http://sqldebate.blogspot.com/2012/01/sql-select-query.html' title='SQL SELECT QUERY'/><author><name>dilip0165</name><uri>http://www.blogger.com/profile/02441643113404959319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg32bjOLGx-yj4ylQ2rUF-7i9nQ2xQHFTYotmVh66UK7Gj7tUdmINofzD9tyQydOgDqQtDoF3giumZS28FHvJWqsAcnOdxazqpEkfeToCLIZnEEuz5lBvUwO1Il8b8VyMg/s220/sql-logo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2307246081599859801.post-2865193847757613251</id><published>2012-01-23T22:33:00.000-08:00</published><updated>2012-01-24T04:10:11.986-08:00</updated><title type='text'>How to connect SQL Server using Server Explorer</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;b&gt;Here we will see to connect SQL server using Server Explorer&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
First of all when you have created any project suppose named as &lt;b&gt;&quot;DEMO&quot;&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
Now as per given below click&lt;br /&gt;
-&amp;gt; click on &lt;b&gt;View&amp;nbsp;&lt;/b&gt;&amp;nbsp;-&amp;gt; &amp;nbsp;&lt;b&gt;Server Explorer&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvltqz_WuQF82w9Jz7-IFp2CcijSl72HD9lvh-k_dg5ULOxzv-3loq14V3vi3w2AkEfb4y4TFYITo7LqDJHMnY2ujIoG_5SnHThw2zIP82paB0yp-0ApIcGQDHujnUc8kADHxqvkPr5p_j/s1600/Server+Explorer.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;311&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvltqz_WuQF82w9Jz7-IFp2CcijSl72HD9lvh-k_dg5ULOxzv-3loq14V3vi3w2AkEfb4y4TFYITo7LqDJHMnY2ujIoG_5SnHThw2zIP82paB0yp-0ApIcGQDHujnUc8kADHxqvkPr5p_j/s400/Server+Explorer.png&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;br /&gt;
&lt;div class=&quot;post-436 post type-post status-publish format-standard hentry category-net category-development category-sql-server category-sql-server-compact-edition category-visual-studio&quot; style=&quot;background-color: white; color: #494949; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px; margin-bottom: 2em; overflow-x: hidden; overflow-y: hidden; text-align: -webkit-auto;&quot;&gt;
&lt;div class=&quot;content&quot;&gt;
&lt;div style=&quot;line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&amp;nbsp;you can create the &amp;nbsp;database right from within Visual Studio 2005. First, if Server Explorer is not visible select View, Server Explorer from the menu as . Now right Click on Data Connections, and pick “&lt;b&gt;Add Connection&lt;/b&gt;…”.&lt;/div&gt;
&lt;div style=&quot;line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCEsTH8EKAgitnEeRXAZ2jX-L_c2V4LcrEbkO5h_BKbRcLbz8Mrsr_NvxUnuHP39jnelPlQg__LU2hOmZHAGyp_Qjo-QTpfdw9wLPZSUbpiYiosdkJCS59-R2hwd1q5zknAR-nzp_b5Pa9/s1600/Server+Explorer.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjCEsTH8EKAgitnEeRXAZ2jX-L_c2V4LcrEbkO5h_BKbRcLbz8Mrsr_NvxUnuHP39jnelPlQg__LU2hOmZHAGyp_Qjo-QTpfdw9wLPZSUbpiYiosdkJCS59-R2hwd1q5zknAR-nzp_b5Pa9/s640/Server+Explorer.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Note do NOT pick the Create New SQL Server Database… option, this works with full blown SQL Server such as SQL Server Express.&lt;/div&gt;
&lt;div style=&quot;line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Here on the next screen you can see that you have to choose Data Source ..&lt;br /&gt;
choose the &quot;&lt;b&gt;Microsoft SQL Server&lt;/b&gt;&quot; click continue&amp;nbsp;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; line-height: 20px; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY4nyUVjafuu8wBOeE1ASyeSVbNWNbu4mWUmFTyHUODBe9L58c93R0V3LfEIPtj5EMmw-L0_zNueoj_wNqIRYYjjDSble3wIM1n0hg5TPVMIxy9prHr4xVYidAdAcnV70SwcD06jBFlb1N/s1600/Server+Explorer.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjY4nyUVjafuu8wBOeE1ASyeSVbNWNbu4mWUmFTyHUODBe9L58c93R0V3LfEIPtj5EMmw-L0_zNueoj_wNqIRYYjjDSble3wIM1n0hg5TPVMIxy9prHr4xVYidAdAcnV70SwcD06jBFlb1N/s640/Server+Explorer.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
now after choosing the &amp;nbsp;Data Source&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
on the next screen as you can see below here Data Source which you have entered by using &amp;nbsp; change button you can select othe Data Source .&lt;br /&gt;
&lt;br /&gt;
Now In the Server &amp;nbsp;Name Dropdown box select your server name and as you can see the next panel that is &lt;b&gt;&quot;Log on to Server&quot; &lt;/b&gt;there are given two modes windows authentication and SQl Server Authentication .&lt;br /&gt;
&lt;br /&gt;
if you want use or create Database in your machine locally you have to select windows authentication and in the case you want connect remote server select the SQL Server Authentication here you have to specify the remote server User Name or Password .&lt;br /&gt;
&lt;br /&gt;
next you have to specify the Your Database Name here our database name &lt;b&gt;&quot;Demo&quot;&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK1VKBQm9RkcK6ZI8z2QM1pvVo6QgPhtINeQkz-Sqdk8EVxf5ZeAcKqwy3ExxkH-fIGlwUDZ_xgIU8pybLTLh0Ry_NcOt0Jx4lMsjxgexxqYV-7zdn2z9Yb_b6EHVR8Hk4IHvSVzifvO2q/s1600/Server+Explorer.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgK1VKBQm9RkcK6ZI8z2QM1pvVo6QgPhtINeQkz-Sqdk8EVxf5ZeAcKqwy3ExxkH-fIGlwUDZ_xgIU8pybLTLh0Ry_NcOt0Jx4lMsjxgexxqYV-7zdn2z9Yb_b6EHVR8Hk4IHvSVzifvO2q/s640/Server+Explorer.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Returning to the Server Explorer, your new database (which I named Demo) should be listed in your Data Connections tree. Click the + button to expand, and you can see the Tables, System Views (not to be confused with a traditional database view), and a Replication folder.&lt;/div&gt;
&lt;div style=&quot;line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP9SzviLEDlJyTHcu4720yQyLbp3k-mz6hzIOmXYQej3INolcgfU5C3AI0JcMVb3tfquaG0XC2uOb1qRq0zjtBVD25EFTL7CGP7A7IExTr1OFlUTV9F6UZzEoSOY8x4P6FISPs-ydMU-77/s1600/Server+Explorer.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;480&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhP9SzviLEDlJyTHcu4720yQyLbp3k-mz6hzIOmXYQej3INolcgfU5C3AI0JcMVb3tfquaG0XC2uOb1qRq0zjtBVD25EFTL7CGP7A7IExTr1OFlUTV9F6UZzEoSOY8x4P6FISPs-ydMU-77/s640/Server+Explorer.png&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
Note that if you wanted to open an existing &amp;nbsp;database, you’d simply skip the steps associated with the Create button. Instead you’d simply pick “Add Connection…”, key in (or browse for) the database name, enter the password and click Open.&lt;/div&gt;
&lt;div style=&quot;line-height: 20px; margin-bottom: 1.2em; margin-top: 0.6em; padding-bottom: 0px; padding-left: 0px; padding-right: 0px; padding-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;b&gt;&lt;br /&gt;&lt;/b&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqldebate.blogspot.com/feeds/2865193847757613251/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqldebate.blogspot.com/2012/01/how-to-connect-sql-server-with-visual.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/2865193847757613251'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/2865193847757613251'/><link rel='alternate' type='text/html' href='http://sqldebate.blogspot.com/2012/01/how-to-connect-sql-server-with-visual.html' title='How to connect SQL Server using Server Explorer'/><author><name>dilip0165</name><uri>http://www.blogger.com/profile/02441643113404959319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg32bjOLGx-yj4ylQ2rUF-7i9nQ2xQHFTYotmVh66UK7Gj7tUdmINofzD9tyQydOgDqQtDoF3giumZS28FHvJWqsAcnOdxazqpEkfeToCLIZnEEuz5lBvUwO1Il8b8VyMg/s220/sql-logo.png'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgvltqz_WuQF82w9Jz7-IFp2CcijSl72HD9lvh-k_dg5ULOxzv-3loq14V3vi3w2AkEfb4y4TFYITo7LqDJHMnY2ujIoG_5SnHThw2zIP82paB0yp-0ApIcGQDHujnUc8kADHxqvkPr5p_j/s72-c/Server+Explorer.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2307246081599859801.post-7957497193882373237</id><published>2012-01-23T11:19:00.001-08:00</published><updated>2012-01-24T05:07:21.801-08:00</updated><title type='text'>How to Connect Sql Server using web.config file</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;br /&gt;
Hi Everyone who newly to MS SQL Server. Here I have described Various Mathods to connect with SQL server to use it various Functionality.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;strong&gt;&lt;span data-mce-style=&quot;text-decoration: underline; color: #6a5acd;&quot; style=&quot;color: slateblue; text-decoration: underline;&quot;&gt;1) Using Web.Config File &amp;nbsp;in your Visual Studio&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;strong&gt;&lt;span data-mce-style=&quot;text-decoration: underline; color: #6a5acd;&quot; style=&quot;color: slateblue; text-decoration: underline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/strong&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
As you create your project in Visual Studio you will find web.config file It is a good practice to store the connection string for your application in a config file rather than as a hard coded string in your code. The way to do this differs between .NET 2.0 and .NET 3.5 (and above). This article cover booth.&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div data-mce-style=&quot;color: #000000;&quot; style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;span data-mce-style=&quot;color: #ff6600;&quot; style=&quot;color: #ff6600;&quot;&gt;&lt;strong&gt;Connection string in .NET 2.0 config file&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
In the appSettings location, add a key named whatever you like to reference your connection string to.&lt;br /&gt;
&lt;pre style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font: normal normal normal 12px/18px Consolas, Monaco, &#39;Courier New&#39;, Courier, monospace; margin-bottom: 8px; margin-left: 8px; margin-right: 8px; margin-top: 8px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;appSettings&amp;gt;
&amp;lt;add key=&quot;myConnectionString&quot; value=&quot;server=localhost;database=myDb;uid=myUser;password=myPass;&quot; /&amp;gt;
&amp;lt;/appSettings&amp;gt;&lt;/span&gt;&lt;/pre&gt;
To read the connection string from code, use the ConfigurationSettings class.&lt;br /&gt;
&lt;pre style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font: normal normal normal 12px/18px Consolas, Monaco, &#39;Courier New&#39;, Courier, monospace; margin-bottom: 8px; margin-left: 8px; margin-right: 8px; margin-top: 8px;&quot;&gt;string connStr = ConfigurationSettings.AppSettings(&quot;myConnectionString&quot;);&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
Now you have the connection string loaded from web.config into your string variable in code.&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
&lt;span data-mce-style=&quot;color: #ff6600;&quot; style=&quot;color: #ff6600;&quot;&gt;&lt;strong&gt;Connection string in .NET 3.5 (and above) config file&lt;/strong&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;background-color: white; font-family: Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; font-size: 13px; line-height: 19px;&quot;&gt;
Do not use appsettings in web.config. Instead use the connectionStrings section in web.config.&lt;br /&gt;
&lt;pre style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font: normal normal normal 12px/18px Consolas, Monaco, &#39;Courier New&#39;, Courier, monospace; margin-bottom: 8px; margin-left: 8px; margin-right: 8px; margin-top: 8px;&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;&amp;lt;connectionStrings&amp;gt;
&amp;lt;add name=&quot;myConnectionString&quot; connectionString=&quot;server=localhost;database=myDb;uid=myUser;password=myPass;&quot; /&amp;gt;
&amp;lt;/connectionStrings&amp;gt;&lt;/span&gt;&lt;/pre&gt;
To read the connection string into your code, use the ConfigurationSettings class.&lt;br /&gt;
&lt;pre style=&quot;font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font: normal normal normal 12px/18px Consolas, Monaco, &#39;Courier New&#39;, Courier, monospace; margin-bottom: 8px; margin-left: 8px; margin-right: 8px; margin-top: 8px;&quot;&gt;string connStr = ConfigurationManager.ConnectionStrings[&quot;myConnectionString&quot;].ConnectionString;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqldebate.blogspot.com/feeds/7957497193882373237/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqldebate.blogspot.com/2012/01/how-to-connect-sql-server.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/7957497193882373237'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/7957497193882373237'/><link rel='alternate' type='text/html' href='http://sqldebate.blogspot.com/2012/01/how-to-connect-sql-server.html' title='How to Connect Sql Server using web.config file'/><author><name>dilip0165</name><uri>http://www.blogger.com/profile/02441643113404959319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg32bjOLGx-yj4ylQ2rUF-7i9nQ2xQHFTYotmVh66UK7Gj7tUdmINofzD9tyQydOgDqQtDoF3giumZS28FHvJWqsAcnOdxazqpEkfeToCLIZnEEuz5lBvUwO1Il8b8VyMg/s220/sql-logo.png'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2307246081599859801.post-419998246334307671</id><published>2012-01-23T02:09:00.000-08:00</published><updated>2012-01-23T11:48:26.880-08:00</updated><title type='text'>Sql Introduction</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;background-attachment: initial; background-clip: initial; background-color: white; background-image: initial; background-origin: initial; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 10px; font: normal normal normal 13px/19px Georgia, &#39;Times New Roman&#39;, &#39;Bitstream Charter&#39;, Times, serif; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px; padding-bottom: 0.6em; padding-left: 0.6em; padding-right: 0.6em; padding-top: 0.6em;&quot;&gt;
&lt;span style=&quot;color: red;&quot;&gt;Hi ! Wel Come to Sql Discussion Blog.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
This is Discussion or Debate Blog on SQL for spreading knowledge for basic fundamentals of SQL Database.&lt;br /&gt;
Here Everyone can share their knowledge on Sql by discussion forum .&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;strong&gt;SQL is a standard language for accessing and manipulating databases which stands for&amp;nbsp;Structured Query Language.&lt;/strong&gt;&lt;br /&gt;
&lt;strong&gt;&lt;br /&gt;&lt;/strong&gt;&lt;br /&gt;
SQL is a Common Language for variety Databases for accessing the Data from DataBase.&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;


&lt;strong&gt;The Heart of any Database is the RDBMS.&lt;/strong&gt;&lt;/h3&gt;
RDBMS stands for Relational Database Management System.&lt;br /&gt;
RDBMS is the basis for SQL, and for all modern database systems like MS SQL Server, IBM DB2, Oracle, MySQL, and Microsoft Access.&lt;br /&gt;
The data in RDBMS is stored in database objects called tables.&lt;br /&gt;
A table is a collection of related data entries and it consists of columns and rows.&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://sqldebate.blogspot.com/feeds/419998246334307671/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://sqldebate.blogspot.com/2012/01/hi-wel-come-to-sql-discussion-blog.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/419998246334307671'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2307246081599859801/posts/default/419998246334307671'/><link rel='alternate' type='text/html' href='http://sqldebate.blogspot.com/2012/01/hi-wel-come-to-sql-discussion-blog.html' title='Sql Introduction'/><author><name>dilip0165</name><uri>http://www.blogger.com/profile/02441643113404959319</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='32' src='//blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg32bjOLGx-yj4ylQ2rUF-7i9nQ2xQHFTYotmVh66UK7Gj7tUdmINofzD9tyQydOgDqQtDoF3giumZS28FHvJWqsAcnOdxazqpEkfeToCLIZnEEuz5lBvUwO1Il8b8VyMg/s220/sql-logo.png'/></author><thr:total>0</thr:total></entry></feed>