<?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: BL_PRESERVE_BLANKS=YES not working in the bulk load in SAS Data Intergration in SAS Data Management</title>
    <link>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364555#M10989</link>
    <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12983"&gt;@gyambqt&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Bulk loading is for loading a source SAS table into a database table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what you write your source table is already in Oracle and you just want to replace NULL values for CHAR and VARCHAR2 with a single blank. That would be a SQL UPDATE.&lt;/P&gt;
&lt;P&gt;If you're using pass-through SQL then you could use Oracle function NVL() or NVL2() for this task.&lt;/P&gt;</description>
    <pubDate>Tue, 06 Jun 2017 12:50:52 GMT</pubDate>
    <dc:creator>Patrick</dc:creator>
    <dc:date>2017-06-06T12:50:52Z</dc:date>
    <item>
      <title>BL_PRESERVE_BLANKS=YES not working in the bulk load in SAS Data Intergration</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364483#M10980</link>
      <description>&lt;P&gt;Hello experts,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I can not find a place for SAS Data Intergration so I will leave my question here.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have a target oracle table that contain null value for some columns. I want to replace the null value with a space ' ' in oracle so I thought BL_PRESERVE_BLANKS=YES option in the bulk load will insert a blank for the null value. But it doesn't and I want to know how to make it working.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;so DI flow chart like:&amp;nbsp;source SAS table (with blank for some columns)------&amp;gt;bulk load (BL_PRESERVE_BLANKS=YES)-----&amp;gt;Target oracle table (still null value)&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I found update transform in DI is working too but want to explore if BL_PRESERVE_BLANKS=YES option in bulk load gives you same result.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 00:22:24 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364483#M10980</guid>
      <dc:creator>gyambqt</dc:creator>
      <dc:date>2017-06-07T00:22:24Z</dc:date>
    </item>
    <item>
      <title>Re: BL_PRESERVE_BLANKS=YES not working in the bulk load in SAS Data Intergration</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364494#M10982</link>
      <description>This is definitelythe right place!&lt;BR /&gt;Please share the code/log from your trial, along with the table definition  (in Oracle) for the target table.</description>
      <pubDate>Tue, 06 Jun 2017 08:29:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364494#M10982</guid>
      <dc:creator>LinusH</dc:creator>
      <dc:date>2017-06-06T08:29:49Z</dc:date>
    </item>
    <item>
      <title>Re: BL_PRESERVE_BLANKS=YES not working in the bulk load in SAS Data Intergration</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364555#M10989</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12983"&gt;@gyambqt&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;Bulk loading is for loading a source SAS table into a database table.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;From what you write your source table is already in Oracle and you just want to replace NULL values for CHAR and VARCHAR2 with a single blank. That would be a SQL UPDATE.&lt;/P&gt;
&lt;P&gt;If you're using pass-through SQL then you could use Oracle function NVL() or NVL2() for this task.&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 12:50:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364555#M10989</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-06-06T12:50:52Z</dc:date>
    </item>
    <item>
      <title>Re: BL_PRESERVE_BLANKS=YES not working in the bulk load in SAS Data Intergration</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364799#M10999</link>
      <description>&lt;P&gt;Hi Patrick,&lt;/P&gt;
&lt;P&gt;It was my mistake, the source table was stored as SAS table and loaded to oracle through bulk load with bl_preserve_blank=yes. but I can still see null value when I do select&amp;nbsp;column1 from oracletable where column1 is null&lt;/P&gt;</description>
      <pubDate>Tue, 06 Jun 2017 23:29:40 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364799#M10999</guid>
      <dc:creator>gyambqt</dc:creator>
      <dc:date>2017-06-06T23:29:40Z</dc:date>
    </item>
    <item>
      <title>Re: BL_PRESERVE_BLANKS=YES not working in the bulk load in SAS Data Intergration</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364804#M11000</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12983"&gt;@gyambqt&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;What's the Oracle data type of this column1?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 01:04:31 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364804#M11000</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-06-07T01:04:31Z</dc:date>
    </item>
    <item>
      <title>Re: BL_PRESERVE_BLANKS=YES not working in the bulk load in SAS Data Intergration</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364837#M11001</link>
      <description>&lt;P&gt;problem solved. Thanks&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 06:30:52 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364837#M11001</guid>
      <dc:creator>gyambqt</dc:creator>
      <dc:date>2017-06-07T06:30:52Z</dc:date>
    </item>
    <item>
      <title>Re: BL_PRESERVE_BLANKS=YES not working in the bulk load in SAS Data Intergration</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364857#M11003</link>
      <description>&lt;P&gt;&lt;a href="https://communities.sas.com/t5/user/viewprofilepage/user-id/12983"&gt;@gyambqt&lt;/a&gt;&lt;/P&gt;
&lt;P&gt;How? Can you share what in the end the issue was and how you've resolved it?&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 08:26:49 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/364857#M11003</guid>
      <dc:creator>Patrick</dc:creator>
      <dc:date>2017-06-07T08:26:49Z</dc:date>
    </item>
    <item>
      <title>Re: BL_PRESERVE_BLANKS=YES not working in the bulk load in SAS Data Intergration</title>
      <link>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/365189#M11007</link>
      <description>&lt;P&gt;Sure, I set the column to DBnull cannot be null and then BL_PRESERVE_BLANKS=YES works&lt;/P&gt;</description>
      <pubDate>Wed, 07 Jun 2017 23:13:09 GMT</pubDate>
      <guid>https://communities.sas.com/t5/SAS-Data-Management/BL-PRESERVE-BLANKS-YES-not-working-in-the-bulk-load-in-SAS-Data/m-p/365189#M11007</guid>
      <dc:creator>gyambqt</dc:creator>
      <dc:date>2017-06-07T23:13:09Z</dc:date>
    </item>
  </channel>
</rss>

