<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ForDevs &#187; Sql Server</title>
	<atom:link href="http://www.fordevs.com/category/programming/sql-server/feed" rel="self" type="application/rss+xml" />
	<link>http://www.fordevs.com</link>
	<description>We Learn We Share</description>
	<lastBuildDate>Fri, 25 Nov 2011 18:55:00 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>How to find 2nd highest value in a table ?</title>
		<link>http://www.fordevs.com/2010/03/how-to-find-2nd-highest-value-in-a-table.html</link>
		<comments>http://www.fordevs.com/2010/03/how-to-find-2nd-highest-value-in-a-table.html#comments</comments>
		<pubDate>Sun, 21 Mar 2010 13:52:30 +0000</pubDate>
		<dc:creator>Jaffar</dc:creator>
				<category><![CDATA[Sql Server]]></category>
		<category><![CDATA[Tips And Tricks]]></category>

		<guid isPermaLink="false">http://www.fordevs.com/?p=688</guid>
		<description><![CDATA[To Find the 2nd Maximum Of Mark in a Data Set SELECT * FROM Student a WHERE 2=&#40;SELECT COUNT&#40;DISTINCT Mark&#41; FROM Student b WHERE a.Mark&#38;lt;=b.Mark&#41; To Find the 2nd Minimum Of Mark in a Data Set SELECT * FROM Student a WHERE 2=&#40;SELECT COUNT&#40;DISTINCT Mark&#41; FROM Student b WHERE a.Mark&#38;gt;=b.Mark&#41; To Find nth Maximum and [...]]]></description>
		<wfw:commentRss>http://www.fordevs.com/2010/03/how-to-find-2nd-highest-value-in-a-table.html/feed</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to Get The List Of All Tables in a Database &#8211; Sql Server 2005</title>
		<link>http://www.fordevs.com/2009/06/how-to-get-the-list-of-all-tables-in-a-database-sql-server-2005.html</link>
		<comments>http://www.fordevs.com/2009/06/how-to-get-the-list-of-all-tables-in-a-database-sql-server-2005.html#comments</comments>
		<pubDate>Tue, 23 Jun 2009 08:19:22 +0000</pubDate>
		<dc:creator>joy</dc:creator>
				<category><![CDATA[Sql Server]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.fordevs.com/?p=426</guid>
		<description><![CDATA[We a can get the list of all tables of a database in different ways : - 1. SELECT * FROM sys.TABLES 2. SELECT * FROM sysobjects WHERE TYPE='U' 3. SELECT * FROM information_schema.TABLES WHERE TABLE_TYPE = 'BASE TABLE' Subscribe to the comments for this post? Tweet This! Share this on del.icio.us Digg this! Add [...]]]></description>
		<wfw:commentRss>http://www.fordevs.com/2009/06/how-to-get-the-list-of-all-tables-in-a-database-sql-server-2005.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>View Existing Triggers &#8211; Drop One or More Triggers in Sql Server 2005</title>
		<link>http://www.fordevs.com/2009/06/view-existing-triggers-drop-one-or-more-triggers-in-sql-server-2005.html</link>
		<comments>http://www.fordevs.com/2009/06/view-existing-triggers-drop-one-or-more-triggers-in-sql-server-2005.html#comments</comments>
		<pubDate>Fri, 19 Jun 2009 15:44:22 +0000</pubDate>
		<dc:creator>joy</dc:creator>
				<category><![CDATA[Sql Server]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://www.fordevs.com/?p=418</guid>
		<description><![CDATA[To view the existing triggers in the database SELECT * FROM sys.triggers OR SELECT * FROM sysobjects WHERE xtype='TR' To view the existing triggers in a specified table sp_helptrigger tablename To drop a trigger DROP TRIGGER triggername To drop more triggers at a time DROP TRIGGER &#91;trigger1&#93;,&#91;trigger2&#93;,&#91;trigger3&#93;...&#91;triggern&#93; Subscribe to the comments for this post? Tweet [...]]]></description>
		<wfw:commentRss>http://www.fordevs.com/2009/06/view-existing-triggers-drop-one-or-more-triggers-in-sql-server-2005.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>CASE Function in SQL Server 2005</title>
		<link>http://www.fordevs.com/2009/03/case-function-in-sql-server-2005.html</link>
		<comments>http://www.fordevs.com/2009/03/case-function-in-sql-server-2005.html#comments</comments>
		<pubDate>Sun, 29 Mar 2009 08:48:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sql Server]]></category>

		<guid isPermaLink="false">http://localhost/fordevs/2009/03/case-function-in-sql-server-2005.html</guid>
		<description><![CDATA[Sql Case Function : The CASE function allows you to evaluate a column value on a row against multiple criteria, where each criterion might return a different value CASE is just a searched (or lookup) expression &#8211; you cannot RETURN from inside it &#8211; it&#8217;s kind of like IF() in Excel Sql Case Function has [...]]]></description>
		<wfw:commentRss>http://www.fordevs.com/2009/03/case-function-in-sql-server-2005.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create backup copy of table in SQLServer &#8211; (Select Into)</title>
		<link>http://www.fordevs.com/2008/12/create-backup-copy-of-table-in.html</link>
		<comments>http://www.fordevs.com/2008/12/create-backup-copy-of-table-in.html#comments</comments>
		<pubDate>Mon, 29 Dec 2008 13:20:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sql Server]]></category>
		<category><![CDATA[backup]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://localhost/fordevs/2008/12/create-backup-copy-of-table-in-sqlserver-select-into.html</guid>
		<description><![CDATA[SELECT INTO statement can be used to create backup copy of a table.This sql statement selects records from one table according to the selection we make and inserts the result set into another new table with the table name we specify. Syntax given below is used to make a exact copy of the table.That is [...]]]></description>
		<wfw:commentRss>http://www.fordevs.com/2008/12/create-backup-copy-of-table-in.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Usage of Stored Procedures</title>
		<link>http://www.fordevs.com/2008/12/usage-of-stored-procedures.html</link>
		<comments>http://www.fordevs.com/2008/12/usage-of-stored-procedures.html#comments</comments>
		<pubDate>Tue, 16 Dec 2008 22:18:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sql Server IQ]]></category>
		<category><![CDATA[What-is]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://localhost/fordevs/2008/12/usage-of-stored-procedures.html</guid>
		<description><![CDATA[Reduce network traffic: You have to send the SQL statement across the network. With sprocs, you can execute SQL in batches, which is also more efficient. Caching query plan: The first time the stored procedure is executed, SQL Server creates an execution plan, which is cached for reuse. This is particularly performant for small queries [...]]]></description>
		<wfw:commentRss>http://www.fordevs.com/2008/12/usage-of-stored-procedures.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using OVER() with Aggregate Functions in Sql Server 2005</title>
		<link>http://www.fordevs.com/2008/12/using-over-with-aggregate-functions-in.html</link>
		<comments>http://www.fordevs.com/2008/12/using-over-with-aggregate-functions-in.html#comments</comments>
		<pubDate>Tue, 02 Dec 2008 16:46:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sql Server]]></category>

		<guid isPermaLink="false">http://localhost/fordevs/2008/12/using-over-with-aggregate-functions-in-sql-server-2005.html</guid>
		<description><![CDATA[1.you can now add aggregate functions to any SELECT (even without a GROUP BY clause) by specifying an OVER() partition for each function. 2.SUM(..) OVER(..) is most useful for calculating a Total or percentage of a total for each row 3.SUM() function works with any of the other aggregate functions as well, such as MIN() [...]]]></description>
		<wfw:commentRss>http://www.fordevs.com/2008/12/using-over-with-aggregate-functions-in.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Create Database,Table and Procedure in Sql Server &#8211; Beginners</title>
		<link>http://www.fordevs.com/2008/11/create-databasetable-and-procedure-in.html</link>
		<comments>http://www.fordevs.com/2008/11/create-databasetable-and-procedure-in.html#comments</comments>
		<pubDate>Tue, 25 Nov 2008 11:02:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sql Server]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://localhost/fordevs/2008/11/create-databasetable-and-procedure-in-sql-server-beginners.html</guid>
		<description><![CDATA[Database Creation : CREATE DATABASE EMPLOYEE Table Creation : CREATE TABLE EMPINFO(ROWID INT IDENTITY(1,1) NOT NULL,EMPID INT NOT NULL,EMPNAME VARCHAR(50) NOT NULL,EMPDEPT VARCHAR(3) NOT NULL,EMPSAL INT NOT NULL,EMPADDRESS VARCHAR(100) NOT NULL,ACTIVE CHAR(1) NOT NULL DEFAULT ‘T’) Procedure Creation : CREATE PROC EMPINFO_ADD_EDIT(@iEMPID INT,@vEMPNAME VARCHAR(50),@vEMPDEPT VARCHAR(3),@iEMPSAL INT ,@vEMPADDRESS VARCHAR(100),@cACTIVE CHAR(1))ASDECLARE @CNT INT;BEGINSET @CNT = 0;SELECT @CNT [...]]]></description>
		<wfw:commentRss>http://www.fordevs.com/2008/11/create-databasetable-and-procedure-in.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Check Sql Server database is Case Sensitive or Insensitive (Collation)</title>
		<link>http://www.fordevs.com/2008/11/check-sql-server-database-is-case.html</link>
		<comments>http://www.fordevs.com/2008/11/check-sql-server-database-is-case.html#comments</comments>
		<pubDate>Fri, 21 Nov 2008 10:24:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sql Server]]></category>

		<guid isPermaLink="false">http://localhost/fordevs/2008/11/check-sql-server-database-is-case-sensitive-or-insensitive-collation.html</guid>
		<description><![CDATA[If the collation property of a data base is 1.Latin1_General_BIN its case-sensitive2.SQL_Latin1_General_CP1_CI_AS or Latin1_General_CI_AI its case-insensitive There are two ways to find out the SQL Server Database Collation 1. Using DATABASEPROPERTYEX DATABASEPROPERTYEX gets the current setting of the specified database option or property for the specified database. Syntax :-DATABASEPROPERTYEX ( database , property ) SELECT [...]]]></description>
		<wfw:commentRss>http://www.fordevs.com/2008/11/check-sql-server-database-is-case.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>SQL Server Connection Using Integrated Security</title>
		<link>http://www.fordevs.com/2008/11/sql-server-connection-using-integrated.html</link>
		<comments>http://www.fordevs.com/2008/11/sql-server-connection-using-integrated.html#comments</comments>
		<pubDate>Fri, 14 Nov 2008 08:43:00 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Sql Server]]></category>

		<guid isPermaLink="false">http://localhost/fordevs/2008/11/sql-server-connection-using-integrated-security.html</guid>
		<description><![CDATA[When we are connecting sql server using windows authentication then we do not need to give the user name and pwd in the connection string. We have to provide the Integrated Security property to true. SqlConnection con = new SqlConnection(“Server=servername;Integrated Security=true; Database=emp”); Note : If your sql server is of windows authentication and if you [...]]]></description>
		<wfw:commentRss>http://www.fordevs.com/2008/11/sql-server-connection-using-integrated.html/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

