<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[Could not find or compile MSSQL.DDR]]></title><description><![CDATA[<p dir="auto">Hi. I am trying to use mssql.ddr for run query in an other mssql database, but can't find mssql.ddr in my installation.<br />
I am using centos 7 and tried to reinstall with --with-mssql prefix, but I could not do.<br />
When I try to configure with "--with-mssql", system says :</p>
<p dir="auto">configure: WARNING: unrecognized options: --with-mssql</p>
<p dir="auto">Where am I wrong or what must I do?</p>
<p dir="auto">On the other hand, I tried to compile with --with-odbc prefix, (installed unixODBC):<br />
there is not any error while configuring. but, when I try to use make command, I am getting this error :</p>
<p dir="auto">In file included from odbc.cpp:23:0:<br />
odbcdrv.h:77:17: fatal error: sql.h: No such file or directory<br />
 #include &lt;sql.h&gt;</p>
<p dir="auto">So, I could not use odbc.ddr, too.</p>
]]></description><link>https://forum.netxms.org/topic/3825/could-not-find-or-compile-mssql.ddr</link><generator>RSS for Node</generator><lastBuildDate>Fri, 13 Nov 2026 20:48:31 GMT</lastBuildDate><atom:link href="https://forum.netxms.org/topic/3825.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 17 Jun 2015 15:20:50 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to Could not find or compile MSSQL.DDR on Sat, 20 Jun 2015 21:09:54 GMT]]></title><description><![CDATA[<p dir="auto">Thank you. It's solved now <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
]]></description><link>https://forum.netxms.org/post/17120</link><guid isPermaLink="true">https://forum.netxms.org/post/17120</guid><dc:creator><![CDATA[mkemerci]]></dc:creator><pubDate>Sat, 20 Jun 2015 21:09:54 GMT</pubDate></item><item><title><![CDATA[Reply to Could not find or compile MSSQL.DDR on Sat, 20 Jun 2015 08:39:57 GMT]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">in DB.Query you specify actual SQL query to be executed, like this:</p>
<p dir="auto">DB.Query(dbid,"SELECT col FROM my_table")</p>
<p dir="auto">If you specify query in agent's config then it is executed in background and DB.QueryResult returns cached result from last run. Pre-configured queries are good when you have long-running query - if you use it directly server request may fail on timeout. If you have simple query that executes in less than a second you can use DB.Query.</p>
<p dir="auto">Best regards,<br />
Victor</p>
]]></description><link>https://forum.netxms.org/post/17117</link><guid isPermaLink="true">https://forum.netxms.org/post/17117</guid><dc:creator><![CDATA[victor]]></dc:creator><pubDate>Sat, 20 Jun 2015 08:39:57 GMT</pubDate></item><item><title><![CDATA[Reply to Could not find or compile MSSQL.DDR on Fri, 19 Jun 2015 20:57:19 GMT]]></title><description><![CDATA[<p dir="auto">ok, I am able to connect to MSSQL with odbc.ddr now.</p>
<p dir="auto">I have one more step to finish <img src="https://forum.netxms.org/assets/plugins/nodebb-plugin-emoji/emoji/android/1f642.png?v=72b86a538fc" class="not-responsive emoji emoji-android emoji--slightly_smiling_face" style="height:1.4em;width:auto;vertical-align:middle" title=":)" alt="🙂" /></p>
<p dir="auto">when I create a DCI as DB.Query(dbid,query), nxagent says me :<br />
SQL query failed (Query = "onlineuser"): Could not find stored procedure 'online user'.</p>
<p dir="auto">but when I create a DCIS as DB.QueryResult(name), then everything is ok. I can get result my query.</p>
<p dir="auto">In first situation, must QUERY be a stored procedure, or am I making something wrong?</p>
<p dir="auto">thanks.</p>
]]></description><link>https://forum.netxms.org/post/17116</link><guid isPermaLink="true">https://forum.netxms.org/post/17116</guid><dc:creator><![CDATA[mkemerci]]></dc:creator><pubDate>Fri, 19 Jun 2015 20:57:19 GMT</pubDate></item><item><title><![CDATA[Reply to Could not find or compile MSSQL.DDR on Thu, 18 Jun 2015 20:16:25 GMT]]></title><description><![CDATA[<p dir="auto">can you give me a sample odbc config for nxagent please. I could not make a config for odbc to run a query for mssql</p>
]]></description><link>https://forum.netxms.org/post/17111</link><guid isPermaLink="true">https://forum.netxms.org/post/17111</guid><dc:creator><![CDATA[mkemerci]]></dc:creator><pubDate>Thu, 18 Jun 2015 20:16:25 GMT</pubDate></item><item><title><![CDATA[Reply to Could not find or compile MSSQL.DDR on Thu, 18 Jun 2015 00:31:39 GMT]]></title><description><![CDATA[<p dir="auto">Native MSSQL driver is windows only, you'll have to use unixODBC.</p>
<p dir="auto">Install unixODBC-devel package to fix this error.</p>
]]></description><link>https://forum.netxms.org/post/17087</link><guid isPermaLink="true">https://forum.netxms.org/post/17087</guid><dc:creator><![CDATA[alk]]></dc:creator><pubDate>Thu, 18 Jun 2015 00:31:39 GMT</pubDate></item></channel></rss>