<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr - arunpjohny</title>
<link>http://snipplr.com/users/arunpjohny/language/sql</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Mon, 01 Dec 2008 15:12:09 GMT</pubDate>
<item>
<title>(SQL) add plpgsql support in postgresql(Linux)</title>
<link>http://snipplr.com/view/4258/add-plpgsql-support-in-postgresqllinux/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 04 Dec 2007 04:03:12 GMT</pubDate>
<guid>http://snipplr.com/view/4258/add-plpgsql-support-in-postgresqllinux/</guid>
</item>
<item>
<title>(SQL) Restore postgres backup file(dumpall)</title>
<link>http://snipplr.com/view/4162/restore-postgres-backup-filedumpall/</link>
<description><![CDATA[ <p>Restore a postgres backup file created using pg_dumpall command.

Login as postgres user</p> ]]></description>
<pubDate>Mon, 19 Nov 2007 22:48:10 GMT</pubDate>
<guid>http://snipplr.com/view/4162/restore-postgres-backup-filedumpall/</guid>
</item>
<item>
<title>(SQL) Posgres backups in linux</title>
<link>http://snipplr.com/view/4161/posgres-backups-in-linux/</link>
<description><![CDATA[ <p>Login as postgres user and try this command.

It will create a backup of entire data directory</p> ]]></description>
<pubDate>Mon, 19 Nov 2007 22:38:32 GMT</pubDate>
<guid>http://snipplr.com/view/4161/posgres-backups-in-linux/</guid>
</item>
<item>
<title>(SQL) Get the last date a given month</title>
<link>http://snipplr.com/view/3936/get-the-last-date-a-given-month/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 19 Oct 2007 04:27:09 GMT</pubDate>
<guid>http://snipplr.com/view/3936/get-the-last-date-a-given-month/</guid>
</item>
<item>
<title>(SQL) Add a interval to a given date in postgresql</title>
<link>http://snipplr.com/view/3935/add-a-interval-to-a-given-date-in-postgresql/</link>
<description><![CDATA[ <p>Add a given interval to a date. The intervals can be year, month or day</p> ]]></description>
<pubDate>Fri, 19 Oct 2007 04:26:27 GMT</pubDate>
<guid>http://snipplr.com/view/3935/add-a-interval-to-a-given-date-in-postgresql/</guid>
</item>
<item>
<title>(SQL) Get name of the weekday of a date in Postgresql</title>
<link>http://snipplr.com/view/3918/get-name-of-the-weekday-of-a-date-in-postgresql/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 16 Oct 2007 22:45:41 GMT</pubDate>
<guid>http://snipplr.com/view/3918/get-name-of-the-weekday-of-a-date-in-postgresql/</guid>
</item>
<item>
<title>(SQL) Function to get year from a date in Postgresql</title>
<link>http://snipplr.com/view/3917/function-to-get-year-from-a-date-in-postgresql/</link>
<description><![CDATA[ <p>This kind of functions will be use full if we are migrating a database from one provider to another like from MS SQL Server to Postgresql.</p> ]]></description>
<pubDate>Tue, 16 Oct 2007 22:44:10 GMT</pubDate>
<guid>http://snipplr.com/view/3917/function-to-get-year-from-a-date-in-postgresql/</guid>
</item>
<item>
<title>(SQL) Difference between two dates in Postgresql</title>
<link>http://snipplr.com/view/3916/difference-between-two-dates-in-postgresql/</link>
<description><![CDATA[ <p>Getting the difference between two dates in Postgresql. The difference can be in days, months or years.

For difference in days, months or years pass day, month or year as the first argument</p> ]]></description>
<pubDate>Tue, 16 Oct 2007 22:40:34 GMT</pubDate>
<guid>http://snipplr.com/view/3916/difference-between-two-dates-in-postgresql/</guid>
</item>
<item>
<title>(SQL) Postgresql : Alter the datatype of a column</title>
<link>http://snipplr.com/view/3793/postgresql--alter-the-datatype-of-a-column/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 26 Sep 2007 22:42:51 GMT</pubDate>
<guid>http://snipplr.com/view/3793/postgresql--alter-the-datatype-of-a-column/</guid>
</item>
<item>
<title>(SQL) datediff function in postgresql</title>
<link>http://snipplr.com/view/3650/datediff-function-in-postgresql/</link>
<description><![CDATA[ <p>A function which will give the difference between two dates in days, month or years.</p> ]]></description>
<pubDate>Fri, 07 Sep 2007 19:53:21 GMT</pubDate>
<guid>http://snipplr.com/view/3650/datediff-function-in-postgresql/</guid>
</item>
<item>
<title>(SQL) Install plpgsql in a database</title>
<link>http://snipplr.com/view/3642/install-plpgsql-in-a-database/</link>
<description><![CDATA[ <p>Installing plpgsql language in a postgresql database</p> ]]></description>
<pubDate>Thu, 06 Sep 2007 00:04:59 GMT</pubDate>
<guid>http://snipplr.com/view/3642/install-plpgsql-in-a-database/</guid>
</item>
<item>
<title>(SQL) Type Cast</title>
<link>http://snipplr.com/view/3641/type-cast/</link>
<description><![CDATA[ <p>Cast the given value from one data type to another</p> ]]></description>
<pubDate>Wed, 05 Sep 2007 19:36:06 GMT</pubDate>
<guid>http://snipplr.com/view/3641/type-cast/</guid>
</item>
<item>
<title>(SQL) Date Add/Substract</title>
<link>http://snipplr.com/view/3640/date-addsubstract/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 05 Sep 2007 19:31:06 GMT</pubDate>
<guid>http://snipplr.com/view/3640/date-addsubstract/</guid>
</item>
<item>
<title>(SQL) Date Parts</title>
<link>http://snipplr.com/view/3635/date-parts/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 05 Sep 2007 04:13:34 GMT</pubDate>
<guid>http://snipplr.com/view/3635/date-parts/</guid>
</item>
<item>
<title>(SQL) Checking for null in Postgresql</title>
<link>http://snipplr.com/view/3634/checking-for-null-in-postgresql/</link>
<description><![CDATA[ <p>Checking for null value and assigns a default value if the field is null</p> ]]></description>
<pubDate>Wed, 05 Sep 2007 04:11:13 GMT</pubDate>
<guid>http://snipplr.com/view/3634/checking-for-null-in-postgresql/</guid>
</item>
</channel>
</rss>