<?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; SQL</title>
	<atom:link href="http://resources.mdbitz.com/categories/sql/feed/" rel="self" type="application/rss+xml" />
	<link>http://resources.mdbitz.com</link>
	<description></description>
	<lastBuildDate>Mon, 22 Nov 2010 14:25:48 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.4</generator>
<xhtml:meta xmlns:xhtml="http://www.w3.org/1999/xhtml" name="robots" content="noindex" />
		<item>
		<title>Using the Describe command of IBM DB2 to get column data types</title>
		<link>http://resources.mdbitz.com/2010/06/using-the-describe-command-of-ibm-db2-to-get-column-data-types/</link>
		<comments>http://resources.mdbitz.com/2010/06/using-the-describe-command-of-ibm-db2-to-get-column-data-types/#comments</comments>
		<pubDate>Wed, 16 Jun 2010 17:33:51 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[DB2]]></category>
		<category><![CDATA[How To]]></category>
		<category><![CDATA[Column Data Type]]></category>
		<category><![CDATA[Column Type]]></category>
		<category><![CDATA[DESCRIBE]]></category>
		<category><![CDATA[DESCRIBE TABLE]]></category>
		<category><![CDATA[IBM]]></category>
		<category><![CDATA[SQL]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=1414</guid>
		<description><![CDATA[Ever find yourself working in an unfamiliar Database or table and in need of knowing what are the data types for the different columns? Well that recently happened to me when I had to expand some queries in a DB2 environment. As it turns out there exists the Describe command that outputs the columns of [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2010/06/using-the-describe-command-of-ibm-db2-to-get-column-data-types/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Multiplying a Database Column&#8217;s Values</title>
		<link>http://resources.mdbitz.com/2010/06/multiplying-a-database-columns-values/</link>
		<comments>http://resources.mdbitz.com/2010/06/multiplying-a-database-columns-values/#comments</comments>
		<pubDate>Tue, 01 Jun 2010 17:32:12 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[SQL]]></category>
		<category><![CDATA[Tips & Tricks]]></category>
		<category><![CDATA[ANTILOG]]></category>
		<category><![CDATA[EXP]]></category>
		<category><![CDATA[log]]></category>
		<category><![CDATA[Product]]></category>
		<category><![CDATA[SUM]]></category>
		<category><![CDATA[T-SQL]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=1395</guid>
		<description><![CDATA[Like most individuals I find the built int SUM function of SQL very helpful when performing computations. Recently however I found myself wondering how to compute the product of a result set grouped by some factor, and I found myself slightly at a lost as no Product function exists. Fortunately for us we can use [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2010/06/multiplying-a-database-columns-values/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Subtle but required syntax when writing a DB2 WHERE clause</title>
		<link>http://resources.mdbitz.com/2010/05/subtle-but-required-syntax-when-writing-a-db2-where-clause/</link>
		<comments>http://resources.mdbitz.com/2010/05/subtle-but-required-syntax-when-writing-a-db2-where-clause/#comments</comments>
		<pubDate>Wed, 26 May 2010 14:09:18 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[DB2]]></category>
		<category><![CDATA[AND]]></category>
		<category><![CDATA[OR]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[WHERE]]></category>
		<category><![CDATA[WHERE CLAUSE]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=1389</guid>
		<description><![CDATA[While continuing my exploration into the world of DB2 databases, I found myself confused as to why my basic SELECT &#8230; WHERE &#8230; statement were failing when I tried to do AND/OR clauses. After a little fumbling around I found the solution&#8230; parentheses. Parenthesis? you ask, yes. Simply put when you want to write a [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2010/05/subtle-but-required-syntax-when-writing-a-db2-where-clause/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How to limit rows returned in a DB2 database</title>
		<link>http://resources.mdbitz.com/2010/05/how-to-limit-rows-returned-in-a-db2-database/</link>
		<comments>http://resources.mdbitz.com/2010/05/how-to-limit-rows-returned-in-a-db2-database/#comments</comments>
		<pubDate>Tue, 25 May 2010 15:39:47 +0000</pubDate>
		<dc:creator>MDBitz - Matthew Denton</dc:creator>
				<category><![CDATA[DB2]]></category>
		<category><![CDATA[FETCH]]></category>
		<category><![CDATA[LIMIT]]></category>
		<category><![CDATA[ROWCOUNT]]></category>
		<category><![CDATA[SQL]]></category>
		<category><![CDATA[TOP]]></category>

		<guid isPermaLink="false">http://resources.mdbitz.com/?p=1383</guid>
		<description><![CDATA[Back from an extended vacation and I find myself in the middle of a project needing to export data from a DB2 database. Fortunately I have decent knowledge of SQL and the basic syntax matches up but then I found myself wanting to limit the results returned. Now in T-SQL and MySQL I often would [...]]]></description>
		<wfw:commentRss>http://resources.mdbitz.com/2010/05/how-to-limit-rows-returned-in-a-db2-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<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>
	</channel>
</rss>

