<?xml version="1.0" encoding="iso-8859-1"?>
<rss version="2.0"     xmlns:dc="http://purl.org/dc/elements/1.1/"
    xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
    xmlns:admin="http://webns.net/mvcb/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:content="http://purl.org/rss/1.0/modules/content/"
    xmlns:atom="http://www.w3.org/2005/Atom">

  <channel>
    <title>Vorg sql RSS feed</title>
    <description>sql tag at the Vorg blog</description>
    <link>http://vorg.ca/tag/sql</link>
	<copyright>All items Copyright 2001-2004 by their respective authors</copyright>
    <dc:language>en-us</dc:language>
    <admin:errorReportsTo rdf:resource="mailto:info&#64;vorg&#46;com"/>
    <atom:link href="http://vorg.ca/tag/sql/rss.xml" rel="self" type="application/rss+xml"/>

<item>
      <title>INSERT ... ON DUPLICATE KEY UPDATE</title>
      <link>http://vorg.ca/1869-INSERT-...-ON-DUPLICATE-KEY-UPDATE</link>
      <description><![CDATA[ The other day I found out about MySQL's <a href="http://dev.mysql.com/doc/refman/5.0/en/insert-on-duplicate.html">INSERT ... ON DUPLICATE KEY UPDATE</a> statement. It allows you do do an INSERT when a given key doesn't exist, or to do an UPDATE statement when it does.<br><br>I have a lot of code that does a query to see if the given ID exists, and then does an INSERT or UPDATE depending on the condition. This statement should simplify such code nicely. Good thing I know about it now.<br><br>I'm not sure if this is MySQL specific or general SQL. I'm pretty firmly locked into MySQL already though, so it doesn't really matter to me.]]></description>
      <guid>http://vorg.ca/1869-INSERT-...-ON-DUPLICATE-KEY-UPDATE</guid>
      <dc:creator>dustin</dc:creator>
      <dc:subject>MySQL sql</dc:subject>
      <dc:date>2006-03-06T01:15:24-05:00</dc:date>
	  <comments>http://vorg.ca/1869-INSERT-...-ON-DUPLICATE-KEY-UPDATE#replies</comments>
</item>
<item>
      <title>RSSMailingList: a free combination RSS feed creator and mailing list manager</title>
      <link>http://vorg.ca/1426-RSSMailingList-a-free-combination-RSS-feed-creator-and-mailing-list-manager</link>
      <description><![CDATA[ For the Sillysoft Newsletter I wanted an email mailing list that also had an RSS feed of itself. This way users could subscribe whichever way they want. I didn't find anything that did what I wanted so I created my own using PHP and a MySQL database.<br><br>I mentioned it on the macsb mailing list offering to share my code. A few people seemed interested, so I cleaned it up a bunch and hereby release it as <a href="http://www.rssmailinglist.com/">RSSMailingList</a>!<br><br>If you want a combination RSS feed generator and mailing list manager then check it out.]]></description>
      <guid>http://vorg.ca/1426-RSSMailingList-a-free-combination-RSS-feed-creator-and-mailing-list-manager</guid>
      <dc:creator>dustin</dc:creator>
      <dc:subject>PHP RSS MySQL</dc:subject>
      <dc:date>2005-04-21T01:34:14-04:00</dc:date>
	  <comments>http://vorg.ca/1426-RSSMailingList-a-free-combination-RSS-feed-creator-and-mailing-list-manager#replies</comments>
</item>
<item>
      <title>Importing database backups into MySQL</title>
      <link>http://vorg.ca/1420-Importing-database-backups-into-MySQL</link>
      <description><![CDATA[ Reminder to self: The command to run an SQL file into MySQL is:<br><pre>mysql -u USER -p DBNAME < dump.sql</pre>More info to be found at <a href="http://answers.google.com/answers/threadview?id=24558">google answers page</a>.]]></description>
      <guid>http://vorg.ca/1420-Importing-database-backups-into-MySQL</guid>
      <dc:creator>dustin</dc:creator>
      <dc:subject>MySQL sql</dc:subject>
      <dc:date>2005-04-19T21:36:06-04:00</dc:date>
	  <comments>http://vorg.ca/1420-Importing-database-backups-into-MySQL#replies</comments>
</item>
<item>
      <title>the MS SQL equivalent to MySQL's 'limit' command</title>
      <link>http://vorg.ca/626-the-MS-SQL-equivalent-to-MySQLs-limit-command</link>
      <description><![CDATA[ The MS SQL eqivalent of MySQL's LIMIT clause is TOP. Example: <br><br>SELECT TOP 10 * FROM stuff; <br><br>Will return the top ten rows, effectively doing the same thing as <br><br>SELET * FROM stuff LIMIT 10; <br><br>This was found <a href="http://www.phpbuilder.com/annotate/message.php3?id=1007713">here</a> and has been verified by me that it actually works.]]></description>
      <guid>http://vorg.ca/626-the-MS-SQL-equivalent-to-MySQLs-limit-command</guid>
      <dc:creator>dustin</dc:creator>
      <dc:subject>MySQL Microsoft</dc:subject>
      <dc:date>2004-02-11T16:27:06-05:00</dc:date>
	  <comments>http://vorg.ca/626-the-MS-SQL-equivalent-to-MySQLs-limit-command#replies</comments>
</item>

</channel>
</rss>
