<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
	<channel>
		<title><![CDATA[Latest posts for the topic "[SOLVED] SQL data source"]]></title>
		<link>http://forum.infiniteautomation.com/forum/posts/list/3.page</link>
		<description><![CDATA[Latest messages posted in the topic "[SOLVED] SQL data source"]]></description>
		<generator>JForum - http://www.jforum.net</generator>
			<item>
				<title>[SOLVED] SQL data source</title>
				<description><![CDATA[ Hi,<br /> <br /> I'm configuring a SQL point and it have one parameter called "Update statement" (attachment), how it works? <br /> <br /> Can i create a UPDATE/INSERT using the value that the user set? <br /> <br /> Example: user on watch list set a point to 25, how can i put this value on the SQL, i need to use some environment variable? like VALUE or TIMESTAMP?<br /> <br /> update table set column1 = ?VALUE?, column2 = ?TIMESTAMP?<br /> where column3 = "test"<br /> <br /> <br /> [IMG]http://i45.tinypic.com/294nsic.png[/IMG]<br /> <br /> Thanks]]></description>
				<guid isPermaLink="true">http://forum.infiniteautomation.com/forum/posts/preList/1168/4935.page</guid>
				<link>http://forum.infiniteautomation.com/forum/posts/preList/1168/4935.page</link>
				<pubDate><![CDATA[Mon, 23 Jul 2012 20:22:07]]> GMT</pubDate>
				<author><![CDATA[ tiago156]]></author>
			</item>
			<item>
				<title>Re:SQL data source</title>
				<description><![CDATA[ Only the value is used, not the timestamp. Your insert/update statement might look like this:<br /> <br /> [code]update table set column1=? where column3='test'[/code]<br /> <br /> The '?' is the value parameter.<br /> <br /> ]]></description>
				<guid isPermaLink="true">http://forum.infiniteautomation.com/forum/posts/preList/1168/4947.page</guid>
				<link>http://forum.infiniteautomation.com/forum/posts/preList/1168/4947.page</link>
				<pubDate><![CDATA[Tue, 24 Jul 2012 14:25:07]]> GMT</pubDate>
				<author><![CDATA[ mlohbihler]]></author>
			</item>
			<item>
				<title>Re:SQL data source</title>
				<description><![CDATA[ Thank you.]]></description>
				<guid isPermaLink="true">http://forum.infiniteautomation.com/forum/posts/preList/1168/4949.page</guid>
				<link>http://forum.infiniteautomation.com/forum/posts/preList/1168/4949.page</link>
				<pubDate><![CDATA[Tue, 24 Jul 2012 15:40:10]]> GMT</pubDate>
				<author><![CDATA[ tiago156]]></author>
			</item>
	</channel>
</rss>