<?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>SQL Script | Varinder Sandhu</title>
	<atom:link href="https://varindersandhu.in/tag/sql-script/feed/" rel="self" type="application/rss+xml" />
	<link>https://varindersandhu.in</link>
	<description>Keep it Simple and Smart</description>
	<lastBuildDate>Tue, 14 May 2013 13:34:19 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.8.3</generator>

<image>
	<url>https://varindersandhu.in/wp-content/uploads/2020/05/varindersandhu_favicon.ico</url>
	<title>SQL Script | Varinder Sandhu</title>
	<link>https://varindersandhu.in</link>
	<width>32</width>
	<height>32</height>
</image> 
<site xmlns="com-wordpress:feed-additions:1">22788835</site>	<item>
		<title>SQL Server &#8211; User Defined Group</title>
		<link>https://varindersandhu.in/2011/10/25/sql-server-user-defined-group/</link>
		
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Tue, 25 Oct 2011 12:25:46 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL-Advanced]]></category>
		<category><![CDATA[SQL-General]]></category>
		<category><![CDATA[SQL-Query]]></category>
		<category><![CDATA[SQL-Scripts]]></category>
		<category><![CDATA[SQL-Tips and Tricks]]></category>
		<category><![CDATA[Varinder Sandhu]]></category>
		<category><![CDATA[Custom Group]]></category>
		<category><![CDATA[SQL Script]]></category>
		<category><![CDATA[SQL Server]]></category>
		<guid isPermaLink="false">http://www.varindersandhu.in/?p=1838</guid>

					<description><![CDATA[<p>I had requirement to make the User Defined Group in Reports (i.e. Crystal Reports) Example: CREATE TABLE test_custom_group ( id INT, dept VARCHAR(20), detail VARCHAR(30), salary NUMERIC(5,2) ) Created a Function CREATE FUNCTION test_fn ( ) RETURNS @temp_table TABLE ( sno int, dept varchar(20), grp varchar(10) ) AS BEGIN INSERT</p>
<p>The post <a href="https://varindersandhu.in/2011/10/25/sql-server-user-defined-group/">SQL Server – User Defined Group</a> first appeared on <a href="https://varindersandhu.in">Varinder Sandhu</a>.</p>]]></description>
		
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1838</post-id>	</item>
		<item>
		<title>SQL Server – User Defined Sort Order</title>
		<link>https://varindersandhu.in/2011/10/24/sql-server-user-defined-sort-order/</link>
		
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Mon, 24 Oct 2011 12:49:11 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL-Advanced]]></category>
		<category><![CDATA[SQL-General]]></category>
		<category><![CDATA[SQL-Query]]></category>
		<category><![CDATA[SQL-Scripts]]></category>
		<category><![CDATA[SQL-Tips and Tricks]]></category>
		<category><![CDATA[Varinder Sandhu]]></category>
		<category><![CDATA[Custom Sort Order]]></category>
		<category><![CDATA[Sort Order]]></category>
		<category><![CDATA[SQL Script]]></category>
		<category><![CDATA[SQL Server]]></category>
		<guid isPermaLink="false">http://www.varindersandhu.in/?p=1814</guid>

					<description><![CDATA[<p>I had requirement to get the values with Use Defined Sort order. Here is simple way to get User Defined Sort order Example: Created a table as : CREATE TABLE sort_order ( id INT, dept VARCHAR(20), detail VARCHAR(30) ) Inserted few rows in table as Requirement: Now we want to</p>
<p>The post <a href="https://varindersandhu.in/2011/10/24/sql-server-user-defined-sort-order/">SQL Server – User Defined Sort Order</a> first appeared on <a href="https://varindersandhu.in">Varinder Sandhu</a>.</p>]]></description>
		
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1814</post-id>	</item>
		<item>
		<title>SQL Server – SQL Scripts to find and Kill all the Blocked Process in a database</title>
		<link>https://varindersandhu.in/2011/10/01/sql-server-sql-scripts-to-find-and-kill-all-the-blocked-process-in-a-database/</link>
		
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Sat, 01 Oct 2011 04:58:48 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL-Advanced]]></category>
		<category><![CDATA[SQL-Query]]></category>
		<category><![CDATA[SQL-Scripts]]></category>
		<category><![CDATA[SQL-Tips and Tricks]]></category>
		<category><![CDATA[Varinder Sandhu]]></category>
		<category><![CDATA[Block Process]]></category>
		<category><![CDATA[Kill Process]]></category>
		<category><![CDATA[SQL Script]]></category>
		<category><![CDATA[SQL Server]]></category>
		<guid isPermaLink="false">http://www.varindersandhu.in/?p=1674</guid>

					<description><![CDATA[<p>SQL Server database administrators frequently need in especially development and test environments to find and kill all the blocked process. Following scripts are useful in that scenario. Script &#8211; 1 -- Find All the Blocked Processes SELECT spid, status, loginame=SUBSTRING(loginame,1,12), hostname=SUBSTRING(hostname,1, 12), blk = CONVERT(char(3), blocked), dbname=SUBSTRING(DB_NAME(dbid),1, 10), cmd, waittype</p>
<p>The post <a href="https://varindersandhu.in/2011/10/01/sql-server-sql-scripts-to-find-and-kill-all-the-blocked-process-in-a-database/">SQL Server – SQL Scripts to find and Kill all the Blocked Process in a database</a> first appeared on <a href="https://varindersandhu.in">Varinder Sandhu</a>.</p>]]></description>
		
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1674</post-id>	</item>
		<item>
		<title>TSEQUAL and JOIN syntax as *= or =* not supported in SQL Server 2008</title>
		<link>https://varindersandhu.in/2011/06/27/tsequal-and-join-syntax-not-supported-in-sql-server-2008/</link>
					<comments>https://varindersandhu.in/2011/06/27/tsequal-and-join-syntax-not-supported-in-sql-server-2008/#comments</comments>
		
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Mon, 27 Jun 2011 17:18:34 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL-Advanced]]></category>
		<category><![CDATA[SQL-General]]></category>
		<category><![CDATA[SQL-Query]]></category>
		<category><![CDATA[SQL-Scripts]]></category>
		<category><![CDATA[Varinder Sandhu]]></category>
		<category><![CDATA[SQL Script]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[TSEQUAL]]></category>
		<guid isPermaLink="false">http://www.varindersandhu.in/?p=1261</guid>

					<description><![CDATA[<p>I have faced an issue during SQL Server Migration. Here sharing with you. As I need to move some databases from SQL Server 2000 to SQL Server 2008 then I faced a problem because TSEQUAL and JOIN syntax such as *= or =* not supported in SQL Server 2008. Some of</p>
<p>The post <a href="https://varindersandhu.in/2011/06/27/tsequal-and-join-syntax-not-supported-in-sql-server-2008/">TSEQUAL and JOIN syntax as *= or =* not supported in SQL Server 2008</a> first appeared on <a href="https://varindersandhu.in">Varinder Sandhu</a>.</p>]]></description>
		
					<wfw:commentRss>https://varindersandhu.in/2011/06/27/tsequal-and-join-syntax-not-supported-in-sql-server-2008/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1261</post-id>	</item>
		<item>
		<title>SQL Server &#8211; Comma Separated INSERT Option</title>
		<link>https://varindersandhu.in/2011/05/15/sql-server-comma-separated-insert-option/</link>
		
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Sun, 15 May 2011 12:52:48 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL-Advanced]]></category>
		<category><![CDATA[SQL-General]]></category>
		<category><![CDATA[SQL-Query]]></category>
		<category><![CDATA[SQL-Scripts]]></category>
		<category><![CDATA[SQL-Tips and Tricks]]></category>
		<category><![CDATA[Varinder Sandhu]]></category>
		<category><![CDATA[New Feature]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Script]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<guid isPermaLink="false">http://www.varindersandhu.in/?p=938</guid>

					<description><![CDATA[<p>&#160; Here is new feature of SQL Server 2008 &#8211; &#8220;Comma Separated INSERT Option&#8221; In this feature using a single INSERT statement you can pass multiple value for the table using comma separated option. USE testdb GO CREATE TABLE table1 ( id INT IDENTITY(1,1), name VARCHAR(255), address VARCHAR(255) ) SELECT</p>
<p>The post <a href="https://varindersandhu.in/2011/05/15/sql-server-comma-separated-insert-option/">SQL Server – Comma Separated INSERT Option</a> first appeared on <a href="https://varindersandhu.in">Varinder Sandhu</a>.</p>]]></description>
		
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">938</post-id>	</item>
		<item>
		<title>SQL Server &#8211; Insert same value multiple time in SQL table</title>
		<link>https://varindersandhu.in/2011/05/15/sql-server-insert-same-value-multiple-time-in-sql-table/</link>
		
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Sun, 15 May 2011 12:08:52 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL-Advanced]]></category>
		<category><![CDATA[SQL-General]]></category>
		<category><![CDATA[SQL-Query]]></category>
		<category><![CDATA[SQL-Scripts]]></category>
		<category><![CDATA[SQL-Tips and Tricks]]></category>
		<category><![CDATA[Varinder Sandhu]]></category>
		<category><![CDATA[SQL Query]]></category>
		<category><![CDATA[SQL Script]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<guid isPermaLink="false">http://www.varindersandhu.in/?p=920</guid>

					<description><![CDATA[<p>&#160; Here is an example:  Inserting same value multiple time in SQL table USE testdb GO CREATE TABLE table1 ( id INT IDENTITY(1,1), name VARCHAR(255), address VARCHAR(255) ) SELECT * FROM testdb..table1 INSERT INTO testdb..table1 VALUES ('Varinder','ABC Street') go 5 Result : &#160;</p>
<p>The post <a href="https://varindersandhu.in/2011/05/15/sql-server-insert-same-value-multiple-time-in-sql-table/">SQL Server – Insert same value multiple time in SQL table</a> first appeared on <a href="https://varindersandhu.in">Varinder Sandhu</a>.</p>]]></description>
		
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">920</post-id>	</item>
	</channel>
</rss>

<!--
Performance optimized by W3 Total Cache. Learn more: https://www.boldgrid.com/w3-total-cache/

Page Caching using Disk: Enhanced 
Database Caching using Disk

Served from: varindersandhu.in @ 2025-10-30 13:34:31 by W3 Total Cache
-->