<?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>question Re: Move data from locally installed SQL Server to Azure SQL in Nifi in Support Questions</title>
    <link>https://community.cloudera.com/t5/Support-Questions/Move-data-from-locally-installed-SQL-Server-to-Azure-SQL-in/m-p/375162#M242314</link>
    <description>&lt;P&gt;Should I be using "use statement" in my sql select query?&lt;/P&gt;</description>
    <pubDate>Sun, 13 Aug 2023 14:20:40 GMT</pubDate>
    <dc:creator>Kiranq</dc:creator>
    <dc:date>2023-08-13T14:20:40Z</dc:date>
    <item>
      <title>Move data from locally installed SQL Server to Azure SQL in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-data-from-locally-installed-SQL-Server-to-Azure-SQL-in/m-p/375161#M242313</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;My task is to move data from my locally installed SQL server (16.0) to Azure SQL (12.0) hosted on my Azure subscription.&amp;nbsp;&lt;BR /&gt;So far, I have used ExecuteSQL processor to run my select query from SQL Server and it returns me the rows successfully. I have created a Database Polling Connection Service which connect to my SQL Server.&lt;BR /&gt;After fetching the rows, I am using PutDatabaseRecord processor to insert the fetched rows into Azure SQL but its showing me error that "use statement is not supported to switch between databases". Note that the Database Polling Connection Service is different for PutDatabaseRecord where I have mentioned connection string of my Azure SQL.&lt;BR /&gt;Please if anyone can give feedback on this issue and suggest any workaround.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2023 15:42:33 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-data-from-locally-installed-SQL-Server-to-Azure-SQL-in/m-p/375161#M242313</guid>
      <dc:creator>Kiranq</dc:creator>
      <dc:date>2023-08-13T15:42:33Z</dc:date>
    </item>
    <item>
      <title>Re: Move data from locally installed SQL Server to Azure SQL in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-data-from-locally-installed-SQL-Server-to-Azure-SQL-in/m-p/375162#M242314</link>
      <description>&lt;P&gt;Should I be using "use statement" in my sql select query?&lt;/P&gt;</description>
      <pubDate>Sun, 13 Aug 2023 14:20:40 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-data-from-locally-installed-SQL-Server-to-Azure-SQL-in/m-p/375162#M242314</guid>
      <dc:creator>Kiranq</dc:creator>
      <dc:date>2023-08-13T14:20:40Z</dc:date>
    </item>
    <item>
      <title>Re: Move data from locally installed SQL Server to Azure SQL in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-data-from-locally-installed-SQL-Server-to-Azure-SQL-in/m-p/375184#M242326</link>
      <description>&lt;P&gt;&lt;a href="https://community.cloudera.com/t5/user/viewprofilepage/user-id/105315"&gt;@Kiranq&lt;/a&gt;&amp;nbsp;No, you do not have to use the USE statement.&amp;nbsp; Some things to consider:&lt;/P&gt;&lt;UL&gt;&lt;LI&gt;Make sure each DBCP is configured correctly with the right schema or namespace if possible in the confIguration or connection string.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;You can also make sure the schema or namespace above your table is included in the processor configuration.&amp;nbsp; &amp;nbsp;For example in PutDatabaseRecord you will find Schema Name in the properties.&amp;nbsp;&lt;/LI&gt;&lt;LI&gt;It could also be done in the sql statement without a specific use statement like&lt;EM&gt;&lt;STRONG&gt; select * from default.tablename; &lt;/STRONG&gt;&lt;/EM&gt;assuming your user has access to this default namespace with the tablname.&lt;/LI&gt;&lt;/UL&gt;</description>
      <pubDate>Mon, 14 Aug 2023 12:54:15 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-data-from-locally-installed-SQL-Server-to-Azure-SQL-in/m-p/375184#M242326</guid>
      <dc:creator>steven-matison</dc:creator>
      <dc:date>2023-08-14T12:54:15Z</dc:date>
    </item>
    <item>
      <title>Re: Move data from locally installed SQL Server to Azure SQL in Nifi</title>
      <link>https://community.cloudera.com/t5/Support-Questions/Move-data-from-locally-installed-SQL-Server-to-Azure-SQL-in/m-p/375317#M242389</link>
      <description>&lt;P&gt;Thanks. It was an issue with the connection string. It was pointing to another database while my processor was inserting into another database.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Aug 2023 11:49:55 GMT</pubDate>
      <guid>https://community.cloudera.com/t5/Support-Questions/Move-data-from-locally-installed-SQL-Server-to-Azure-SQL-in/m-p/375317#M242389</guid>
      <dc:creator>Kiranq</dc:creator>
      <dc:date>2023-08-17T11:49:55Z</dc:date>
    </item>
  </channel>
</rss>

