<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Últimas mensagens do tópico "select, onde está o erro:"]]></title>
		<link>http://www.portaljava.com/forum/posts/list/26.page</link>
		<description><![CDATA[Últimas mensagens enviadas no tópico "select, onde está o erro:"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>select, onde está o erro:</title>
				<description><![CDATA[ Olá,<br /> <br /> estou fazendo a seguinte select:<br />     cQuerySql = "select * from ESTADOS where ABREVIATURA = " + S;<br />  <br /> já tentei:<br />     cQuerySql = "select * from ESTADOS where ABREVIATURA = " + 'S';<br /> <br /> Mas sempre dá erro ao rodar. Informa que a coluna não existe.<br /> GDS Exception. 335544569. Dynamic SQL Error<br /> SQL error code = -206<br /> <br /> Um exemplo: Seleciono o estado PR ao executar a select ela fica assim:<br />     cQuerySql = "select * from ESTADOS where ABREVIATURA = PR;<br /> eu acho que  teria que ser assim:<br />     cQuerySql = "select * from ESTADOS where ABREVIATURA = 'PR';<br /> <br /> <br /> ]]></description>
				<guid isPermaLink="true">http://www.portaljava.com/forum/posts/preList/44604/164291.page</guid>
				<link>http://www.portaljava.com/forum/posts/preList/44604/164291.page</link>
				<pubDate><![CDATA[Thu, 3 Jul 2008 10:24:26]]> GMT</pubDate>
				<author><![CDATA[ rsa_tche]]></author>
			</item>
			<item>
				<title>Re:select, onde está o erro:</title>
				<description><![CDATA[ já resolvido:<br /> <br />     cQuerySql = "select * from ESTADOS where ABREVIATURA = '" + S +"' ";<br /> ]]></description>
				<guid isPermaLink="true">http://www.portaljava.com/forum/posts/preList/44604/164293.page</guid>
				<link>http://www.portaljava.com/forum/posts/preList/44604/164293.page</link>
				<pubDate><![CDATA[Thu, 3 Jul 2008 10:50:09]]> GMT</pubDate>
				<author><![CDATA[ rsa_tche]]></author>
			</item>
	</channel>
</rss>