<?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: Importing/Exporting long text fields in enterprise SDE geodatabase in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/importing-exporting-long-text-fields-in-enterprise/m-p/183754#M10392</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just googled max character length sql and &lt;/SPAN&gt;&lt;A href="http://www.mckoi.com/database/SQLDataTypes.html"&gt;one listing says it'll store 1 billion characters&lt;/A&gt;&lt;SPAN&gt;; another says that &lt;/SPAN&gt;&lt;A href="http://databases.about.com/od/sqlserver/a/char_string.htm"&gt;text variables can store up to 2gb of text data&lt;/A&gt;&lt;SPAN&gt;. Yikes! To me this is a case of just because you can, it doesn't mean you should.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's hard for me to concieve a text field more than 50 characters wide; perhaps you could write some kind of script that adds a newline after X number of characters if you were to export the records to a text file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Jun 2012 15:11:14 GMT</pubDate>
    <dc:creator>JoeBorgione</dc:creator>
    <dc:date>2012-06-14T15:11:14Z</dc:date>
    <item>
      <title>Importing/Exporting long text fields in enterprise SDE geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/importing-exporting-long-text-fields-in-enterprise/m-p/183753#M10391</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello.&amp;nbsp; I have a feature class stored in a SDE geodatabase.&amp;nbsp; The database is sql server 2008.&amp;nbsp; I am using ArcGIS 10.&amp;nbsp; The feature class contains a text field with 8000 character limit.&amp;nbsp; I have to do some editing of this text field and find it very difficult to do so in ArcGIS where the text is presented in a single line.&amp;nbsp; My text is too long to edit in this format.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;So, I can think of two ways that I could edit efficiently, but I don't know how to accomplish either.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;1) Find a way to edit within ArcMap that presents the text in a wrapped, paragraph format.&amp;nbsp; Is this possible?&amp;nbsp; Anyone know how to do this?&amp;nbsp; Something like a HTML popup format would be perfect, if I could edit in it.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;2) Export the attribute in another format (such as Excel), make the edits, then join back to the original feature class and update the text field.&amp;nbsp; This was the approach I initially took.&amp;nbsp; However, I ran into a problem.&amp;nbsp; When I export to Excel, the longest fields show up as "########".&amp;nbsp; I can fix this by changing the field formatting to General in Excel.&amp;nbsp; Then I can view the text and make my edits.&amp;nbsp; The major problem comes when I try to view the Excel in ArcMap.&amp;nbsp; The entire field shows up as a BLOB, and then I can't update the text in the feature class.&amp;nbsp; In fact, none of the records show up; it displays as an empty table.&amp;nbsp; I then tried importing the revised Excel as a GDB table first, but when I do that the records do show but the long text field is a BLOB.&amp;nbsp; Anyone know a way around this?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thank you!&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 14:52:20 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/importing-exporting-long-text-fields-in-enterprise/m-p/183753#M10391</guid>
      <dc:creator>BenjaminVang-Johnson</dc:creator>
      <dc:date>2012-06-14T14:52:20Z</dc:date>
    </item>
    <item>
      <title>Re: Importing/Exporting long text fields in enterprise SDE geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/importing-exporting-long-text-fields-in-enterprise/m-p/183754#M10392</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I just googled max character length sql and &lt;/SPAN&gt;&lt;A href="http://www.mckoi.com/database/SQLDataTypes.html"&gt;one listing says it'll store 1 billion characters&lt;/A&gt;&lt;SPAN&gt;; another says that &lt;/SPAN&gt;&lt;A href="http://databases.about.com/od/sqlserver/a/char_string.htm"&gt;text variables can store up to 2gb of text data&lt;/A&gt;&lt;SPAN&gt;. Yikes! To me this is a case of just because you can, it doesn't mean you should.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It's hard for me to concieve a text field more than 50 characters wide; perhaps you could write some kind of script that adds a newline after X number of characters if you were to export the records to a text file.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 15:11:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/importing-exporting-long-text-fields-in-enterprise/m-p/183754#M10392</guid>
      <dc:creator>JoeBorgione</dc:creator>
      <dc:date>2012-06-14T15:11:14Z</dc:date>
    </item>
    <item>
      <title>Re: Importing/Exporting long text fields in enterprise SDE geodatabase</title>
      <link>https://community.esri.com/t5/data-management-questions/importing-exporting-long-text-fields-in-enterprise/m-p/183755#M10393</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do you want wide VARCHAR or NVARCHAR columns or CLOB/NCLOB columns?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The only wide strings I've worked with were ~400 character URLs.&amp;nbsp; Once you&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;get into strings that require newlines for readability, you're really crossing&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;into the CLOB realm.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you write your own editing app, you can pretty much use whatever format&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;or display widget you want.&amp;nbsp; If you want to use existing tools, you may need&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;to come up with new validation and/or filter utilities to make sure the edited&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;text conforms to requirements (there's nothing quite like having escape &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;sequences embedded in your strings to prevent pattern matching).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I'm sure the 'sdequery' utility could export your data (key + long string) to&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;a text file (pipe- or tab-delimited), and 'sdeupdate' could then merge the &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;edited file back (provided it's not versioned).&amp;nbsp; I even added some classes&amp;nbsp; to &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;export CLOBs into files (one file per row), and to convert the file collections &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;back into CLOBs (or strings, through CLOBs).&amp;nbsp; I don't have any filter classes&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; that will convert hard returns and other escape values into spaces on import,&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt; but I do have tools to detect their presence.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;- V&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Jun 2012 16:00:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/importing-exporting-long-text-fields-in-enterprise/m-p/183755#M10393</guid>
      <dc:creator>VinceAngelo</dc:creator>
      <dc:date>2012-06-14T16:00:47Z</dc:date>
    </item>
  </channel>
</rss>

