<?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>MDBitz Development Resources &#187; T-SQL</title>
	<atom:link href="http://resources.mdbitz.com/categories/sql/t-sql-sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://resources.mdbitz.com</link>
	<description></description>
	<lastBuildDate>Mon, 30 Aug 2010 19:05:05 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Using iSQL to connect to Sybase Databases via the Command Line</title>
		<link>http://resources.mdbitz.com/2010/04/using-isql-to-connect-to-sybase-databases-via-the-command-line/</link>
		<comments>http://resources.mdbitz.com/2010/04/using-isql-to-connect-to-sybase-databases-via-the-command-line/#comments</comments>
		<pubDate>Tue, 27 Apr 2010 14:27:17 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[DOS]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[connect]]></category>
		<category><![CDATA[Interactive SQL]]></category>
		<category><![CDATA[ISQL]]></category>
		<category><![CDATA[SYBASE]]></category>
		<category><![CDATA[Transact-SQL]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=1331</guid>
		<description><![CDATA[In most instances you will be using a User Interface of one sort or another to execute Transact-SQL commands against your Sybase Database Servers. In rare occasions however I find that I execute commands through the dos prompt via the Interactive SQL Utility or iSQL as it is more commonly referred. Opening a Connection BCP [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2010/04/using-isql-to-connect-to-sybase-databases-via-the-command-line/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Using the BCP utility to input and output data to/from Sybase</title>
		<link>http://resources.mdbitz.com/2010/04/using-the-bcp-utility-to-input-and-output-data-tofrom-sybase/</link>
		<comments>http://resources.mdbitz.com/2010/04/using-the-bcp-utility-to-input-and-output-data-tofrom-sybase/#comments</comments>
		<pubDate>Thu, 22 Apr 2010 15:58:26 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[DOS]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[Tools]]></category>
		<category><![CDATA[BCP]]></category>
		<category><![CDATA[Bulk Copy Utility]]></category>
		<category><![CDATA[Command Line]]></category>
		<category><![CDATA[SYBASE]]></category>
		<category><![CDATA[Transact-SQL]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=1333</guid>
		<description><![CDATA[When performing database maintenance you will occasionally find the need to export data out of your database tables to an operating system for storage, or conversely import data to a table from a file. You may find yourself needing to do these tasks for data backup or for inserting data that comes from a 3rd [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2010/04/using-the-bcp-utility-to-input-and-output-data-tofrom-sybase/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimizing T-SQL Procedures &#8211; Utilize same datatypes as is in the table</title>
		<link>http://resources.mdbitz.com/2010/04/optimizing-t-sql-procedures-utilize-same-datatypes-as-is-in-the-table/</link>
		<comments>http://resources.mdbitz.com/2010/04/optimizing-t-sql-procedures-utilize-same-datatypes-as-is-in-the-table/#comments</comments>
		<pubDate>Fri, 16 Apr 2010 17:52:54 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[Date]]></category>
		<category><![CDATA[DateTime]]></category>
		<category><![CDATA[performance]]></category>
		<category><![CDATA[SYBASE]]></category>
		<category><![CDATA[varchar]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=1318</guid>
		<description><![CDATA[Today I was running some tests on my T-SQL Procedures and noticed that for some reason my Select statement was performing in seconds compared to my Procedure which would take minutes to complete. After a few hours I stumbled upon my mistake I had used the date datatype in the procedure parameters when my database [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2010/04/optimizing-t-sql-procedures-utilize-same-datatypes-as-is-in-the-table/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to perform a batch delete in T-SQL</title>
		<link>http://resources.mdbitz.com/2010/03/how-to-perform-a-batch-delete-in-t-sql/</link>
		<comments>http://resources.mdbitz.com/2010/03/how-to-perform-a-batch-delete-in-t-sql/#comments</comments>
		<pubDate>Mon, 08 Mar 2010 15:10:06 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Batch]]></category>
		<category><![CDATA[DELETE]]></category>
		<category><![CDATA[dump tran]]></category>
		<category><![CDATA[TOP]]></category>
		<category><![CDATA[Transact-SQL]]></category>
		<category><![CDATA[truncate_only]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=1106</guid>
		<description><![CDATA[Database maintenance can be a full -time job when working within a large corporation. Cleanup or deletion of records can especially be time-consuming and error prone when dealing with large data tables with millions of records. Often developers will try to run a basic delete statement without knowing about batching or truncating the activity log. [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2010/03/how-to-perform-a-batch-delete-in-t-sql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>How to clear Syabse Transaction Logs</title>
		<link>http://resources.mdbitz.com/2010/03/how-to-clear-syabse-transaction-logs/</link>
		<comments>http://resources.mdbitz.com/2010/03/how-to-clear-syabse-transaction-logs/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 14:12:59 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[dump tran]]></category>
		<category><![CDATA[SYBASE]]></category>
		<category><![CDATA[Transact-SQL]]></category>
		<category><![CDATA[transaction log]]></category>
		<category><![CDATA[truncate_only]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=1092</guid>
		<description><![CDATA[It is often the case that developers new to databases will try to perform large data modifications without batching. When this happens in most cases the modification will fail with the error of the transaction log being full after you are presented with the message The transaction log in the database is almost full. Your [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2010/03/how-to-clear-syabse-transaction-logs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips &amp; Tricks: How to utilize triggers to batch migrate data between tables</title>
		<link>http://resources.mdbitz.com/2010/03/tips-tricks-how-to-utilize-triggers-to-batch-migrate-data-between-tables/</link>
		<comments>http://resources.mdbitz.com/2010/03/tips-tricks-how-to-utilize-triggers-to-batch-migrate-data-between-tables/#comments</comments>
		<pubDate>Thu, 04 Mar 2010 14:01:35 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[Code Snippets]]></category>
		<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Batch]]></category>
		<category><![CDATA[dump tran]]></category>
		<category><![CDATA[SYBASE]]></category>
		<category><![CDATA[Transact-SQL]]></category>
		<category><![CDATA[Transfer Data]]></category>
		<category><![CDATA[Triggers]]></category>
		<category><![CDATA[WHERE NOT EXISTS]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=1087</guid>
		<description><![CDATA[Transferring data between tables is a common task of database maintenance. It is used when updating database schemas or when you need to migrate data to a log or history table. There are 2 common methods for performing the transfer the first is done by use of a WHERE NOT EXISTS sub query, while the [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2010/03/tips-tricks-how-to-utilize-triggers-to-batch-migrate-data-between-tables/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to rename a Table, Column, or Index in Sybase T-SQL</title>
		<link>http://resources.mdbitz.com/2010/02/how-to-rename-a-table-column-or-index-in-sybase-t-sql/</link>
		<comments>http://resources.mdbitz.com/2010/02/how-to-rename-a-table-column-or-index-in-sybase-t-sql/#comments</comments>
		<pubDate>Wed, 24 Feb 2010 14:26:17 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[sp_rename]]></category>
		<category><![CDATA[SYBASE]]></category>
		<category><![CDATA[Transact-SQL]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=1042</guid>
		<description><![CDATA[When developing a new system or software you will often find yourself unsure on the proper naming schema to utilize, or you may find out you need to comply with a company&#8217;s standard nomenclature. When this happens you may want to take note of the sp_rename stored procedure available in Sybase. This procedure allows you [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2010/02/how-to-rename-a-table-column-or-index-in-sybase-t-sql/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Tips &amp; Tricks: Don&#8217;t use UPPER or LOWER function in optimized queries</title>
		<link>http://resources.mdbitz.com/2010/02/tips-tricks-dont-use-upper-or-lower-function-in-optimized-queries/</link>
		<comments>http://resources.mdbitz.com/2010/02/tips-tricks-dont-use-upper-or-lower-function-in-optimized-queries/#comments</comments>
		<pubDate>Wed, 10 Feb 2010 15:08:43 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[index]]></category>
		<category><![CDATA[LOWER]]></category>
		<category><![CDATA[optimization]]></category>
		<category><![CDATA[Transact-SQL]]></category>
		<category><![CDATA[UPPER]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=936</guid>
		<description><![CDATA[As a certain project at work evolves I find that more and more of my time is spent on optimizing the T-SQL queries that are utilized. Recently I have come across the issue that an index was not getting utilized in a sql query when I was using the UPPER or LOWER function to do [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2010/02/tips-tricks-dont-use-upper-or-lower-function-in-optimized-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Optimizing T-SQL by use of SHOWPLAN to tune SQL Queries</title>
		<link>http://resources.mdbitz.com/2009/12/optimizing-t-sql-by-use-of-showplan-to-tune-sql-queries/</link>
		<comments>http://resources.mdbitz.com/2009/12/optimizing-t-sql-by-use-of-showplan-to-tune-sql-queries/#comments</comments>
		<pubDate>Mon, 07 Dec 2009 18:33:52 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[Query Tuning]]></category>
		<category><![CDATA[SET STATISTICS IO]]></category>
		<category><![CDATA[SHOWPLAN]]></category>
		<category><![CDATA[SYBASE]]></category>
		<category><![CDATA[Transact-SQL]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=689</guid>
		<description><![CDATA[When writing SQL queries we often measure the performance of the query or procedure by the amount of time it takes to complete. Often I found myself saying that if it completes in a couple seconds then it is good. Lately however I have found myself more concerned with the IO count then with the [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2009/12/optimizing-t-sql-by-use-of-showplan-to-tune-sql-queries/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Sybase T-SQL: How to keep your indexes up-to-date with update statistics</title>
		<link>http://resources.mdbitz.com/2009/11/sybase-t-sql-how-to-keep-your-indexes-up-to-date-with-update-statistics/</link>
		<comments>http://resources.mdbitz.com/2009/11/sybase-t-sql-how-to-keep-your-indexes-up-to-date-with-update-statistics/#comments</comments>
		<pubDate>Wed, 18 Nov 2009 16:15:22 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[T-SQL]]></category>
		<category><![CDATA[Transact-SQL]]></category>
		<category><![CDATA[update statistics]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=626</guid>
		<description><![CDATA[After inserting, modifying, or deleting a large amount of records in a table that contains indexes performance of queries can be increased by use of the update statistics query. The update statistics query creates or replaces statistics on a column and stores them in the system tables systabstats and sysstatistics. Sybase utilizes these statistics when [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2009/11/sybase-t-sql-how-to-keep-your-indexes-up-to-date-with-update-statistics/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
