<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Native SQL WHERE fieldname IN(:hostvar) in Application Development and Automation Discussions</title>
    <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-where-fieldname-in-hostvar/m-p/332683#M5517</link>
    <description>&lt;P&gt;Is it possible to pass to Native SQL the host variable containing list of values to be used in:&lt;/P&gt;&lt;P&gt;DELETE FROM tablename WHERE field IN(:hostvariable)&lt;/P&gt;&lt;P&gt;resulting in:&lt;/P&gt;&lt;P&gt;DELETE FROM tablename WHERE field IN('2015.02','2015.03','2015.04')&lt;/P&gt;&lt;P&gt;My external server is MS SQL server&lt;/P&gt;&lt;P&gt;I know about other ways to achieve the goal...&lt;/P&gt;&lt;P&gt;- Loop DELETE&lt;/P&gt;&lt;P&gt;- Run stored procedure&lt;/P&gt;&lt;P&gt;- Use dynamic ADBC&lt;/P&gt;</description>
    <pubDate>Sun, 21 Jan 2024 22:20:24 GMT</pubDate>
    <dc:creator>former_member186338</dc:creator>
    <dc:date>2024-01-21T22:20:24Z</dc:date>
    <item>
      <title>Native SQL WHERE fieldname IN(:hostvar)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-where-fieldname-in-hostvar/m-p/332683#M5517</link>
      <description>&lt;P&gt;Is it possible to pass to Native SQL the host variable containing list of values to be used in:&lt;/P&gt;&lt;P&gt;DELETE FROM tablename WHERE field IN(:hostvariable)&lt;/P&gt;&lt;P&gt;resulting in:&lt;/P&gt;&lt;P&gt;DELETE FROM tablename WHERE field IN('2015.02','2015.03','2015.04')&lt;/P&gt;&lt;P&gt;My external server is MS SQL server&lt;/P&gt;&lt;P&gt;I know about other ways to achieve the goal...&lt;/P&gt;&lt;P&gt;- Loop DELETE&lt;/P&gt;&lt;P&gt;- Run stored procedure&lt;/P&gt;&lt;P&gt;- Use dynamic ADBC&lt;/P&gt;</description>
      <pubDate>Sun, 21 Jan 2024 22:20:24 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-where-fieldname-in-hostvar/m-p/332683#M5517</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2024-01-21T22:20:24Z</dc:date>
    </item>
    <item>
      <title>Re: Native SQL WHERE fieldname IN(:hostvar)</title>
      <link>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-where-fieldname-in-hostvar/m-p/332684#M5518</link>
      <description>&lt;P&gt;Looks like impossible! Closing the question.&lt;/P&gt;</description>
      <pubDate>Fri, 02 Dec 2016 18:27:02 GMT</pubDate>
      <guid>https://community.sap.com/t5/application-development-and-automation-discussions/native-sql-where-fieldname-in-hostvar/m-p/332684#M5518</guid>
      <dc:creator>former_member186338</dc:creator>
      <dc:date>2016-12-02T18:27:02Z</dc:date>
    </item>
  </channel>
</rss>

