<?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>Tips and Tricks | Varinder Sandhu</title>
	<atom:link href="https://varindersandhu.in/tag/tips-and-tricks/feed/" rel="self" type="application/rss+xml" />
	<link>https://varindersandhu.in</link>
	<description>Keep it Simple and Smart</description>
	<lastBuildDate>Wed, 10 Jul 2013 16:58:18 +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>Tips and Tricks | 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; sp_MSforeachdb &#8211; Undocumented Stored Procedure</title>
		<link>https://varindersandhu.in/2011/10/16/sql-server-sp_msforeachdb-undocumented-stored-procedure/</link>
		
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Sun, 16 Oct 2011 04:56:34 +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[sp_MSforeachdb]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<guid isPermaLink="false">http://www.varindersandhu.in/?p=1784</guid>

					<description><![CDATA[<p>The undocumented stored procedure &#8220;sp_MSforeachdb&#8221; is found in the &#8220;master&#8221; database. This is similar to sp_MSforeachtable. This stored procedure Sp_MSforeachdb gives a DBA the ability to cycle through every database in your catalog. This stored procedure will loop every database in your catalog for performing a command. This stored procedure</p>
<p>The post <a href="https://varindersandhu.in/2011/10/16/sql-server-sp_msforeachdb-undocumented-stored-procedure/">SQL Server – sp_MSforeachdb – Undocumented Stored Procedure</a> first appeared on <a href="https://varindersandhu.in">Varinder Sandhu</a>.</p>]]></description>
		
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1784</post-id>	</item>
		<item>
		<title>SQL Server &#8211; sp_MSforeachtable &#8211; Undocumented Stored Procedure</title>
		<link>https://varindersandhu.in/2011/10/16/sql-server-sp_msforeachtable-undocumented-stored-procedure/</link>
					<comments>https://varindersandhu.in/2011/10/16/sql-server-sp_msforeachtable-undocumented-stored-procedure/#comments</comments>
		
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Sat, 15 Oct 2011 19:13:36 +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[sp_MSforeachtable]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<guid isPermaLink="false">http://www.varindersandhu.in/?p=1772</guid>

					<description><![CDATA[<p>As database administrators or developers, sometimes we need to perform an action on all of the tables within a database. For example, we may want to disable check constraints for all tables prior to loading a bunch of data. No doubt we can use the dynamic statement or cursor for</p>
<p>The post <a href="https://varindersandhu.in/2011/10/16/sql-server-sp_msforeachtable-undocumented-stored-procedure/">SQL Server – sp_MSforeachtable – Undocumented Stored Procedure</a> first appeared on <a href="https://varindersandhu.in">Varinder Sandhu</a>.</p>]]></description>
		
					<wfw:commentRss>https://varindersandhu.in/2011/10/16/sql-server-sp_msforeachtable-undocumented-stored-procedure/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1772</post-id>	</item>
		<item>
		<title>SQL Server &#8211; Local temporary table vs. Global temporary table</title>
		<link>https://varindersandhu.in/2011/06/05/sql-server-local-temporary-table-vs-global-temporary-table/</link>
					<comments>https://varindersandhu.in/2011/06/05/sql-server-local-temporary-table-vs-global-temporary-table/#comments</comments>
		
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Sun, 05 Jun 2011 16:34:40 +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[global temp table]]></category>
		<category><![CDATA[local temp table]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[temp table]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<guid isPermaLink="false">http://www.varindersandhu.in/?p=1167</guid>

					<description><![CDATA[<p>Temporary tables are a useful feature provided by SQL Server. Temporary tables created at runtime and can do all kinds of operations that one normal table can do. Because this is available at runtime, that’s why the scope of temporary tables is limited. These tables are created inside the tempdb</p>
<p>The post <a href="https://varindersandhu.in/2011/06/05/sql-server-local-temporary-table-vs-global-temporary-table/">SQL Server – Local temporary table vs. Global temporary table</a> first appeared on <a href="https://varindersandhu.in">Varinder Sandhu</a>.</p>]]></description>
		
					<wfw:commentRss>https://varindersandhu.in/2011/06/05/sql-server-local-temporary-table-vs-global-temporary-table/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1167</post-id>	</item>
		<item>
		<title>SQL Server &#8211; Database Read Only</title>
		<link>https://varindersandhu.in/2011/05/22/sql-server-database-read-only/</link>
		
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Sun, 22 May 2011 12:13:59 +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[Alter Database]]></category>
		<category><![CDATA[Database Read Only]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<guid isPermaLink="false">http://www.varindersandhu.in/?p=1008</guid>

					<description><![CDATA[<p>Here is simple script with you can set your database in Read-Only Mode Once you specify database is in read-only mode then users can read data from the database, not modify it. Here is Script : Mark Database Read Only USE [master] GO ALTER DATABASE database_name SET READ_ONLY WITH NO_WAIT</p>
<p>The post <a href="https://varindersandhu.in/2011/05/22/sql-server-database-read-only/">SQL Server – Database Read Only</a> first appeared on <a href="https://varindersandhu.in">Varinder Sandhu</a>.</p>]]></description>
		
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">1008</post-id>	</item>
		<item>
		<title>SQL Server &#8211; Management Studio &#8211; Add an External Tool to the Tools Menu</title>
		<link>https://varindersandhu.in/2011/05/20/sql-server-management-studio-add-an-external-tool-to-the-tools-menu/</link>
					<comments>https://varindersandhu.in/2011/05/20/sql-server-management-studio-add-an-external-tool-to-the-tools-menu/#comments</comments>
		
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Fri, 20 May 2011 07:26:09 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL-Advanced]]></category>
		<category><![CDATA[SQL-General]]></category>
		<category><![CDATA[SQL-Tips and Tricks]]></category>
		<category><![CDATA[Varinder Sandhu]]></category>
		<category><![CDATA[External tool]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[SQL Server Management Studio]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<guid isPermaLink="false">http://www.varindersandhu.in/?p=988</guid>

					<description><![CDATA[<p>We can launch any Microsoft Windows or Microsoft .NET Framework application from SQL Server Management Studio. External applications can be added to, and run from, the Tools menu. To add an external tool to the Tools menu On the Tools menu, click External Tools. In the Title text box, type the name you</p>
<p>The post <a href="https://varindersandhu.in/2011/05/20/sql-server-management-studio-add-an-external-tool-to-the-tools-menu/">SQL Server – Management Studio – Add an External Tool to the Tools Menu</a> first appeared on <a href="https://varindersandhu.in">Varinder Sandhu</a>.</p>]]></description>
		
					<wfw:commentRss>https://varindersandhu.in/2011/05/20/sql-server-management-studio-add-an-external-tool-to-the-tools-menu/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">988</post-id>	</item>
		<item>
		<title>SQL Server – Use of Cursors</title>
		<link>https://varindersandhu.in/2011/05/18/sql-server-use-of-cursors/</link>
		
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Wed, 18 May 2011 06:22:25 +0000</pubDate>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[SQL-Advanced]]></category>
		<category><![CDATA[SQL-Cursor]]></category>
		<category><![CDATA[SQL-General]]></category>
		<category><![CDATA[SQL-Tips and Tricks]]></category>
		<category><![CDATA[Varinder Sandhu]]></category>
		<category><![CDATA[Cursor Type]]></category>
		<category><![CDATA[Cursors]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<guid isPermaLink="false">http://www.varindersandhu.in/?p=976</guid>

					<description><![CDATA[<p>I have seen many different reasons and point of view on the use of cursors. Some people never used, some used at last resort and some used regularly. In each of these, they must have different reasons for their stand on cursor usage. There must have a reason or place</p>
<p>The post <a href="https://varindersandhu.in/2011/05/18/sql-server-use-of-cursors/">SQL Server – Use of Cursors</a> first appeared on <a href="https://varindersandhu.in">Varinder Sandhu</a>.</p>]]></description>
		
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">976</post-id>	</item>
		<item>
		<title>SQL Server – Import CSV file to SQL table &#8211; Bulk-Insert</title>
		<link>https://varindersandhu.in/2011/05/17/sql-server-import-csv-file-to-sql-table-bulk-insert/</link>
					<comments>https://varindersandhu.in/2011/05/17/sql-server-import-csv-file-to-sql-table-bulk-insert/#comments</comments>
		
		<dc:creator><![CDATA[Varinder Sandhu]]></dc:creator>
		<pubDate>Tue, 17 May 2011 05:20:26 +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[Bulk Insert]]></category>
		<category><![CDATA[Csv File]]></category>
		<category><![CDATA[Import CSV]]></category>
		<category><![CDATA[SQL Server]]></category>
		<category><![CDATA[Tips and Tricks]]></category>
		<guid isPermaLink="false">http://www.varindersandhu.in/?p=954</guid>

					<description><![CDATA[<p>Here is an example &#8211;  Import CSV file to SQL table using Bulk-Insert CSV file means  Comma Separated Values file. USE testdb GO CREATE TABLE table1 ( id INT, name VARCHAR(255), address VARCHAR(255) ) GO Create CSV file in Shared folder on any remote location with name csv.txt Suppose location</p>
<p>The post <a href="https://varindersandhu.in/2011/05/17/sql-server-import-csv-file-to-sql-table-bulk-insert/">SQL Server – Import CSV file to SQL table – Bulk-Insert</a> first appeared on <a href="https://varindersandhu.in">Varinder Sandhu</a>.</p>]]></description>
		
					<wfw:commentRss>https://varindersandhu.in/2011/05/17/sql-server-import-csv-file-to-sql-table-bulk-insert/feed/</wfw:commentRss>
			<slash:comments>5</slash:comments>
		
		
		<post-id xmlns="com-wordpress:feed-additions:1">954</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 14:29:59 by W3 Total Cache
-->