<?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: How to import data in SQLite In-Memory Databases? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/How-to-import-data-in-SQLite-In-Memory-Databases/m-p/59964#M32784</link>
    <description>&lt;P&gt;If you can write python code to query the in-memory database then&amp;nbsp;you can call that code using JSL&amp;nbsp;and then pass the values back to JMP.&amp;nbsp; Check out the &lt;A href="https://www.jmp.com/support/help/14/python-integration-functions.shtml" target="_self"&gt;Python Integration Functions&lt;/A&gt;; here is an example from that link:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Python Init();
x = [1 2 3];
Python Send( x );
y = [4 5 6];
Python Send( y );
Python Submit( "\[
#replace this code with whatever you need to connect to the database
import numpy as np
p = np.multiply(x, y) # matrix product
]\" );
p = Python Get( p );
Show( p );
Python Term();

&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Mon, 11 Jun 2018 17:42:54 GMT</pubDate>
    <dc:creator>ih</dc:creator>
    <dc:date>2018-06-11T17:42:54Z</dc:date>
    <item>
      <title>How to import data in SQLite In-Memory Databases?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-import-data-in-SQLite-In-Memory-Databases/m-p/59810#M32730</link>
      <description>&lt;P&gt;I want to import data in SQLite In-Memory Databases with JSL command. Until now, I did not find how to import it within JSL environment.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I can find how to connect In-Memory Databases generated by Python programming.&amp;nbsp;But I did not find to import data within JMP.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Though I know the reason is that it is imported from other instance(process) not from same process, I'd like to know whether there is the solution or not. The JSL open Database script is as follows.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Open Database(&lt;BR /&gt;&amp;nbsp;&amp;nbsp; "DSN=SQLite3 ODBC;DATABASE=file::memory:?cache=shared",&lt;BR /&gt;&amp;nbsp; query,&lt;BR /&gt;&amp;nbsp; JMP_name&lt;BR /&gt;);&lt;/P&gt;</description>
      <pubDate>Sat, 09 Jun 2018 03:36:28 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-import-data-in-SQLite-In-Memory-Databases/m-p/59810#M32730</guid>
      <dc:creator>Kwangki</dc:creator>
      <dc:date>2018-06-09T03:36:28Z</dc:date>
    </item>
    <item>
      <title>Re: How to import data in SQLite In-Memory Databases?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-import-data-in-SQLite-In-Memory-Databases/m-p/59900#M32754</link>
      <description>&lt;P&gt;There is no way to import a SQLite database that is already resident in memory.&amp;nbsp; JMP 14 did add the ability to import from a SQLite database that is resident on a client file system.&amp;nbsp; An example of this is:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;New SQL Query(&lt;BR /&gt; Connection( "SQLite:Database=/C:/Testdata/ODBC/SQLite/test.db" ),&lt;BR /&gt; QueryName( "bigclass" ),&lt;BR /&gt; Select,&lt;BR /&gt; From( Table( "bigclass", Alias( "t1" ) ) )&lt;BR /&gt;) &amp;lt;&amp;lt; Run&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Brian Corcoran&lt;/P&gt;
&lt;P&gt;JMP Development&lt;/P&gt;</description>
      <pubDate>Mon, 11 Jun 2018 12:05:56 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-import-data-in-SQLite-In-Memory-Databases/m-p/59900#M32754</guid>
      <dc:creator>briancorcoran</dc:creator>
      <dc:date>2018-06-11T12:05:56Z</dc:date>
    </item>
    <item>
      <title>Re: How to import data in SQLite In-Memory Databases?</title>
      <link>https://community.jmp.com/t5/Discussions/How-to-import-data-in-SQLite-In-Memory-Databases/m-p/59964#M32784</link>
      <description>&lt;P&gt;If you can write python code to query the in-memory database then&amp;nbsp;you can call that code using JSL&amp;nbsp;and then pass the values back to JMP.&amp;nbsp; Check out the &lt;A href="https://www.jmp.com/support/help/14/python-integration-functions.shtml" target="_self"&gt;Python Integration Functions&lt;/A&gt;; here is an example from that link:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Python Init();
x = [1 2 3];
Python Send( x );
y = [4 5 6];
Python Send( y );
Python Submit( "\[
#replace this code with whatever you need to connect to the database
import numpy as np
p = np.multiply(x, y) # matrix product
]\" );
p = Python Get( p );
Show( p );
Python Term();

&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 11 Jun 2018 17:42:54 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/How-to-import-data-in-SQLite-In-Memory-Databases/m-p/59964#M32784</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2018-06-11T17:42:54Z</dc:date>
    </item>
  </channel>
</rss>

