<?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>Ein Karlsruher Bloggt! &#187; vorherige ID</title>
	<atom:link href="http://blog.mynotiz.de/tag/vorherige-id/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.mynotiz.de</link>
	<description>Java, PHP und alles rund ums Thema Informatik</description>
	<lastBuildDate>Thu, 26 Jan 2012 11:22:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.3</generator>
		<item>
		<title>Mysql nächste ID einer ID herrausfinden</title>
		<link>http://blog.mynotiz.de/programmieren/mysql-nachste-id-einer-id-herrausfinden-510/</link>
		<comments>http://blog.mynotiz.de/programmieren/mysql-nachste-id-einer-id-herrausfinden-510/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 08:49:47 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Datenbank]]></category>
		<category><![CDATA[Programmieren]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[nachfolgende ID]]></category>
		<category><![CDATA[nächste ID]]></category>
		<category><![CDATA[nächster Eintrag]]></category>
		<category><![CDATA[vorherige ID]]></category>

		<guid isPermaLink="false">http://blog.mynotiz.de/?p=510</guid>
		<description><![CDATA[Heute bin ich bei einem Pager einer Webapplikation auf das Problem gestoßen die nächste ID eines MySQL Datenbank Eintrags herrauszufinden. Nach kurzem suchen habe ich im Netz folgenden Lösungsvorschlag gefunden. Nächste ID SELECT MIN(id) FROM tabelle WHERE id &#62; {letze ID} Vorherige ID SELECT MAX(id) FROM tabelle WHERE id &#60; {letze ID} Damit kann man [...]
Ähnliche Beiträge:<ol>
<li><a href='http://blog.mynotiz.de/programmieren/php-tutorial-ajax-suche-aus-einer-mysql-datenbank-15/' rel='bookmark' title='PHP: Tutorial Ajax Suche aus einer MySQL Datenbank'>PHP: Tutorial Ajax Suche aus einer MySQL Datenbank</a> <small>Heute möchte ich euch zeigen wie man Schritt für Schritt...</small></li>
<li><a href='http://blog.mynotiz.de/programmieren/mysql-timestamp-in-java-date-umwandeln-und-umgekehrt-285/' rel='bookmark' title='MySQL TIMESTAMP in JAVA Date umwandeln (und umgekehrt)'>MySQL TIMESTAMP in JAVA Date umwandeln (und umgekehrt)</a> <small>Oft ist beim entwickeln von Java basierten Webanwendungen so dass...</small></li>
<li><a href='http://blog.mynotiz.de/internet/was-tun-bei-einer-hausdurchsuchung-402/' rel='bookmark' title='Was tun bei einer Hausdurchsuchung?'>Was tun bei einer Hausdurchsuchung?</a> <small>Durch Zufall im Netz gefunden . Die grünen Männchen stehen...</small></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Heute bin ich bei einem Pager einer Webapplikation auf das Problem gestoßen die <strong>nächste ID</strong> eines MySQL Datenbank Eintrags herrauszufinden. Nach kurzem suchen habe ich im Netz folgenden Lösungsvorschlag gefunden.</p>
<h2>Nächste ID</h2>
<div align="left" class="java" style="border: 1px dotted black; padding: 5px; background-color: #EBEBEB;"><span style="color: #663821;">SELECT</span> <span style="color: #871550;">MIN</span>(<span class="highlight">id</span>) <span style="color: #663821;">FROM</span> tabelle <span style="color: #663821;">WHERE</span> <span class="highlight">id</span> <span style="color: green;">&gt;</span> <span style="color: green;">{letze ID}<br />
</span></div>
<h2>Vorherige ID</h2>
<div align="left" class="java" style="border: 1px dotted black; padding: 5px; background-color: #EBEBEB;"><span style="color: #663821;">SELECT</span> <span style="color: #663821;"><span style="color: #871550;">MAX</span></span>(<span class="highlight">id</span>) <span style="color: #663821;">FROM</span> tabelle <span style="color: #663821;">WHERE</span> <span class="highlight">id</span> <span style="color: green;">&lt;</span> <span style="color: green;">{letze ID}</span></div>
<p>Damit kann man über SQL die <strong>nächst größere</strong> beziehungsweise die <strong>nächste kleinere ID</strong> ermitteln.</p>
<div class="bottomcontainerBox" style="">
			<div style="float:left; width:140px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<iframe src="http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fblog.mynotiz.de%2Fprogrammieren%2Fmysql-nachste-id-einer-id-herrausfinden-510%2F&amp;layout=button_count&amp;show_faces=false&amp;width=140&amp;action=like&amp;font=verdana&amp;colorscheme=light&amp;height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width=140px; height:21px;" allowTransparency="true"></iframe></div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<g:plusone size="medium" href="http://blog.mynotiz.de/programmieren/mysql-nachste-id-einer-id-herrausfinden-510/"></g:plusone>
			</div>
			<div style="float:left; width:85px;padding-right:10px; margin:4px 4px 4px 4px;height:30px;">
			<a href="http://twitter.com/share" class="twitter-share-button" data-url="http://blog.mynotiz.de/programmieren/mysql-nachste-id-einer-id-herrausfinden-510/"  data-text="Mysql nächste ID einer ID herrausfinden" data-count="horizontal">Tweet</a>
			</div>			
			</div><div style="clear:both"></div><div style="padding-bottom:4px;"></div><p>Ähnliche Beiträge:<ol>
<li><a href='http://blog.mynotiz.de/programmieren/php-tutorial-ajax-suche-aus-einer-mysql-datenbank-15/' rel='bookmark' title='PHP: Tutorial Ajax Suche aus einer MySQL Datenbank'>PHP: Tutorial Ajax Suche aus einer MySQL Datenbank</a> <small>Heute möchte ich euch zeigen wie man Schritt für Schritt...</small></li>
<li><a href='http://blog.mynotiz.de/programmieren/mysql-timestamp-in-java-date-umwandeln-und-umgekehrt-285/' rel='bookmark' title='MySQL TIMESTAMP in JAVA Date umwandeln (und umgekehrt)'>MySQL TIMESTAMP in JAVA Date umwandeln (und umgekehrt)</a> <small>Oft ist beim entwickeln von Java basierten Webanwendungen so dass...</small></li>
<li><a href='http://blog.mynotiz.de/internet/was-tun-bei-einer-hausdurchsuchung-402/' rel='bookmark' title='Was tun bei einer Hausdurchsuchung?'>Was tun bei einer Hausdurchsuchung?</a> <small>Durch Zufall im Netz gefunden . Die grünen Männchen stehen...</small></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://blog.mynotiz.de/programmieren/mysql-nachste-id-einer-id-herrausfinden-510/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

