<?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 Connecting to SQLite DB in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20678#M18801</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone, I'm trying to use JMP to connect to a SQLite db and I'm running into a very funny problem where the text fields in the first few rows of data get mangled, while everything else looks fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using JMP 11.2.1 for Mac, running Mac 10.11.6, and I'm using the ODBC available here: &lt;A href="http://www.ch-werner.de/sqliteodbc/" title="http://www.ch-werner.de/sqliteodbc/" rel="nofollow noopener noreferrer" target="_blank"&gt;SQLite ODBC Driver&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a very simple database (attached) to test this issue.&amp;nbsp; When I open JMP, and go to File &amp;gt; Database &amp;gt; Open Table I can see connect to the DSN that I've previously setup in the ODBC, and JMP finds the right table name and all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I view the db in the SQLite Manager add-on for Firefox, I see the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12825_pastedImage_1.png" style="width: 1022px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3766i6904D7485A5ED188/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12825_pastedImage_1.png" alt="12825_pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;which is exactly what I would expect to find.&amp;nbsp; I can also query the table directly using the sqlite3 db api for python, and I can confirm that the entries are as shown:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12850_pastedImage_5.png" style="width: 470px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3767iD0FF77C8167AB3FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12850_pastedImage_5.png" alt="12850_pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet, when I try to load this table into JMP, I instead find this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12826_pastedImage_2.png" style="width: 526px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3768i08112AB1586CFE88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12826_pastedImage_2.png" alt="12826_pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very strange!&amp;nbsp; It's getting the integer and floating point fields correctly, but it only got the first two characters of the label column correctly for the first row, and it truncated the 'd' off the label in row 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For completeness, here's the info I have in my ODBC setup:&lt;/P&gt;&lt;P&gt;Driver:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12848_pastedImage_3.png" style="width: 660px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3769i4F75C12EA8D5F0CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12848_pastedImage_3.png" alt="12848_pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DSN:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12849_pastedImage_4.png" style="width: 657px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3770i85A4CB6A07CA4473/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12849_pastedImage_4.png" alt="12849_pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this would be much appreciated, I'd really love to be able to use JMP to run queries on SQLite databases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Oct 2016 04:11:41 GMT</pubDate>
    <dc:creator>michaelaschmidt</dc:creator>
    <dc:date>2016-10-19T04:11:41Z</dc:date>
    <item>
      <title>Connecting to SQLite DB</title>
      <link>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20678#M18801</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Everyone, I'm trying to use JMP to connect to a SQLite db and I'm running into a very funny problem where the text fields in the first few rows of data get mangled, while everything else looks fine.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using JMP 11.2.1 for Mac, running Mac 10.11.6, and I'm using the ODBC available here: &lt;A href="http://www.ch-werner.de/sqliteodbc/" title="http://www.ch-werner.de/sqliteodbc/" rel="nofollow noopener noreferrer" target="_blank"&gt;SQLite ODBC Driver&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I've created a very simple database (attached) to test this issue.&amp;nbsp; When I open JMP, and go to File &amp;gt; Database &amp;gt; Open Table I can see connect to the DSN that I've previously setup in the ODBC, and JMP finds the right table name and all.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;When I view the db in the SQLite Manager add-on for Firefox, I see the following:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12825_pastedImage_1.png" style="width: 1022px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3766i6904D7485A5ED188/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12825_pastedImage_1.png" alt="12825_pastedImage_1.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;which is exactly what I would expect to find.&amp;nbsp; I can also query the table directly using the sqlite3 db api for python, and I can confirm that the entries are as shown:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12850_pastedImage_5.png" style="width: 470px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3767iD0FF77C8167AB3FC/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12850_pastedImage_5.png" alt="12850_pastedImage_5.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Yet, when I try to load this table into JMP, I instead find this:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12826_pastedImage_2.png" style="width: 526px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3768i08112AB1586CFE88/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12826_pastedImage_2.png" alt="12826_pastedImage_2.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Very strange!&amp;nbsp; It's getting the integer and floating point fields correctly, but it only got the first two characters of the label column correctly for the first row, and it truncated the 'd' off the label in row 2.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;For completeness, here's the info I have in my ODBC setup:&lt;/P&gt;&lt;P&gt;Driver:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12848_pastedImage_3.png" style="width: 660px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3769i4F75C12EA8D5F0CE/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12848_pastedImage_3.png" alt="12848_pastedImage_3.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;DSN:&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12849_pastedImage_4.png" style="width: 657px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3770i85A4CB6A07CA4473/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12849_pastedImage_4.png" alt="12849_pastedImage_4.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any help on this would be much appreciated, I'd really love to be able to use JMP to run queries on SQLite databases.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks,&lt;BR /&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 04:11:41 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20678#M18801</guid>
      <dc:creator>michaelaschmidt</dc:creator>
      <dc:date>2016-10-19T04:11:41Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQLite DB</title>
      <link>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20679#M18802</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi &lt;A href="https://community.jmp.com/people/michaelaschmidt0"&gt;michaelaschmidt0&lt;/A&gt;​,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Not sure if its a JMP version issue, maybe &lt;A href="https://community.jmp.com/people/Craige@JMP"&gt;Craige@JMP&lt;/A&gt; or someone else from JMP can weigh in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I have JMP 13 and Mac 10.11.6 (El Capitan). I did notice there were multiple versions of the SQLite driver on the site you mentioned. I downloaded the following version:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG /&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="http://www.ch-werner.de/sqliteodbc/sqliteodbc-0.9993.dmg"&gt;sqliteodbc-0.9993.dmg&lt;/A&gt;​&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;After installing and configuring as per the instructions, I was able to successfully retrieve your table, without the truncation.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;IMG /&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 14:34:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20679#M18802</guid>
      <dc:creator>Phil_Brown</dc:creator>
      <dc:date>2016-09-27T14:34:49Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQLite DB</title>
      <link>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20680#M18803</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hey, michaelaschmidt0,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am able to replicate the problem you describe at JMP 11.2.1 on the Mac, but then I tried JMP 12, and the truncation did not occur.&amp;nbsp; I would say your best bet at this point is to see if you can get to JMP 12 (or 13, just released last week!).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Eric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 14:46:50 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20680#M18803</guid>
      <dc:creator>Eric_Hill</dc:creator>
      <dc:date>2016-09-27T14:46:50Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQLite DB</title>
      <link>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20681#M18804</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric, thanks for the feedback on this, I will request a site upgrade to JMP12 (or maybe 13) and will verify that it works after the upgrade.&amp;nbsp; Once I'm able to verify, I'll mark your answer as correct.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;As an aside, I'm curious if there's a work-around for JMP11 though, given that the issue goes away when upgrading I'm guessing it's a problem on the JMP side....or maybe the work-around is the upgrade.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks again!&lt;/P&gt;&lt;P&gt;Mike&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 16:06:49 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20681#M18804</guid>
      <dc:creator>michaelaschmidt</dc:creator>
      <dc:date>2016-09-27T16:06:49Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQLite DB</title>
      <link>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20682#M18805</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi PBZ - thanks for checking in on this, I'm using JMP 11.2.1 for Mac, running Mac 10.11.6, and I installed the version of the ODBC driver that you link to above.&amp;nbsp; As per Eric's comment below, this looks like an issue with JMP 11, I will try to upgrade to confirm this.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 16:08:08 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20682#M18805</guid>
      <dc:creator>michaelaschmidt</dc:creator>
      <dc:date>2016-09-27T16:08:08Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQLite DB</title>
      <link>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20683#M18806</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I'll see where the problem is and check for a workaround.&lt;/P&gt;&lt;P&gt;-Bryan&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 17:22:39 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20683#M18806</guid>
      <dc:creator>bryan_boone</dc:creator>
      <dc:date>2016-09-27T17:22:39Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQLite DB</title>
      <link>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20684#M18807</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Unfortunately, there doesn't seem to be a workaround in JMP 11.&lt;/P&gt;&lt;P&gt;Hopefully you can update to at least 12.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 27 Sep 2016 17:53:32 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20684#M18807</guid>
      <dc:creator>bryan_boone</dc:creator>
      <dc:date>2016-09-27T17:53:32Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQLite DB</title>
      <link>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20685#M18808</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Eric, I've just upgraded to JMP13 and I can confirm that this works.&amp;nbsp; Thanks for the help to you and everyone on this thread!&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="12869_pastedImage_0.png" style="width: 539px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/3780i1F7C0A36A127F20A/image-size/medium?v=v2&amp;amp;px=400" role="button" title="12869_pastedImage_0.png" alt="12869_pastedImage_0.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Oct 2016 04:13:19 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/20685#M18808</guid>
      <dc:creator>michaelaschmidt</dc:creator>
      <dc:date>2016-10-19T04:13:19Z</dc:date>
    </item>
    <item>
      <title>Re: Connecting to SQLite DB</title>
      <link>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/53444#M30237</link>
      <description>&lt;P&gt;As of JMP 14, you can now open SQLite files without using the ODBC driver.&lt;/P&gt;
&lt;P&gt;-Bryan&lt;/P&gt;</description>
      <pubDate>Tue, 20 Mar 2018 01:48:07 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Connecting-to-SQLite-DB/m-p/53444#M30237</guid>
      <dc:creator>bryan_boone</dc:creator>
      <dc:date>2018-03-20T01:48:07Z</dc:date>
    </item>
  </channel>
</rss>

