<?xml version="1.0" encoding="UTF-8"?>        <rss version="2.0"
             xmlns:atom="http://www.w3.org/2005/Atom"
             xmlns:dc="http://purl.org/dc/elements/1.1/"
             xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
             xmlns:admin="http://webns.net/mvcb/"
             xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
             xmlns:content="http://purl.org/rss/1.0/modules/content/">
        <channel>
            <title>
									Insert Tag Value in a MSSQL Table. - Technical questions				            </title>
            <link>https://www.indi-an.com/de/community/technical-questions/insert-tag-value-in-a-mssql-table/</link>
            <description>Indi.An Germany Discussion Board</description>
            <language>de</language>
            <lastBuildDate>Thu, 05 Mar 2026 08:12:09 +0000</lastBuildDate>
            <generator>wpForo</generator>
            <ttl>60</ttl>
							                    <item>
                        <title>RE: Insert Tag Value in a MSSQL Table.</title>
                        <link>https://www.indi-an.com/de/community/technical-questions/insert-tag-value-in-a-mssql-table/#post-125</link>
                        <pubDate>Fri, 15 Mar 2024 09:17:11 +0000</pubDate>
                        <description><![CDATA[It seems that the backslash in your variable name is causing problems.When replacing variable names in SQL with SQL placeholders (?), the backslash in the name is treated as a escape charact...]]></description>
                        <content:encoded><![CDATA[<p>It seems that the backslash in your variable name is causing problems.<br /><br />When replacing variable names in SQL with SQL placeholders (?), the backslash in the name is treated as a escape character. We will be able to solve the problem with one of the next updates.<br /><br />Until then, the workaround is to remove the backslashes from the variable names.</p>]]></content:encoded>
						                            <category domain="https://www.indi-an.com/de/community/technical-questions/">Technical questions</category>                        <dc:creator>Matthias</dc:creator>
                        <guid isPermaLink="true">https://www.indi-an.com/de/community/technical-questions/insert-tag-value-in-a-mssql-table/#post-125</guid>
                    </item>
				                    <item>
                        <title>RE: Insert Tag Value in a MSSQL Table.</title>
                        <link>https://www.indi-an.com/de/community/technical-questions/insert-tag-value-in-a-mssql-table/#post-115</link>
                        <pubDate>Fri, 01 Mar 2024 17:18:49 +0000</pubDate>
                        <description><![CDATA[I Tried to use SQL Statement without curly brakets but with no success. I use this SQL Statement:
INSERT INTO . (Intero) VALUES (@Campetella.ns=2;s=Active_Production\OK_Parts)...]]></description>
                        <content:encoded><![CDATA[<p>I Tried to use SQL Statement without curly brakets but with no success. I use this SQL Statement:</p>
<p><span>INSERT INTO . (Intero) VALUES (</span><strong>@Campetella.ns=2;s=Active_Production\OK_Parts</strong><span>)</span></p>
<p>and in log.out was written this error:</p>
<p>ERROR 2024-03-01 17:07:45.008 UTC de.indisystems.quickhmi.server.c.a.b.a.a:343 - L'indice 1 non rientra nell'intervallo consentito.<br />com.microsoft.sqlserver.jdbc.SQLServerException: L'indice 1 non rientra nell'intervallo consentito.<br />at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:234) ~<br />at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setterGetParam(SQLServerPreparedStatement.java:1126) ~<br />at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setValue(SQLServerPreparedStatement.java:1140) ~<br />at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setString(SQLServerPreparedStatement.java:1685) ~<br />at de.indisystems.quickhmi.server.c.a.b.a.a.c(SourceFile:243) <br />at de.indisystems.quickhmi.server.c.a.b.a.a$a.run(SourceFile:374) <br />at java.lang.Thread.run(Thread.java:835) </p>
<p> </p>
<p>Only in this situation, with a constant, I succeeded in inserting row in the MSSQL Table.</p>
<p><span>INSERT INTO . (Intero) VALUES (</span><strong>22</strong><span>)</span></p>]]></content:encoded>
						                            <category domain="https://www.indi-an.com/de/community/technical-questions/">Technical questions</category>                        <dc:creator>n.lattarulo</dc:creator>
                        <guid isPermaLink="true">https://www.indi-an.com/de/community/technical-questions/insert-tag-value-in-a-mssql-table/#post-115</guid>
                    </item>
				                    <item>
                        <title>RE: Insert Tag Value in a MSSQL Table.</title>
                        <link>https://www.indi-an.com/de/community/technical-questions/insert-tag-value-in-a-mssql-table/#post-113</link>
                        <pubDate>Fri, 23 Feb 2024 07:01:15 +0000</pubDate>
                        <description><![CDATA[It looks like we have a small error in our documentation. Placeholders in database queries should not be enclosed in curly brackets.
Could you please try the statement as following and see ...]]></description>
                        <content:encoded><![CDATA[<p>It looks like we have a small error in our documentation. Placeholders in database queries should not be enclosed in curly brackets.</p>
<p>Could you please try the statement as following and see if it works?</p>
<p><span>INSERT INTO . (Intero) VALUES (</span><strong>@Campetella.ns=2;s=Active_Production\OK_Parts</strong><span>)</span></p>]]></content:encoded>
						                            <category domain="https://www.indi-an.com/de/community/technical-questions/">Technical questions</category>                        <dc:creator>Matthias</dc:creator>
                        <guid isPermaLink="true">https://www.indi-an.com/de/community/technical-questions/insert-tag-value-in-a-mssql-table/#post-113</guid>
                    </item>
				                    <item>
                        <title>Insert Tag Value in a MSSQL Table.</title>
                        <link>https://www.indi-an.com/de/community/technical-questions/insert-tag-value-in-a-mssql-table/#post-111</link>
                        <pubDate>Sun, 18 Feb 2024 15:30:11 +0000</pubDate>
                        <description><![CDATA[I need to save, time triggered, the value of an OPC UA Variable in a MSSQL Table, I want to use the query object made available by the editor. In query window i put this SQL Statement:
INSE...]]></description>
                        <content:encoded><![CDATA[<p>I need to save, time triggered, the value of an OPC UA Variable in a <strong>MSSQL</strong> Table, I want to use the query object made available by the editor. In query window i put this SQL Statement:</p>
<p>INSERT INTO . (Intero) VALUES (<strong>{@Campetella.ns=2;s=Active_Production\OK_Parts}</strong>)</p>
<p>I use in this case the <strong>Placeholder</strong>. for OPC UA variable.</p>
<p>It does not work, i receive this error in out.log</p>
<p>ERROR 2024-02-18 15:18:38.135 UTC de.indisystems.quickhmi.server.c.a.b.a.a:242 - Error converting parameter value for database query. Try as string.<br />com.microsoft.sqlserver.jdbc.SQLServerException: L'indice 1 non rientra nell'intervallo consentito.<br />at com.microsoft.sqlserver.jdbc.SQLServerException.makeFromDriverError(SQLServerException.java:234) ~<br />at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setterGetParam(SQLServerPreparedStatement.java:1126) ~<br />at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setValue(SQLServerPreparedStatement.java:1140) ~<br />at com.microsoft.sqlserver.jdbc.SQLServerPreparedStatement.setInt(SQLServerPreparedStatement.java:1422) ~<br />at de.indisystems.quickhmi.server.c.a.b.a.a.c(SourceFile:191) <br />at de.indisystems.quickhmi.server.c.a.b.a.a$a.run(SourceFile:374) <br />at java.lang.Thread.run(Thread.java:835) <br />ERROR 2024-02-18 15:18:38.140 UTC de.indisystems.quickhmi.server.c.a.b.a.a:343 - Index 1 is out of range.<br />com.microsoft.sqlserver.jdbc.SQLServerException: Index 1 is out of range.</p>
<p>Can you help me tanks in advance.</p>]]></content:encoded>
						                            <category domain="https://www.indi-an.com/de/community/technical-questions/">Technical questions</category>                        <dc:creator>n.lattarulo</dc:creator>
                        <guid isPermaLink="true">https://www.indi-an.com/de/community/technical-questions/insert-tag-value-in-a-mssql-table/#post-111</guid>
                    </item>
							        </channel>
        </rss>
		