<?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: Define JMP Table Name where output from SQL Server in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/Define-JMP-Table-Name-where-output-from-SQL-Server/m-p/261596#M51227</link>
    <description>&lt;P&gt;Thanks PMROZ... It's working fine...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dt= Open Database(&lt;BR /&gt;"DSN=SQL Master_USFLI-WAS101;UID=SVC_TableauReader;PWD=$zehV%os3kI7;APP=JMP;WSID=INBAN-LT9P536Q2;",&lt;BR /&gt;"SELECT DISTINCT Individual_Claim_Number_ID_Full FROM [dbo].ALL_CUSTOMERS&lt;BR /&gt;WHERE Inteva_Customer_Name = 'PSA'&lt;BR /&gt;AND Inteva_Plant_Name_1 = 'SAL'&lt;BR /&gt;AND Inteva_Program_Name = 'S3M'", "ServerData"&lt;BR /&gt;);&lt;/P&gt;</description>
    <pubDate>Mon, 27 Apr 2020 15:45:43 GMT</pubDate>
    <dc:creator>RamManickam</dc:creator>
    <dc:date>2020-04-27T15:45:43Z</dc:date>
    <item>
      <title>Define JMP Table Name where output from SQL Server</title>
      <link>https://community.jmp.com/t5/Discussions/Define-JMP-Table-Name-where-output-from-SQL-Server/m-p/261535#M51214</link>
      <description>&lt;P&gt;Hello Team, I created the script for data preparation and connecting to SQL Server for checking the unique values based on Join function. When ever i ran the script for open database the output table name similar like "SQL Scripts 1", so i cannot use this table name for further proceedings due to new name show when ever Run. How to set common JMP table name has output from Database. I need to give SQL statement for Table name for output.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Here is the Script is use:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open Database(
	"DSN=SQL Master_USFLI-WAS101;UID=SVC_TableauReader;PWD=***********;APP=JMP;WSID=*********",
	"SELECT DISTINCT Individual_Claim_Number_ID_Full FROM [dbo].ALL_CUSTOMERS
WHERE Inteva_Customer_Name = 'PSA'
AND Inteva_Plant_Name_1 = 'SAL'
AND Inteva_Program_Name = 'S3M'
SET ALL_CUSTOMERS = ‘Table name’"

);&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="RamManickam_0-1587991556076.png" style="width: 400px;"&gt;&lt;img src="https://community.jmp.com/t5/image/serverpage/image-id/23499i1E86D9CEE72A87C9/image-size/medium?v=v2&amp;amp;px=400" role="button" title="RamManickam_0-1587991556076.png" alt="RamManickam_0-1587991556076.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 09 Jun 2023 23:27:04 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Define-JMP-Table-Name-where-output-from-SQL-Server/m-p/261535#M51214</guid>
      <dc:creator>RamManickam</dc:creator>
      <dc:date>2023-06-09T23:27:04Z</dc:date>
    </item>
    <item>
      <title>Re: Define JMP Table Name where output from SQL Server</title>
      <link>https://community.jmp.com/t5/Discussions/Define-JMP-Table-Name-where-output-from-SQL-Server/m-p/261579#M51220</link>
      <description>&lt;P&gt;Look up Open Database in the scripting index.&amp;nbsp; You can supply a table name, and it will return a pointer to a table variable:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;dt = open database(&amp;lt;data connection string&amp;gt;, &amp;lt;sql string&amp;gt;, &amp;lt;outputTableName&amp;gt;)&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 14:16:57 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Define-JMP-Table-Name-where-output-from-SQL-Server/m-p/261579#M51220</guid>
      <dc:creator>pmroz</dc:creator>
      <dc:date>2020-04-27T14:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: Define JMP Table Name where output from SQL Server</title>
      <link>https://community.jmp.com/t5/Discussions/Define-JMP-Table-Name-where-output-from-SQL-Server/m-p/261596#M51227</link>
      <description>&lt;P&gt;Thanks PMROZ... It's working fine...&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;dt= Open Database(&lt;BR /&gt;"DSN=SQL Master_USFLI-WAS101;UID=SVC_TableauReader;PWD=$zehV%os3kI7;APP=JMP;WSID=INBAN-LT9P536Q2;",&lt;BR /&gt;"SELECT DISTINCT Individual_Claim_Number_ID_Full FROM [dbo].ALL_CUSTOMERS&lt;BR /&gt;WHERE Inteva_Customer_Name = 'PSA'&lt;BR /&gt;AND Inteva_Plant_Name_1 = 'SAL'&lt;BR /&gt;AND Inteva_Program_Name = 'S3M'", "ServerData"&lt;BR /&gt;);&lt;/P&gt;</description>
      <pubDate>Mon, 27 Apr 2020 15:45:43 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/Define-JMP-Table-Name-where-output-from-SQL-Server/m-p/261596#M51227</guid>
      <dc:creator>RamManickam</dc:creator>
      <dc:date>2020-04-27T15:45:43Z</dc:date>
    </item>
  </channel>
</rss>

