<?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 Re: Copy Table data in NonStop Servers</title>
    <link>https://community.hpe.com/t5/nonstop-servers/copy-table-data/m-p/7241046#M8309</link>
    <description>&lt;P&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2414150"&gt;@Saurabh_PB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To copy data between two Tandem (HPE NonStop) environments where the table structure already exists on the target, you have two main options:&lt;/P&gt;&lt;P&gt;Option 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generate INSERT Statements&lt;BR /&gt;Use SQLCI to select data and format it as SQL insert statements:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT 'INSERT INTO target_table VALUES (' || COL1 || ',' || '''' || COL2 || '''' || ');'
FROM source_table;&lt;/LI-CODE&gt;&lt;P&gt;You can spool the output to a file and run it on the target system.&lt;/P&gt;&lt;P&gt;Option 2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Export to CSV Format&lt;/P&gt;&lt;P&gt;You can simulate CSV output in SQLCI:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SET SEPARATOR ',';
SELECT * FROM &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;;&lt;/LI-CODE&gt;&lt;P&gt;Spool the output to a file (data.csv), transfer it, and then use a custom loader or script to insert into the target.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE:&amp;nbsp;Note: Tandem does not have a native CSV import utility — inserting from CSV requires a custom loader, script, or small program.&lt;/P&gt;</description>
    <pubDate>Fri, 25 Apr 2025 07:00:37 GMT</pubDate>
    <dc:creator>Mr_Techie</dc:creator>
    <dc:date>2025-04-25T07:00:37Z</dc:date>
    <item>
      <title>Copy Table data</title>
      <link>https://community.hpe.com/t5/nonstop-servers/copy-table-data/m-p/7240622#M8305</link>
      <description>&lt;P&gt;We want to copy table data in Tandem from one system to another. Table structure present another system, so we just want to copy the data. Can anyone please suggest commands for this activity? Either using sqlmp or fup utility.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 11:28:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/nonstop-servers/copy-table-data/m-p/7240622#M8305</guid>
      <dc:creator>Saurabh_PB</dc:creator>
      <dc:date>2025-04-17T11:28:11Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Table data</title>
      <link>https://community.hpe.com/t5/nonstop-servers/copy-table-data/m-p/7240646#M8306</link>
      <description>&lt;P&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2414150"&gt;@Saurabh_PB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You can use SQLMP or FUP depending on your environment.&lt;/P&gt;&lt;P&gt;For speed, reliability, and simplicity: use FUP COPY. It's optimized for Tandem.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Apr 2025 14:29:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/nonstop-servers/copy-table-data/m-p/7240646#M8306</guid>
      <dc:creator>Mr_Techie</dc:creator>
      <dc:date>2025-04-17T14:29:14Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Table data</title>
      <link>https://community.hpe.com/t5/nonstop-servers/copy-table-data/m-p/7240787#M8308</link>
      <description>&lt;P&gt;Thanks for your reply. But in our case, I want to copy the data between two environment. So I am looking for below options (if possible) :-&amp;nbsp;&lt;/P&gt;&lt;P&gt;1) Generate insert queries from source&lt;/P&gt;&lt;P&gt;or&lt;/P&gt;&lt;P&gt;2) Generate data in csv format , which can be uploaded/inserted into target.&lt;/P&gt;&lt;P&gt;Please let me know , if any of these options available.&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 21 Apr 2025 11:07:30 GMT</pubDate>
      <guid>https://community.hpe.com/t5/nonstop-servers/copy-table-data/m-p/7240787#M8308</guid>
      <dc:creator>Saurabh_PB</dc:creator>
      <dc:date>2025-04-21T11:07:30Z</dc:date>
    </item>
    <item>
      <title>Re: Copy Table data</title>
      <link>https://community.hpe.com/t5/nonstop-servers/copy-table-data/m-p/7241046#M8309</link>
      <description>&lt;P&gt;&lt;a href="https://community.hpe.com/t5/user/viewprofilepage/user-id/2414150"&gt;@Saurabh_PB&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;To copy data between two Tandem (HPE NonStop) environments where the table structure already exists on the target, you have two main options:&lt;/P&gt;&lt;P&gt;Option 1.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generate INSERT Statements&lt;BR /&gt;Use SQLCI to select data and format it as SQL insert statements:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SELECT 'INSERT INTO target_table VALUES (' || COL1 || ',' || '''' || COL2 || '''' || ');'
FROM source_table;&lt;/LI-CODE&gt;&lt;P&gt;You can spool the output to a file and run it on the target system.&lt;/P&gt;&lt;P&gt;Option 2.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Export to CSV Format&lt;/P&gt;&lt;P&gt;You can simulate CSV output in SQLCI:&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;SET SEPARATOR ',';
SELECT * FROM &amp;lt;schema&amp;gt;.&amp;lt;table&amp;gt;;&lt;/LI-CODE&gt;&lt;P&gt;Spool the output to a file (data.csv), transfer it, and then use a custom loader or script to insert into the target.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;NOTE:&amp;nbsp;Note: Tandem does not have a native CSV import utility — inserting from CSV requires a custom loader, script, or small program.&lt;/P&gt;</description>
      <pubDate>Fri, 25 Apr 2025 07:00:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/nonstop-servers/copy-table-data/m-p/7241046#M8309</guid>
      <dc:creator>Mr_Techie</dc:creator>
      <dc:date>2025-04-25T07:00:37Z</dc:date>
    </item>
    <item>
      <title>Query: Copy Table data</title>
      <link>https://community.hpe.com/t5/nonstop-servers/copy-table-data/m-p/7241178#M8310</link>
      <description>&lt;P style="margin: 0;"&gt;Hello,&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Let us know if you were able to resolve the issue.&lt;BR /&gt;&lt;BR /&gt;If you are satisfied with the answers then kindly click the "Accept As Solution" button for the most helpful response so that it is beneficial to all community members.&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;&amp;nbsp;&lt;/P&gt;
&lt;P style="margin: 0;"&gt;Please click on "Thumbs Up/Kudo" icon to give a "Kudo".&lt;/P&gt;</description>
      <pubDate>Mon, 28 Apr 2025 07:18:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/nonstop-servers/copy-table-data/m-p/7241178#M8310</guid>
      <dc:creator>support_s</dc:creator>
      <dc:date>2025-04-28T07:18:07Z</dc:date>
    </item>
  </channel>
</rss>

