<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:pingback="http://madskills.com/public/xml/rss/module/pingback/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0">
  <channel>
    <title>Software Code Help - Interview Question SQL</title>
    <link>http://blog.softwarecodehelp.com/</link>
    <description>Blog</description>
    <language>en-us</language>
    <copyright>SoftwareCodeHelp</copyright>
    <lastBuildDate>Tue, 20 Oct 2009 06:10:59 GMT</lastBuildDate>
    <generator>newtelligence dasBlog 2.3.9074.18820</generator>
    <managingEditor>rajshekher@gmail.com</managingEditor>
    <webMaster>rajshekher@gmail.com</webMaster>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=cc3464bc-eb52-4a0d-a5b4-c60082cc4a6a</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,cc3464bc-eb52-4a0d-a5b4-c60082cc4a6a.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,cc3464bc-eb52-4a0d-a5b4-c60082cc4a6a.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=cc3464bc-eb52-4a0d-a5b4-c60082cc4a6a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Process-per-client Architecture. 
<br />
Multithreaded Architecture. 
<br />
Hybrid Architecture.
</p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=cc3464bc-eb52-4a0d-a5b4-c60082cc4a6a" />
      </body>
      <title>What are the three types of SQL database server architecture?</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,cc3464bc-eb52-4a0d-a5b4-c60082cc4a6a.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/10/20/WhatAreTheThreeTypesOfSQLDatabaseServerArchitecture.aspx</link>
      <pubDate>Tue, 20 Oct 2009 06:10:59 GMT</pubDate>
      <description>&lt;p&gt;
Process-per-client Architecture. 
&lt;br&gt;
Multithreaded Architecture. 
&lt;br&gt;
Hybrid Architecture.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=cc3464bc-eb52-4a0d-a5b4-c60082cc4a6a" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,cc3464bc-eb52-4a0d-a5b4-c60082cc4a6a.aspx</comments>
      <category>Interview Question SQL</category>
      <category>SQL Server</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=98ca18c7-7ef3-46cc-8944-41b39b6585ec</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,98ca18c7-7ef3-46cc-8944-41b39b6585ec.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,98ca18c7-7ef3-46cc-8944-41b39b6585ec.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=98ca18c7-7ef3-46cc-8944-41b39b6585ec</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <div align="justify">SELECT COUNT(*) AS Total FROM syscolumns WHERE (name = 'clientID') 
</div>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=98ca18c7-7ef3-46cc-8944-41b39b6585ec" />
      </body>
      <title>How to know how many tables contains clientID as a column in a database?</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,98ca18c7-7ef3-46cc-8944-41b39b6585ec.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/08/07/HowToKnowHowManyTablesContainsClientIDAsAColumnInADatabase.aspx</link>
      <pubDate>Fri, 07 Aug 2009 11:34:54 GMT</pubDate>
      <description>&lt;div align=justify&gt;SELECT COUNT(*) AS Total FROM syscolumns WHERE (name = 'clientID') 
&lt;/div&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=98ca18c7-7ef3-46cc-8944-41b39b6585ec" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,98ca18c7-7ef3-46cc-8944-41b39b6585ec.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=c18b131c-bd68-4aca-97cb-8a717494e44a</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,c18b131c-bd68-4aca-97cb-8a717494e44a.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,c18b131c-bd68-4aca-97cb-8a717494e44a.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=c18b131c-bd68-4aca-97cb-8a717494e44a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
'Count': Counts the number of non-null values.
</p>
        <p>
          <br />
'Count (*)': Counts the number of rows in the table, including null values and duplicates.
</p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=c18b131c-bd68-4aca-97cb-8a717494e44a" />
      </body>
      <title>What is the difference between Count and Count(*) in SQL Server?</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,c18b131c-bd68-4aca-97cb-8a717494e44a.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/08/06/WhatIsTheDifferenceBetweenCountAndCountInSQLServer.aspx</link>
      <pubDate>Thu, 06 Aug 2009 11:33:31 GMT</pubDate>
      <description>&lt;p&gt;
'Count': Counts the number of non-null values.
&lt;/p&gt;
&lt;p&gt;
&lt;br&gt;
'Count (*)': Counts the number of rows in the table, including null values and duplicates.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=c18b131c-bd68-4aca-97cb-8a717494e44a" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,c18b131c-bd68-4aca-97cb-8a717494e44a.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=8ac63ca7-ec43-4313-a8db-76c6cfdaedbf</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,8ac63ca7-ec43-4313-a8db-76c6cfdaedbf.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,8ac63ca7-ec43-4313-a8db-76c6cfdaedbf.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=8ac63ca7-ec43-4313-a8db-76c6cfdaedbf</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <div align="justify">You can create local and global temporary tables. Local temporary
tables are visible only in the current session; global temporary tables are visible
to all sessions. Prefix local temporary table names with single number sign (# table_name),
and prefix global temporary table names with a double number sign (##table_name). 
<br /></div>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=8ac63ca7-ec43-4313-a8db-76c6cfdaedbf" />
      </body>
      <title>How do you differentiate Local and Global Temporary table?</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,8ac63ca7-ec43-4313-a8db-76c6cfdaedbf.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/08/06/HowDoYouDifferentiateLocalAndGlobalTemporaryTable.aspx</link>
      <pubDate>Thu, 06 Aug 2009 11:32:53 GMT</pubDate>
      <description>&lt;div align=justify&gt;You can create local and global temporary tables. Local temporary
tables are visible only in the current session; global temporary tables are visible
to all sessions. Prefix local temporary table names with single number sign (# table_name),
and prefix global temporary table names with a double number sign (##table_name). 
&lt;br&gt;
&lt;/div&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=8ac63ca7-ec43-4313-a8db-76c6cfdaedbf" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,8ac63ca7-ec43-4313-a8db-76c6cfdaedbf.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=6dcef5d4-5396-44b5-b774-34d35b5ae484</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,6dcef5d4-5396-44b5-b774-34d35b5ae484.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,6dcef5d4-5396-44b5-b774-34d35b5ae484.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=6dcef5d4-5396-44b5-b774-34d35b5ae484</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Views or tables participating in a view created with the SCHEMABINDING clause cannot
be dropped. If the view is not created using SCHEMABINDING, then we can drop the table. 
</p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=6dcef5d4-5396-44b5-b774-34d35b5ae484" />
      </body>
      <title>Can u drop a table if it has a view?</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,6dcef5d4-5396-44b5-b774-34d35b5ae484.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/08/06/CanUDropATableIfItHasAView.aspx</link>
      <pubDate>Thu, 06 Aug 2009 11:31:58 GMT</pubDate>
      <description>&lt;p&gt;
Views or tables participating in a view created with the SCHEMABINDING clause cannot
be dropped. If the view is not created using SCHEMABINDING, then we can drop the table. 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=6dcef5d4-5396-44b5-b774-34d35b5ae484" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,6dcef5d4-5396-44b5-b774-34d35b5ae484.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=543f7844-a804-443d-b2ae-c86776a1695f</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,543f7844-a804-443d-b2ae-c86776a1695f.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,543f7844-a804-443d-b2ae-c86776a1695f.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=543f7844-a804-443d-b2ae-c86776a1695f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Stored procedures are nested when one stored procedure calls another. You can nest
stored procedures up to 32 levels. 
</p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=543f7844-a804-443d-b2ae-c86776a1695f" />
      </body>
      <title>Can Stored procedure call itself?</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,543f7844-a804-443d-b2ae-c86776a1695f.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/08/06/CanStoredProcedureCallItself.aspx</link>
      <pubDate>Thu, 06 Aug 2009 11:31:01 GMT</pubDate>
      <description>&lt;p&gt;
Stored procedures are nested when one stored procedure calls another. You can nest
stored procedures up to 32 levels. 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=543f7844-a804-443d-b2ae-c86776a1695f" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,543f7844-a804-443d-b2ae-c86776a1695f.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=2db5e8ac-c159-4dcd-91bf-7b3a22d63899</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,2db5e8ac-c159-4dcd-91bf-7b3a22d63899.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,2db5e8ac-c159-4dcd-91bf-7b3a22d63899.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=2db5e8ac-c159-4dcd-91bf-7b3a22d63899</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
• The <strong>sp_recompile</strong> system stored procedure forces a recompile of
a stored procedure the next time it is run. 
<br /><br />
• Creating a stored procedure that specifies the <strong>WITH RECOMPILE</strong> option
in its definition indicates that SQL Server does not cache a plan for this stored
procedure; the stored procedure is recompiled each time it is executed. Use the WITH
RECOMPILE option when stored procedures take parameters whose values differ widely
between executions of the stored procedure, resulting in different execution plans
to be created each time. Use of this option is uncommon, and causes the stored procedure
to execute more slowly because the stored procedure must be recompiled each time it
is executed. 
<br /><br />
• You can force the stored procedure to be recompiled by specifying the <strong>WITH
RECOMPILE</strong> option when you execute the stored procedure. Use this option only
if the parameter you are supplying is atypical or if the data has significantly changed
since the stored procedure was created. 
</p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=2db5e8ac-c159-4dcd-91bf-7b3a22d63899" />
      </body>
      <title>How you recompile SQL Server stored procedure?</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,2db5e8ac-c159-4dcd-91bf-7b3a22d63899.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/07/15/HowYouRecompileSQLServerStoredProcedure.aspx</link>
      <pubDate>Wed, 15 Jul 2009 13:04:06 GMT</pubDate>
      <description>&lt;p&gt;
• The &lt;strong&gt;sp_recompile&lt;/strong&gt; system stored procedure forces a recompile of
a stored procedure the next time it is run. 
&lt;br&gt;
&lt;br&gt;
• Creating a stored procedure that specifies the &lt;strong&gt;WITH RECOMPILE&lt;/strong&gt; option
in its definition indicates that SQL Server does not cache a plan for this stored
procedure; the stored procedure is recompiled each time it is executed. Use the WITH
RECOMPILE option when stored procedures take parameters whose values differ widely
between executions of the stored procedure, resulting in different execution plans
to be created each time. Use of this option is uncommon, and causes the stored procedure
to execute more slowly because the stored procedure must be recompiled each time it
is executed. 
&lt;br&gt;
&lt;br&gt;
• You can force the stored procedure to be recompiled by specifying the &lt;strong&gt;WITH
RECOMPILE&lt;/strong&gt; option when you execute the stored procedure. Use this option only
if the parameter you are supplying is atypical or if the data has significantly changed
since the stored procedure was created. 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=2db5e8ac-c159-4dcd-91bf-7b3a22d63899" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,2db5e8ac-c159-4dcd-91bf-7b3a22d63899.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=f7354a51-9788-4b54-b620-f49ae0379975</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,f7354a51-9788-4b54-b620-f49ae0379975.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,f7354a51-9788-4b54-b620-f49ae0379975.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=f7354a51-9788-4b54-b620-f49ae0379975</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
You can use the sp_procoption system stored procedure in master database to mark the
stored procedure to automatic execution when the SQL Server will start.<br /></p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=f7354a51-9788-4b54-b620-f49ae0379975" />
      </body>
      <title>How do I mark the stored procedure to automatic execution? </title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,f7354a51-9788-4b54-b620-f49ae0379975.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/07/15/HowDoIMarkTheStoredProcedureToAutomaticExecution.aspx</link>
      <pubDate>Wed, 15 Jul 2009 13:03:04 GMT</pubDate>
      <description>&lt;p&gt;
You can use the sp_procoption system stored procedure in master database to mark the
stored procedure to automatic execution when the SQL Server will start.&lt;br&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=f7354a51-9788-4b54-b620-f49ae0379975" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,f7354a51-9788-4b54-b620-f49ae0379975.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=83f3fc0e-a46e-4247-b7cd-e81e84819048</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,83f3fc0e-a46e-4247-b7cd-e81e84819048.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,83f3fc0e-a46e-4247-b7cd-e81e84819048.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=83f3fc0e-a46e-4247-b7cd-e81e84819048</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
There are four different type of stored procedure given below:
</p>
        <p>
1. <strong>Temporary Stored Procedures</strong> - SQL Server supports two types of
temporary procedures: local and global. A local temporary procedure is visible only
to the connection that created it. A global temporary procedure is available to all
connections. Local temporary procedures are automatically dropped at the end of the
current session. Global temporary procedures are dropped at the end of the last session
using the procedure. Usually, this is when the session that created the procedure
ends. Temporary procedures named with # and ## can be created by any user. 
<br /><br />
2. <strong>System stored procedures</strong> are created and stored in the master
database and have the sp_ prefix.(or xp_) System stored procedures can be executed
from any database without having to qualify the stored procedure name fully using
the database name master. (If any user-created stored procedure has the same name
as a system stored procedure, the user-created stored procedure will never be executed.) 
<br /><br />
3. <strong>Automatically Executing Stored Procedures</strong> - One or more stored
procedures can execute automatically when SQL Server starts. The stored procedures
must be created by the system administrator and executed under the sysadmin fixed
server role as a background process. The procedure(s) cannot have any input parameters. 
<br /><br />
4. <strong>User defined stored procedure</strong> - These stored procedure is created
by user.
</p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=83f3fc0e-a46e-4247-b7cd-e81e84819048" />
      </body>
      <title>How many different type of stored procedure.?</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,83f3fc0e-a46e-4247-b7cd-e81e84819048.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/07/15/HowManyDifferentTypeOfStoredProcedure.aspx</link>
      <pubDate>Wed, 15 Jul 2009 13:02:16 GMT</pubDate>
      <description>&lt;p&gt;
There are four different type of stored procedure given below:
&lt;/p&gt;
&lt;p&gt;
1. &lt;strong&gt;Temporary Stored Procedures&lt;/strong&gt; - SQL Server supports two types of
temporary procedures: local and global. A local temporary procedure is visible only
to the connection that created it. A global temporary procedure is available to all
connections. Local temporary procedures are automatically dropped at the end of the
current session. Global temporary procedures are dropped at the end of the last session
using the procedure. Usually, this is when the session that created the procedure
ends. Temporary procedures named with # and ## can be created by any user. 
&lt;br&gt;
&lt;br&gt;
2. &lt;strong&gt;System stored procedures&lt;/strong&gt; are created and stored in the master
database and have the sp_ prefix.(or xp_) System stored procedures can be executed
from any database without having to qualify the stored procedure name fully using
the database name master. (If any user-created stored procedure has the same name
as a system stored procedure, the user-created stored procedure will never be executed.) 
&lt;br&gt;
&lt;br&gt;
3. &lt;strong&gt;Automatically Executing Stored Procedures&lt;/strong&gt; - One or more stored
procedures can execute automatically when SQL Server starts. The stored procedures
must be created by the system administrator and executed under the sysadmin fixed
server role as a background process. The procedure(s) cannot have any input parameters. 
&lt;br&gt;
&lt;br&gt;
4. &lt;strong&gt;User defined stored procedure&lt;/strong&gt; - These stored procedure is created
by user.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=83f3fc0e-a46e-4247-b7cd-e81e84819048" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,83f3fc0e-a46e-4247-b7cd-e81e84819048.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=ddf661d4-d133-43b3-a3b7-2659eb1e81b1</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,ddf661d4-d133-43b3-a3b7-2659eb1e81b1.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,ddf661d4-d133-43b3-a3b7-2659eb1e81b1.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=ddf661d4-d133-43b3-a3b7-2659eb1e81b1</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p align="justify">
Microsoft® SQL Server™ 2000 uses locking to ensure transactional integrity and database
consistency. Locking prevents users from reading data being changed by other users,
and prevents multiple users from changing the same data at the same time. If locking
is not used, data within the database may become logically incorrect, and queries
executed against that data may produce unexpected results. 
<br />
Lock mode Description. There are six different type of locks given below:<br /><br /><strong>Shared (S)</strong> Used for operations that do not change or update data
(read-only operations), such as a SELECT statement.<br /><strong>Update (U)</strong> Used on resources that can be updated. Prevents a common
form of deadlock that occurs when multiple sessions are reading, locking, and potentially
updating resources later.<br /><strong>Exclusive (X)</strong> Used for data-modification operations, such as INSERT,
UPDATE, or DELETE. Ensures that multiple updates cannot be made to the same resource
at the same time.<br /><strong>Intent</strong> Used to establish a lock hierarchy. The types of intent locks
are: intent shared (IS), intent exclusive (IX), and shared with intent exclusive (SIX).<br /><strong>Schema</strong> Used when an operation dependent on the schema of a table
is executing. The types of schema locks are: schema modification (Sch-M) and schema
stability (Sch-S). 
<br /><strong>Bulk Update (BU)</strong> Used when bulk-copying data into a table and the
TABLOCK hint is specified.<br /></p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=ddf661d4-d133-43b3-a3b7-2659eb1e81b1" />
      </body>
      <title>Why we are using locks inside stored procedure?</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,ddf661d4-d133-43b3-a3b7-2659eb1e81b1.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/07/13/WhyWeAreUsingLocksInsideStoredProcedure.aspx</link>
      <pubDate>Mon, 13 Jul 2009 13:06:07 GMT</pubDate>
      <description>&lt;p align=justify&gt;
Microsoft® SQL Server™ 2000 uses locking to ensure transactional integrity and database
consistency. Locking prevents users from reading data being changed by other users,
and prevents multiple users from changing the same data at the same time. If locking
is not used, data within the database may become logically incorrect, and queries
executed against that data may produce unexpected results. 
&lt;br&gt;
Lock mode Description. There are six different type of locks given below:&lt;br&gt;
&lt;br&gt;
&lt;strong&gt;Shared (S)&lt;/strong&gt; Used for operations that do not change or update data
(read-only operations), such as a SELECT statement.&lt;br&gt;
&lt;strong&gt;Update (U)&lt;/strong&gt; Used on resources that can be updated. Prevents a common
form of deadlock that occurs when multiple sessions are reading, locking, and potentially
updating resources later.&lt;br&gt;
&lt;strong&gt;Exclusive (X)&lt;/strong&gt; Used for data-modification operations, such as INSERT,
UPDATE, or DELETE. Ensures that multiple updates cannot be made to the same resource
at the same time.&lt;br&gt;
&lt;strong&gt;Intent&lt;/strong&gt; Used to establish a lock hierarchy. The types of intent locks
are: intent shared (IS), intent exclusive (IX), and shared with intent exclusive (SIX).&lt;br&gt;
&lt;strong&gt;Schema&lt;/strong&gt; Used when an operation dependent on the schema of a table
is executing. The types of schema locks are: schema modification (Sch-M) and schema
stability (Sch-S). 
&lt;br&gt;
&lt;strong&gt;Bulk Update (BU)&lt;/strong&gt; Used when bulk-copying data into a table and the
TABLOCK hint is specified.&lt;br&gt;
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=ddf661d4-d133-43b3-a3b7-2659eb1e81b1" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,ddf661d4-d133-43b3-a3b7-2659eb1e81b1.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=5ac4515a-4cdb-47e1-8a42-efbcb776b47f</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,5ac4515a-4cdb-47e1-8a42-efbcb776b47f.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,5ac4515a-4cdb-47e1-8a42-efbcb776b47f.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=5ac4515a-4cdb-47e1-8a42-efbcb776b47f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Views can have only select statements (create, update, truncate, delete statements
are not allowed) Views cannot have "select into", "Group by" "Having", "Order by"
</p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=5ac4515a-4cdb-47e1-8a42-efbcb776b47f" />
      </body>
      <title>What is the difference between view and stored procedure?</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,5ac4515a-4cdb-47e1-8a42-efbcb776b47f.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/07/13/WhatIsTheDifferenceBetweenViewAndStoredProcedure.aspx</link>
      <pubDate>Mon, 13 Jul 2009 13:04:56 GMT</pubDate>
      <description>&lt;p&gt;
Views can have only select statements (create, update, truncate, delete statements
are not allowed) Views cannot have "select into", "Group by" "Having", "Order by"
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=5ac4515a-4cdb-47e1-8a42-efbcb776b47f" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,5ac4515a-4cdb-47e1-8a42-efbcb776b47f.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=e57eb445-2917-4535-b1d8-e49bf5990d8c</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,e57eb445-2917-4535-b1d8-e49bf5990d8c.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,e57eb445-2917-4535-b1d8-e49bf5990d8c.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=e57eb445-2917-4535-b1d8-e49bf5990d8c</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <pre>
          <span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">
            <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">SELECT</span>
            <span style="FONT-SIZE: 11px; COLOR: fuchsia; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">MIN</span>(Salary) <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">AS</span> Expr1 <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">FROM</span> tblEmployee <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">WHERE</span> (empid <span style="FONT-SIZE: 11px; COLOR: silver; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">IN</span> (<span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">SELECT</span><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">DISTINCT</span><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">TOP</span> 5
empid <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">FROM</span> tblSalary <span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">ORDER</span><span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent">BY</span> Salary)) </span>
        </pre>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=e57eb445-2917-4535-b1d8-e49bf5990d8c" />
      </body>
      <title>Find the fifth highest salary in Salary Table. </title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,e57eb445-2917-4535-b1d8-e49bf5990d8c.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/07/09/FindTheFifthHighestSalaryInSalaryTable.aspx</link>
      <pubDate>Thu, 09 Jul 2009 06:27:51 GMT</pubDate>
      <description>&lt;pre&gt;&lt;span style="FONT-SIZE: 11px; COLOR: black; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;SELECT&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: fuchsia; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;MIN&lt;/span&gt;(Salary) &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;AS&lt;/span&gt; Expr1 &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;FROM&lt;/span&gt; tblEmployee &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;WHERE&lt;/span&gt; (empid &lt;span style="FONT-SIZE: 11px; COLOR: silver; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;IN&lt;/span&gt; (&lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;SELECT&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;DISTINCT&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;TOP&lt;/span&gt; 5
empid &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;FROM&lt;/span&gt; tblSalary &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;ORDER&lt;/span&gt; &lt;span style="FONT-SIZE: 11px; COLOR: blue; FONT-FAMILY: Courier New; BACKGROUND-COLOR: transparent"&gt;BY&lt;/span&gt; Salary)) &lt;/span&gt;&lt;/pre&gt;&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=e57eb445-2917-4535-b1d8-e49bf5990d8c" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,e57eb445-2917-4535-b1d8-e49bf5990d8c.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=8546431a-5017-42a4-ba38-a123ce981e4f</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,8546431a-5017-42a4-ba38-a123ce981e4f.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,8546431a-5017-42a4-ba38-a123ce981e4f.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=8546431a-5017-42a4-ba38-a123ce981e4f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
A stored procedure is a set of Structured Query Language (SQL) statements that you
assign a name to and store in a database in compiled form so that you can share it
between a number of programs. 
<br />
• They allow modular programming. 
<br />
• They allow faster execution. 
<br />
• They can reduce network traffic. 
<br />
• They can be used as a security mechanism. 
</p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=8546431a-5017-42a4-ba38-a123ce981e4f" />
      </body>
      <title>why we are using stored procedure in database</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,8546431a-5017-42a4-ba38-a123ce981e4f.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/07/08/whyWeAreUsingStoredProcedureInDatabase.aspx</link>
      <pubDate>Wed, 08 Jul 2009 06:53:35 GMT</pubDate>
      <description>&lt;p&gt;
A stored procedure is a set of Structured Query Language (SQL) statements that you
assign a name to and store in a database in compiled form so that you can share it
between a number of programs. 
&lt;br&gt;
• They allow modular programming. 
&lt;br&gt;
• They allow faster execution. 
&lt;br&gt;
• They can reduce network traffic. 
&lt;br&gt;
• They can be used as a security mechanism. 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=8546431a-5017-42a4-ba38-a123ce981e4f" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,8546431a-5017-42a4-ba38-a123ce981e4f.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=94aff5c8-c8ed-410f-a07f-2b76ac6dc92a</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,94aff5c8-c8ed-410f-a07f-2b76ac6dc92a.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,94aff5c8-c8ed-410f-a07f-2b76ac6dc92a.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=94aff5c8-c8ed-410f-a07f-2b76ac6dc92a</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
Yes, Let us consider there is employ Table ( empid, empName, empManagerid). In this
table manager is also be an employ.
</p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=94aff5c8-c8ed-410f-a07f-2b76ac6dc92a" />
      </body>
      <title>Can Primary key is a Foreign Key on the same table? </title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,94aff5c8-c8ed-410f-a07f-2b76ac6dc92a.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/07/08/CanPrimaryKeyIsAForeignKeyOnTheSameTable.aspx</link>
      <pubDate>Wed, 08 Jul 2009 06:52:09 GMT</pubDate>
      <description>&lt;p&gt;
Yes, Let us consider there is employ Table ( empid, empName, empManagerid). In this
table manager is also be an employ.
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=94aff5c8-c8ed-410f-a07f-2b76ac6dc92a" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,94aff5c8-c8ed-410f-a07f-2b76ac6dc92a.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=62b61399-0af0-457f-a139-21feabd7769f</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,62b61399-0af0-457f-a139-21feabd7769f.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,62b61399-0af0-457f-a139-21feabd7769f.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=62b61399-0af0-457f-a139-21feabd7769f</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <span class="tdvamseel">
          </span>
        </p>
        <p>
Difference Between DELETE &amp; TRUNCATE Are 
</p>
        <p>
1. DELETE  is a DML Command &amp; TRUNCATE is a DDL Command
</p>
        <p>
2. After DELETE  can rollback the Records &amp; After TRUNATE cannot rollback
the records
</p>
        <p>
3. In DELETE Command you can give the conditions in WHERE Clause &amp; In TRUNCATE
you cannot give conditions 
</p>
        <p>
4. After using DELETE Command The memory will be occupied till the user does not give
ROLLBACK or COMMIT &amp; After using TRUNCATE Command The memory realeased immediately 
</p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=62b61399-0af0-457f-a139-21feabd7769f" />
      </body>
      <title>What is difference between TRUNCATE &amp; DELETE in SQL</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,62b61399-0af0-457f-a139-21feabd7769f.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/07/08/WhatIsDifferenceBetweenTRUNCATEDELETEInSQL.aspx</link>
      <pubDate>Wed, 08 Jul 2009 06:36:57 GMT</pubDate>
      <description>&lt;p&gt;
&lt;span class=tdvamseel&gt; 
&lt;/p&gt;
&lt;p&gt;
Difference Between DELETE &amp;amp; TRUNCATE Are 
&lt;/p&gt;
&lt;p&gt;
1. DELETE&amp;nbsp; is a DML Command &amp;amp; TRUNCATE is a DDL Command
&lt;/p&gt;
&lt;p&gt;
2. After DELETE&amp;nbsp; can rollback the Records &amp;amp; After TRUNATE cannot rollback
the records
&lt;/p&gt;
&lt;p&gt;
3. In DELETE Command you can give the conditions in WHERE Clause &amp;amp; In TRUNCATE
you cannot give conditions 
&lt;/p&gt;
&lt;p&gt;
4. After using DELETE Command The memory will be occupied till the user does not give
ROLLBACK or COMMIT &amp;amp; After using TRUNCATE Command The memory realeased immediately 
&lt;/p&gt;
&gt;&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=62b61399-0af0-457f-a139-21feabd7769f" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,62b61399-0af0-457f-a139-21feabd7769f.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
    <item>
      <trackback:ping>http://blog.softwarecodehelp.com/Trackback.aspx?guid=273dd5ef-6499-4922-82be-be42739ec0ba</trackback:ping>
      <pingback:server>http://blog.softwarecodehelp.com/pingback.aspx</pingback:server>
      <pingback:target>http://blog.softwarecodehelp.com/PermaLink,guid,273dd5ef-6499-4922-82be-be42739ec0ba.aspx</pingback:target>
      <dc:creator>Raj Shekhar</dc:creator>
      <wfw:comment>http://blog.softwarecodehelp.com/CommentView,guid,273dd5ef-6499-4922-82be-be42739ec0ba.aspx</wfw:comment>
      <wfw:commentRss>http://blog.softwarecodehelp.com/SyndicationService.asmx/GetEntryCommentsRss?guid=273dd5ef-6499-4922-82be-be42739ec0ba</wfw:commentRss>
      <body xmlns="http://www.w3.org/1999/xhtml">
        <p>
          <strong>LEFT OUTER JOIN</strong> - This returns all the matching rows and the unmatched
rows of the left table of the SQL code.
</p>
        <p>
          <strong>RIGHT OUTER JOIN</strong> - This returns all the matching rows and the unmatched
rows of the right table of the SQL. 
</p>
        <p>
          <strong>FULL OUTER JOIN</strong> - This returns all the matching and unmatched rows
from both the tables. 
</p>
        <img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=273dd5ef-6499-4922-82be-be42739ec0ba" />
      </body>
      <title>What is Left Outer Join, Right Outer Join and Full Outer Join.</title>
      <guid isPermaLink="false">http://blog.softwarecodehelp.com/PermaLink,guid,273dd5ef-6499-4922-82be-be42739ec0ba.aspx</guid>
      <link>http://blog.softwarecodehelp.com/2009/07/08/WhatIsLeftOuterJoinRightOuterJoinAndFullOuterJoin.aspx</link>
      <pubDate>Wed, 08 Jul 2009 06:28:53 GMT</pubDate>
      <description>&lt;p&gt;
&lt;strong&gt;LEFT OUTER JOIN&lt;/strong&gt; - This returns all the matching rows and the unmatched
rows of the left table of the SQL code.
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;RIGHT OUTER JOIN&lt;/strong&gt; - This returns all the matching rows and the unmatched
rows of the right table of the SQL. 
&lt;/p&gt;
&lt;p&gt;
&lt;strong&gt;FULL OUTER JOIN&lt;/strong&gt; - This returns all the matching and unmatched rows
from both the tables. 
&lt;/p&gt;
&lt;img width="0" height="0" src="http://blog.softwarecodehelp.com/aggbug.ashx?id=273dd5ef-6499-4922-82be-be42739ec0ba" /&gt;</description>
      <comments>http://blog.softwarecodehelp.com/CommentView,guid,273dd5ef-6499-4922-82be-be42739ec0ba.aspx</comments>
      <category>Interview Question SQL</category>
    </item>
  </channel>
</rss>