<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: mySQL to SQLite cheatsheet for iPhone developers</title>
	<atom:link href="http://www.juggleware.com/blog/2009/09/mysql-to-sqlite-cheatsheet-for-iphone-developers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.juggleware.com/blog/2009/09/mysql-to-sqlite-cheatsheet-for-iphone-developers/</link>
	<description>news and random thoughts from your friendly neighborhood independent developers at juggleware, llc</description>
	<lastBuildDate>Wed, 01 Feb 2012 20:57:21 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: MySQL to SQLite migration cheat sheet &#124; Studio Villegas</title>
		<link>http://www.juggleware.com/blog/2009/09/mysql-to-sqlite-cheatsheet-for-iphone-developers/comment-page-1/#comment-534</link>
		<dc:creator>MySQL to SQLite migration cheat sheet &#124; Studio Villegas</dc:creator>
		<pubDate>Sat, 19 Mar 2011 02:44:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.juggleware.com/blog/?p=140#comment-534</guid>
		<description>[...]  , under Database.   At work, we needed to migrate from MySQL to SQLite. All of this thanks to this cheatsheet we got the migration an easy task. But it didn&#8217;t explain many things, just the major part in [...]</description>
		<content:encoded><![CDATA[<p>[...]  , under Database.   At work, we needed to migrate from MySQL to SQLite. All of this thanks to this cheatsheet we got the migration an easy task. But it didn&#8217;t explain many things, just the major part in [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tweets that mention mySQL to SQLite cheatsheet for iPhone developers &#124; Juggleware Developers' Blog -- Topsy.com</title>
		<link>http://www.juggleware.com/blog/2009/09/mysql-to-sqlite-cheatsheet-for-iphone-developers/comment-page-1/#comment-528</link>
		<dc:creator>Tweets that mention mySQL to SQLite cheatsheet for iPhone developers &#124; Juggleware Developers' Blog -- Topsy.com</dc:creator>
		<pubDate>Fri, 11 Feb 2011 02:40:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.juggleware.com/blog/?p=140#comment-528</guid>
		<description>[...] This post was mentioned on Twitter by Angelo Villegas, Mai. Mai said: mySQL to SQLite cheatsheet for iPhone developers http://bit.ly/gQ4G11 (@anjerudesu) [...]</description>
		<content:encoded><![CDATA[<p>[...] This post was mentioned on Twitter by Angelo Villegas, Mai. Mai said: mySQL to SQLite cheatsheet for iPhone developers <a href="http://bit.ly/gQ4G11" rel="nofollow">http://bit.ly/gQ4G11</a> (@anjerudesu) [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mohammed Rafiq</title>
		<link>http://www.juggleware.com/blog/2009/09/mysql-to-sqlite-cheatsheet-for-iphone-developers/comment-page-1/#comment-527</link>
		<dc:creator>Mohammed Rafiq</dc:creator>
		<pubDate>Wed, 09 Feb 2011 12:44:48 +0000</pubDate>
		<guid isPermaLink="false">http://www.juggleware.com/blog/?p=140#comment-527</guid>
		<description>Hi,
Its good but can u guide me ,how to compare the values of foreign key with primary key.
Ex:
Am doing an app and have struck at a point based on sqlite database.
At first I have to create two tables on same view.In that tables I have to insert values from sqlite database tables.
In first table i have to get the values from first table.And in second table i have to get the values from second table by comparing with the foreign key.

table1                              table2

id  name                           id    id2  name1
1   Mohammed                 1    1       ABC  

2   Rafiq                            2    1      DEF

                                          3    2      ghi

in first table i need values Mohammed,Rafiq.
And when i click on Mohammed i used to get ABC,DEF in second table  or if select Rafiq  then ghi must display.
I am sending an app see tht and remodule it searching from a week.
and the selected data must be displayed in text fields.
I havent sen any answer for this.If needed I have called values from database to uitable views but not able to compare and diffrentiate .I can post if any one needed.
if any one gets this post to smrafiqsmd@gmail.com
Thank u</description>
		<content:encoded><![CDATA[<p>Hi,<br />
Its good but can u guide me ,how to compare the values of foreign key with primary key.<br />
Ex:<br />
Am doing an app and have struck at a point based on sqlite database.<br />
At first I have to create two tables on same view.In that tables I have to insert values from sqlite database tables.<br />
In first table i have to get the values from first table.And in second table i have to get the values from second table by comparing with the foreign key.</p>
<p>table1                              table2</p>
<p>id  name                           id    id2  name1<br />
1   Mohammed                 1    1       ABC  </p>
<p>2   Rafiq                            2    1      DEF</p>
<p>                                          3    2      ghi</p>
<p>in first table i need values Mohammed,Rafiq.<br />
And when i click on Mohammed i used to get ABC,DEF in second table  or if select Rafiq  then ghi must display.<br />
I am sending an app see tht and remodule it searching from a week.<br />
and the selected data must be displayed in text fields.<br />
I havent sen any answer for this.If needed I have called values from database to uitable views but not able to compare and diffrentiate .I can post if any one needed.<br />
if any one gets this post to <a href="mailto:smrafiqsmd@gmail.com">smrafiqsmd@gmail.com</a><br />
Thank u</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alec</title>
		<link>http://www.juggleware.com/blog/2009/09/mysql-to-sqlite-cheatsheet-for-iphone-developers/comment-page-1/#comment-522</link>
		<dc:creator>alec</dc:creator>
		<pubDate>Fri, 14 Jan 2011 18:12:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.juggleware.com/blog/?p=140#comment-522</guid>
		<description>david, what failed?</description>
		<content:encoded><![CDATA[<p>david, what failed?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: david</title>
		<link>http://www.juggleware.com/blog/2009/09/mysql-to-sqlite-cheatsheet-for-iphone-developers/comment-page-1/#comment-506</link>
		<dc:creator>david</dc:creator>
		<pubDate>Wed, 05 Jan 2011 13:05:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.juggleware.com/blog/?p=140#comment-506</guid>
		<description>tried it, failed, extremely desperate...</description>
		<content:encoded><![CDATA[<p>tried it, failed, extremely desperate&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alec</title>
		<link>http://www.juggleware.com/blog/2009/09/mysql-to-sqlite-cheatsheet-for-iphone-developers/comment-page-1/#comment-273</link>
		<dc:creator>alec</dc:creator>
		<pubDate>Wed, 15 Dec 2010 19:14:17 +0000</pubDate>
		<guid isPermaLink="false">http://www.juggleware.com/blog/?p=140#comment-273</guid>
		<description>Thomas,

It&#039;s been so long since I wrote this post that I couldn&#039;t tell you. I am sure I found them by searching the requisite terms on Google, however.</description>
		<content:encoded><![CDATA[<p>Thomas,</p>
<p>It&#8217;s been so long since I wrote this post that I couldn&#8217;t tell you. I am sure I found them by searching the requisite terms on Google, however.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: thomas fallon</title>
		<link>http://www.juggleware.com/blog/2009/09/mysql-to-sqlite-cheatsheet-for-iphone-developers/comment-page-1/#comment-272</link>
		<dc:creator>thomas fallon</dc:creator>
		<pubDate>Wed, 15 Dec 2010 18:43:20 +0000</pubDate>
		<guid isPermaLink="false">http://www.juggleware.com/blog/?p=140#comment-272</guid>
		<description>Hey, I just found this post while browsing a bit. It&#039;s was very informative. I&#039;m an iPhone app developer myself, but I&#039;ve never used phpMyAdmin before. You said there were other tutorials out there that had a more code oriented style, would you mind pointing me to any of them?</description>
		<content:encoded><![CDATA[<p>Hey, I just found this post while browsing a bit. It&#8217;s was very informative. I&#8217;m an iPhone app developer myself, but I&#8217;ve never used phpMyAdmin before. You said there were other tutorials out there that had a more code oriented style, would you mind pointing me to any of them?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: alec</title>
		<link>http://www.juggleware.com/blog/2009/09/mysql-to-sqlite-cheatsheet-for-iphone-developers/comment-page-1/#comment-270</link>
		<dc:creator>alec</dc:creator>
		<pubDate>Thu, 02 Dec 2010 19:33:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.juggleware.com/blog/?p=140#comment-270</guid>
		<description>Thanks for that, Chimpo.</description>
		<content:encoded><![CDATA[<p>Thanks for that, Chimpo.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Chimpo</title>
		<link>http://www.juggleware.com/blog/2009/09/mysql-to-sqlite-cheatsheet-for-iphone-developers/comment-page-1/#comment-269</link>
		<dc:creator>Chimpo</dc:creator>
		<pubDate>Thu, 02 Dec 2010 19:28:28 +0000</pubDate>
		<guid isPermaLink="false">http://www.juggleware.com/blog/?p=140#comment-269</guid>
		<description>Nice info.

Also: CONSTRAINTs / FOREIGN KEYs can be added to the Table creation as seen &lt;a href=&quot;http://www.sqlite.org/syntaxdiagrams.html#table-constraint&quot; rel=&quot;nofollow&quot;&gt;here&lt;/a&gt;, resetting INDICE counts for primary keys won&#039;t work (e.g. &quot;ALTER TABLE &quot;&quot; ALTER COLUMN &quot;id&quot; RESTART WITH 101;&quot;), cration of CACHED tables won&#039;t work and of course non-supported types have to be replaced. For BOOLEAN type one might choose INTEGER while replacing INSERT-values of FALSE with 0 and 1 resp. for TRUE.. etc.

Cheers and thanks for the heads up!
Recoding UTF-8 source can be done with native2ascii e.g. &quot;native2ascii -revert infile outfile&quot; for replacing \u...-encoded utf-8 with the native utf-8 encoding w/i sqlite. Or use iconv (&quot;man iconv&quot;) for other cases.</description>
		<content:encoded><![CDATA[<p>Nice info.</p>
<p>Also: CONSTRAINTs / FOREIGN KEYs can be added to the Table creation as seen <a href="http://www.sqlite.org/syntaxdiagrams.html#table-constraint" rel="nofollow">here</a>, resetting INDICE counts for primary keys won&#8217;t work (e.g. &#8220;ALTER TABLE &#8220;&#8221; ALTER COLUMN &#8220;id&#8221; RESTART WITH 101;&#8221;), cration of CACHED tables won&#8217;t work and of course non-supported types have to be replaced. For BOOLEAN type one might choose INTEGER while replacing INSERT-values of FALSE with 0 and 1 resp. for TRUE.. etc.</p>
<p>Cheers and thanks for the heads up!<br />
Recoding UTF-8 source can be done with native2ascii e.g. &#8220;native2ascii -revert infile outfile&#8221; for replacing \u&#8230;-encoded utf-8 with the native utf-8 encoding w/i sqlite. Or use iconv (&#8220;man iconv&#8221;) for other cases.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andi</title>
		<link>http://www.juggleware.com/blog/2009/09/mysql-to-sqlite-cheatsheet-for-iphone-developers/comment-page-1/#comment-265</link>
		<dc:creator>Andi</dc:creator>
		<pubDate>Mon, 18 Oct 2010 20:20:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.juggleware.com/blog/?p=140#comment-265</guid>
		<description>Thank you very much. Keep up the good work.</description>
		<content:encoded><![CDATA[<p>Thank you very much. Keep up the good work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

