<?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>Eimer Music &#187; mysql</title> <atom:link href="http://www.eimermusic.com/tag/mysql/feed/" rel="self" type="application/rss+xml" /><link>http://www.eimermusic.com</link> <description>been here since 2002</description> <lastBuildDate>Tue, 31 Aug 2010 20:26:04 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=abc</generator> <item><title>Finding ordered position of a row in MySQL</title><link>http://www.eimermusic.com/the-pensive/finding-ordered-position-of-a-row-in-mysql/</link> <comments>http://www.eimermusic.com/the-pensive/finding-ordered-position-of-a-row-in-mysql/#comments</comments> <pubDate>Mon, 02 Feb 2009 17:29:24 +0000</pubDate> <dc:creator>martin</dc:creator> <category><![CDATA[The Pensive]]></category> <category><![CDATA[find]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[position]]></category><guid
isPermaLink="false">http://next.eimermusic.com/?p=62</guid> <description><![CDATA[This is slightly modified from something I found @ http://www.kirupa.com/forum/archive/index.php/t-263260.html Using high-score lists or similar you often have a large number of rows where you want to know who is in 7th place or how well is id:254 doing. This eliminates the slow looping in php of big result-sets by making a sub-query in MySQL. [...]]]></description> <wfw:commentRss>http://www.eimermusic.com/the-pensive/finding-ordered-position-of-a-row-in-mysql/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Locating potential duplicate before switching collation in MySQL</title><link>http://www.eimermusic.com/the-pensive/locating-potential-duplicate-before-switching-collation-in-mysql/</link> <comments>http://www.eimermusic.com/the-pensive/locating-potential-duplicate-before-switching-collation-in-mysql/#comments</comments> <pubDate>Tue, 07 Oct 2008 17:27:50 +0000</pubDate> <dc:creator>martin</dc:creator> <category><![CDATA[The Pensive]]></category> <category><![CDATA[collation]]></category> <category><![CDATA[duplicates]]></category> <category><![CDATA[mysql]]></category><guid
isPermaLink="false">http://next.eimermusic.com/?p=60</guid> <description><![CDATA[When you need to switch a fields collation you can check if any existing data will conflict with this change. For example a keyword-field might contain data that is considered unique in one collation but not in another. The Swedish character ä is considered a unique character in swedish collation but in general collation it [...]]]></description> <wfw:commentRss>http://www.eimermusic.com/the-pensive/locating-potential-duplicate-before-switching-collation-in-mysql/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Inserting from a select in MySQL</title><link>http://www.eimermusic.com/the-pensive/inserting-from-a-select-in-mysql/</link> <comments>http://www.eimermusic.com/the-pensive/inserting-from-a-select-in-mysql/#comments</comments> <pubDate>Sun, 31 Aug 2008 17:24:10 +0000</pubDate> <dc:creator>martin</dc:creator> <category><![CDATA[The Pensive]]></category> <category><![CDATA[insert]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[select]]></category><guid
isPermaLink="false">http://next.eimermusic.com/?p=54</guid> <description><![CDATA[Quite simple but something I can never seem to remember: INSERT INTO files_users &#40;file_id, user_id&#41; SELECT id, '2' FROM efs.files; found @ http://mysql-tips.blogspot.com/2005/04/mysql-insert-select-example.html]]></description> <wfw:commentRss>http://www.eimermusic.com/the-pensive/inserting-from-a-select-in-mysql/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Fixing existing data when switching character set in MySQL</title><link>http://www.eimermusic.com/the-pensive/fixing-existing-data-when-switching-character-set-in-mysql/</link> <comments>http://www.eimermusic.com/the-pensive/fixing-existing-data-when-switching-character-set-in-mysql/#comments</comments> <pubDate>Tue, 24 Jun 2008 19:03:50 +0000</pubDate> <dc:creator>martin</dc:creator> <category><![CDATA[The Pensive]]></category> <category><![CDATA[character set]]></category> <category><![CDATA[convert]]></category> <category><![CDATA[mysql]]></category><guid
isPermaLink="false">http://next.eimermusic.com/?p=33</guid> <description><![CDATA[When altering a database, table or field from one character set to another, existing data will probably look garbled since it is expected to be in the new character set. To "convert" existing data is not always easy. This method (found in the comments of a blog entry I have lost the url for) works as long as you can keep the database "locked" when you do this. Otherwise you will convert any new data entered and make that data look garbled.]]></description> <wfw:commentRss>http://www.eimermusic.com/the-pensive/fixing-existing-data-when-switching-character-set-in-mysql/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Altering character set and collation of tables in MySQL</title><link>http://www.eimermusic.com/the-pensive/altering-character-set-and-collation-of-tables-in-mysql/</link> <comments>http://www.eimermusic.com/the-pensive/altering-character-set-and-collation-of-tables-in-mysql/#comments</comments> <pubDate>Tue, 24 Jun 2008 18:59:13 +0000</pubDate> <dc:creator>martin</dc:creator> <category><![CDATA[The Pensive]]></category> <category><![CDATA[character set]]></category> <category><![CDATA[collation]]></category> <category><![CDATA[mysql]]></category><guid
isPermaLink="false">http://next.eimermusic.com/?p=29</guid> <description><![CDATA[Altering the character set and collation of a table is sometimes not enough. You may have to alter the actual fields in the table to get MySQL to comply in some cases. I don&#8217;t know why or when MySQL does this. ALTER TABLE my_table DEFAULT CHARSET=utf8 COLLATE=utf8_swedish_ci; &#160; ALTER TABLE my_table MODIFY my_field varchar&#40;255&#41; CHARACTER [...]]]></description> <wfw:commentRss>http://www.eimermusic.com/the-pensive/altering-character-set-and-collation-of-tables-in-mysql/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Preferred character set and collation in MySQL</title><link>http://www.eimermusic.com/the-pensive/preferred-character-set-and-collation-in-mysql/</link> <comments>http://www.eimermusic.com/the-pensive/preferred-character-set-and-collation-in-mysql/#comments</comments> <pubDate>Tue, 24 Jun 2008 18:57:04 +0000</pubDate> <dc:creator>martin</dc:creator> <category><![CDATA[The Pensive]]></category> <category><![CDATA[character set]]></category> <category><![CDATA[collation]]></category> <category><![CDATA[mysql]]></category><guid
isPermaLink="false">http://next.eimermusic.com/?p=26</guid> <description><![CDATA[My preferred character set is utf8. One big drawback in many cases can be that the default collation ignores accents for characters. The result is that &#8220;halla&#8221; and &#8220;hallå&#8221; is interpreted as the same word. This is of-course bad for storing general data such as names users or products that may very well have accented [...]]]></description> <wfw:commentRss>http://www.eimermusic.com/the-pensive/preferred-character-set-and-collation-in-mysql/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Replacing characters in MySQL table data</title><link>http://www.eimermusic.com/the-pensive/replacing-characters-in-mysql-table-data/</link> <comments>http://www.eimermusic.com/the-pensive/replacing-characters-in-mysql-table-data/#comments</comments> <pubDate>Tue, 24 Jun 2008 18:55:09 +0000</pubDate> <dc:creator>martin</dc:creator> <category><![CDATA[The Pensive]]></category> <category><![CDATA[characters]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[replace]]></category><guid
isPermaLink="false">http://next.eimermusic.com/?p=20</guid> <description><![CDATA[This may be useful when for example the character encoding has been messed up and you need to correct existing data. This example will correct swedish accented characters in a uft8 &#8211; latin1 mixup. UPDATE my_table SET my_field = REPLACE&#40;my_field,'Ã¥','å'&#41;; &#160; UPDATE my_table SET my_field = REPLACE&#40;my_field,'Ã¤','ä'&#41;; &#160; UPDATE my_table SET my_field = REPLACE&#40;my_field,'Ã¶','ö'&#41;; &#160; [...]]]></description> <wfw:commentRss>http://www.eimermusic.com/the-pensive/replacing-characters-in-mysql-table-data/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk
Page Caching using disk (enhanced)
Database Caching 2/10 queries in 0.001 seconds using disk

Served from: www.eimermusic.com @ 2010-09-09 13:45:55 -->