<?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>Sean Behan&#039;s Web Development Portfolio and Blog &#187; syntax</title>
	<atom:link href="http://seanbehan.com/tag/syntax/feed/" rel="self" type="application/rss+xml" />
	<link>http://seanbehan.com</link>
	<description>Web Development, Wordpress, Moodle, Ruby on Rails and Design in Burlington, Vermont</description>
	<lastBuildDate>Fri, 30 Jul 2010 17:17:12 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dump MySQL Database without Drop Table Syntax</title>
		<link>http://seanbehan.com/databases/dump-mysql-database-without-drop-table-syntax/</link>
		<comments>http://seanbehan.com/databases/dump-mysql-database-without-drop-table-syntax/#comments</comments>
		<pubDate>Sat, 06 Feb 2010 00:57:34 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Databases]]></category>
		<category><![CDATA[flags]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[mysqldump]]></category>
		<category><![CDATA[syntax]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=781</guid>
		<description><![CDATA[Output .sql file for MySQL but without the drop table syntax before table name use the &#8211;skip-add-drop-table flag

mysqldump -u root -p database_name --skip-add-drop-table --skip-lock-tables > database_name.sql



Related posts:Sample Rails Database Config  for MySQL
Rake DB Everything, Dump, Destroy, Create, Load
NO Table Cell Spacing Please



Related posts:<ol><li><a href='http://seanbehan.com/ruby-on-rails/sample-rails-database-config-for-mysql/' rel='bookmark' title='Permanent Link: Sample Rails Database Config  for MySQL'>Sample Rails Database Config  for MySQL</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/rake-db-everything-dump-destroy-create-load/' rel='bookmark' title='Permanent Link: Rake DB Everything, Dump, Destroy, Create, Load'>Rake DB Everything, Dump, Destroy, Create, Load</a></li>
<li><a href='http://seanbehan.com/programming/no-table-cell-spacing-please/' rel='bookmark' title='Permanent Link: NO Table Cell Spacing Please'>NO Table Cell Spacing Please</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Output .sql file for MySQL but without the drop table syntax before table name use the &#8211;skip-add-drop-table flag</p>
<pre>
mysqldump -u root -p database_name --skip-add-drop-table --skip-lock-tables > database_name.sql
</pre>


<p>Related posts:<ol><li><a href='http://seanbehan.com/ruby-on-rails/sample-rails-database-config-for-mysql/' rel='bookmark' title='Permanent Link: Sample Rails Database Config  for MySQL'>Sample Rails Database Config  for MySQL</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/rake-db-everything-dump-destroy-create-load/' rel='bookmark' title='Permanent Link: Rake DB Everything, Dump, Destroy, Create, Load'>Rake DB Everything, Dump, Destroy, Create, Load</a></li>
<li><a href='http://seanbehan.com/programming/no-table-cell-spacing-please/' rel='bookmark' title='Permanent Link: NO Table Cell Spacing Please'>NO Table Cell Spacing Please</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/databases/dump-mysql-database-without-drop-table-syntax/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Cool Conditional Syntax in Ruby (on Rails)</title>
		<link>http://seanbehan.com/ruby-on-rails/cool-conditional-syntax-in-ruby-on-rails/</link>
		<comments>http://seanbehan.com/ruby-on-rails/cool-conditional-syntax-in-ruby-on-rails/#comments</comments>
		<pubDate>Thu, 01 Oct 2009 15:05:21 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Ruby on Rails]]></category>
		<category><![CDATA[beauty]]></category>
		<category><![CDATA[block]]></category>
		<category><![CDATA[conditional]]></category>
		<category><![CDATA[syntax]]></category>

		<guid isPermaLink="false">http://seanbehan.com/?p=541</guid>
		<description><![CDATA[Ruby is beautiful


@posts =
  if true
     Post.all
  else
    []
  end

Simply elegant!


Related posts:Dump MySQL Database without Drop Table Syntax
Quick Syntax to Pipe an SQL Query Directly to a file
named_scope in Rails



Related posts:<ol><li><a href='http://seanbehan.com/databases/dump-mysql-database-without-drop-table-syntax/' rel='bookmark' title='Permanent Link: Dump MySQL Database without Drop Table Syntax'>Dump MySQL Database without Drop Table Syntax</a></li>
<li><a href='http://seanbehan.com/programming/quick-syntax-to-pipe-an-sql-query-directly-to-a-file/' rel='bookmark' title='Permanent Link: Quick Syntax to Pipe an SQL Query Directly to a file'>Quick Syntax to Pipe an SQL Query Directly to a file</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/named_scope-in-rails/' rel='bookmark' title='Permanent Link: named_scope in Rails'>named_scope in Rails</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Ruby is beautiful</p>
<pre>

@posts =
  if true
     Post.all
  else
    []
  end
</pre>
<p>Simply elegant!</p>


<p>Related posts:<ol><li><a href='http://seanbehan.com/databases/dump-mysql-database-without-drop-table-syntax/' rel='bookmark' title='Permanent Link: Dump MySQL Database without Drop Table Syntax'>Dump MySQL Database without Drop Table Syntax</a></li>
<li><a href='http://seanbehan.com/programming/quick-syntax-to-pipe-an-sql-query-directly-to-a-file/' rel='bookmark' title='Permanent Link: Quick Syntax to Pipe an SQL Query Directly to a file'>Quick Syntax to Pipe an SQL Query Directly to a file</a></li>
<li><a href='http://seanbehan.com/ruby-on-rails/named_scope-in-rails/' rel='bookmark' title='Permanent Link: named_scope in Rails'>named_scope in Rails</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://seanbehan.com/ruby-on-rails/cool-conditional-syntax-in-ruby-on-rails/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
