<?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>Srijith Unplugged &#187; Search Results  &#187;  mysql-rownum</title>
	<atom:link href="http://blog.sriunplugged.com/post/mysql-rownum/feed/rss2/" rel="self" type="application/rss+xml" />
	<link>http://blog.sriunplugged.com</link>
	<description>The place where I share my experiments on my computer</description>
	<lastBuildDate>Tue, 27 Dec 2011 20:57:51 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Important MySQL DBA Interview Questions</title>
		<link>http://blog.sriunplugged.com/mysql/important-mysql-dba-interview-questions/</link>
		<comments>http://blog.sriunplugged.com/mysql/important-mysql-dba-interview-questions/#comments</comments>
		<pubDate>Tue, 28 Jun 2011 06:58:55 +0000</pubDate>
		<dc:creator>Srijith R</dc:creator>
				<category><![CDATA[interview]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[dba]]></category>

		<guid isPermaLink="false">http://blog.sriunplugged.com/?p=343</guid>
		<description><![CDATA[<p>Here are a few sets of interview questions expected for MySQL DBA position.These are compilation of the usual questions from various DBA texts:



	What is Log Switch? - The point at which ORACLE ends writing to one online redo log file and begins writin&#160;...</p>]]></description>
		<wfw:commentRss>http://blog.sriunplugged.com/mysql/important-mysql-dba-interview-questions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing Django on Dreamhost</title>
		<link>http://blog.sriunplugged.com/python/installing-django-dreamhost/</link>
		<comments>http://blog.sriunplugged.com/python/installing-django-dreamhost/#comments</comments>
		<pubDate>Thu, 09 Jun 2011 08:27:36 +0000</pubDate>
		<dc:creator>Srijith R</dc:creator>
				<category><![CDATA[python]]></category>
		<category><![CDATA[dispatch.fcgi]]></category>
		<category><![CDATA[django]]></category>
		<category><![CDATA[dreamhost]]></category>
		<category><![CDATA[easy_install]]></category>
		<category><![CDATA[fcgi]]></category>
		<category><![CDATA[htaccess]]></category>
		<category><![CDATA[installing]]></category>
		<category><![CDATA[mysql-python]]></category>

		<guid isPermaLink="false">http://blog.sriunplugged.com/?p=337</guid>
		<description><![CDATA[<p>Installing Django in Dreamhost and getting it to run wasn't straight forward at-least to me. There was lot of issues such as python bin directory not accessible as its shared and so.



So the initial step in this to setup python yourself so that you can&#160;...</p>]]></description>
		<wfw:commentRss>http://blog.sriunplugged.com/python/installing-django-dreamhost/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Get the nth Word from a text field in mysql</title>
		<link>http://blog.sriunplugged.com/mysql/nth-word-text-field-mysql/</link>
		<comments>http://blog.sriunplugged.com/mysql/nth-word-text-field-mysql/#comments</comments>
		<pubDate>Fri, 15 Oct 2010 09:28:01 +0000</pubDate>
		<dc:creator>Srijith R</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[LENGTH]]></category>
		<category><![CDATA[nth word]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[string functions]]></category>

		<guid isPermaLink="false">http://blog.sriunplugged.com/?p=191</guid>
		<description><![CDATA[<p>I had a requirement to get the nth word out of a string and sort or order by the same. This is used when the text is stored in a purticular format and you would want to order it according to that or group it or so on.



So how is it done?

We do it us&#160;...</p>]]></description>
		<wfw:commentRss>http://blog.sriunplugged.com/mysql/nth-word-text-field-mysql/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Display row number in Mysql Select Query</title>
		<link>http://blog.sriunplugged.com/mysql/display-row-number-mysql-select-query/</link>
		<comments>http://blog.sriunplugged.com/mysql/display-row-number-mysql-select-query/#comments</comments>
		<pubDate>Tue, 17 Aug 2010 22:54:07 +0000</pubDate>
		<dc:creator>Srijith R</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[row number]]></category>
		<category><![CDATA[select]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[variable]]></category>

		<guid isPermaLink="false">http://blog.sriunplugged.com/?p=168</guid>
		<description><![CDATA[<p>How many times did want to have the row number or the position of the row in the selected query? I had many cases where I needed this feature. I needed the feature for printing the rank of a person where each row is the mark of the person. So lets see how &#160;...</p>]]></description>
		<wfw:commentRss>http://blog.sriunplugged.com/mysql/display-row-number-mysql-select-query/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Customizing Mysql Prompt For multiple Servers</title>
		<link>http://blog.sriunplugged.com/mysql/customizing-mysql-prompt-for-multiple-servers/</link>
		<comments>http://blog.sriunplugged.com/mysql/customizing-mysql-prompt-for-multiple-servers/#comments</comments>
		<pubDate>Sun, 08 Aug 2010 02:11:33 +0000</pubDate>
		<dc:creator>Srijith R</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[create]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[format]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[Linux Mac]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[TCP]]></category>
		<category><![CDATA[time]]></category>
		<category><![CDATA[variable]]></category>
		<category><![CDATA[windows]]></category>

		<guid isPermaLink="false">http://blog.sriunplugged.com/?p=98</guid>
		<description><![CDATA[<p>If you are using mysql regularly on multiple servers its really useful to have the promt in mysql to show something more than mysql&#62;. It would be useful if it showed the username,hostname, current database and things like that.
So how to do this.



&#160;...</p>]]></description>
		<wfw:commentRss>http://blog.sriunplugged.com/mysql/customizing-mysql-prompt-for-multiple-servers/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Generate Date from a range in Mysql and pad the results where no date is present</title>
		<link>http://blog.sriunplugged.com/mysql/generate-date-range/</link>
		<comments>http://blog.sriunplugged.com/mysql/generate-date-range/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 10:35:03 +0000</pubDate>
		<dc:creator>Srijith R</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[generate]]></category>
		<category><![CDATA[Generate Date]]></category>
		<category><![CDATA[padding]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[select]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[union]]></category>

		<guid isPermaLink="false">http://blog.sriunplugged.com/?p=299</guid>
		<description><![CDATA[<p>If you want to generate dates, MYSQL doesn't have a range function, so I wrote a work around for the same. So how  it works is I have reused a code to generate numbers from my previous post. So I added date function to that query and reduce the generated &#160;...</p>]]></description>
		<wfw:commentRss>http://blog.sriunplugged.com/mysql/generate-date-range/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Generate 1 to 1000 in mysql</title>
		<link>http://blog.sriunplugged.com/mysql/1-1000-mysql/</link>
		<comments>http://blog.sriunplugged.com/mysql/1-1000-mysql/#comments</comments>
		<pubDate>Sun, 25 Jul 2010 09:24:11 +0000</pubDate>
		<dc:creator>Srijith R</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[code]]></category>
		<category><![CDATA[dates]]></category>
		<category><![CDATA[generate]]></category>
		<category><![CDATA[numbers]]></category>
		<category><![CDATA[rows]]></category>
		<category><![CDATA[select]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[union]]></category>

		<guid isPermaLink="false">http://blog.sriunplugged.com/?p=285</guid>
		<description><![CDATA[<p>Sometimes its necessary to have thousand rows to join or generate new values, we need to get the thousand rows first. For this I used union of numbers 0-9.  I have joined four of these to get to four digit values. So here is the code:



[sql]SELECT @ro&#160;...</p>]]></description>
		<wfw:commentRss>http://blog.sriunplugged.com/mysql/1-1000-mysql/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Check the port in which the Mysql is running on</title>
		<link>http://blog.sriunplugged.com/mysql/check-port-mysql-running/</link>
		<comments>http://blog.sriunplugged.com/mysql/check-port-mysql-running/#comments</comments>
		<pubDate>Fri, 18 Jun 2010 12:21:43 +0000</pubDate>
		<dc:creator>Srijith R</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[global variables]]></category>
		<category><![CDATA[like]]></category>
		<category><![CDATA[PORT]]></category>
		<category><![CDATA[running]]></category>
		<category><![CDATA[show]]></category>
		<category><![CDATA[sql]]></category>
		<category><![CDATA[VARIABLES]]></category>

		<guid isPermaLink="false">http://blog.sriunplugged.com/?p=279</guid>
		<description><![CDATA[<p>Mysql can be configured to run other ports other than the default port (of 3306). So what will you do when you need to find the port on which a mysql server runs on. If you don't have access to the server files and can access the server only using the mysq&#160;...</p>]]></description>
		<wfw:commentRss>http://blog.sriunplugged.com/mysql/check-port-mysql-running/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Group by Date when Stored in Mysql DataBase as Date Time</title>
		<link>http://blog.sriunplugged.com/mysql/group-date-stored-mysql-database-date-time/</link>
		<comments>http://blog.sriunplugged.com/mysql/group-date-stored-mysql-database-date-time/#comments</comments>
		<pubDate>Mon, 10 May 2010 16:44:52 +0000</pubDate>
		<dc:creator>Srijith R</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[as mysql]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[date]]></category>
		<category><![CDATA[date function]]></category>
		<category><![CDATA[date time]]></category>
		<category><![CDATA[group by]]></category>
		<category><![CDATA[order by]]></category>

		<guid isPermaLink="false">http://blog.sriunplugged.com/?p=187</guid>
		<description><![CDATA[<p>I have a table called date_count with 2 columns one is a value and another is a date time, say called date_time in mysql. Date Time in mysql is stored as dd-mm-yy hh:mm:ss. The issue comes when I need to get the number of rows per day. As its stored as dat&#160;...</p>]]></description>
		<wfw:commentRss>http://blog.sriunplugged.com/mysql/group-date-stored-mysql-database-date-time/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Check if a table exists in MySQL from PHP</title>
		<link>http://blog.sriunplugged.com/php/check-table-exists-mysql-php/</link>
		<comments>http://blog.sriunplugged.com/php/check-table-exists-mysql-php/#comments</comments>
		<pubDate>Fri, 23 Apr 2010 10:55:55 +0000</pubDate>
		<dc:creator>Srijith R</dc:creator>
				<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[command]]></category>
		<category><![CDATA[database]]></category>
		<category><![CDATA[DBNAME]]></category>
		<category><![CDATA[query]]></category>
		<category><![CDATA[table]]></category>

		<guid isPermaLink="false">http://blog.sriunplugged.com/?p=170</guid>
		<description><![CDATA[<p>Sometimes its necessary to execute a query or execute some code if a table exists or not. So a bit of searching got me to the conclusion that mysql doesn't have a direct query or method for it from php. So there are two methods to do it.



	 Use the mys&#160;...</p>]]></description>
		<wfw:commentRss>http://blog.sriunplugged.com/php/check-table-exists-mysql-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

