<?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: SQL pulls to SQLserver without setting a machine data source? in Discussions</title>
    <link>https://community.jmp.com/t5/Discussions/SQL-pulls-to-SQLserver-without-setting-a-machine-data-source/m-p/50262#M28595</link>
    <description>&lt;P&gt;Yes:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open Database(
		"DRIVER=SQL Server;SERVER=mysqlserver\dbname;" ||
			"Trusted_Connection=Yes;APP=Microsoft® Windows® Operating System;",
		"SELECT * from db..."
	);&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Fri, 26 Jan 2018 14:26:22 GMT</pubDate>
    <dc:creator>ih</dc:creator>
    <dc:date>2018-01-26T14:26:22Z</dc:date>
    <item>
      <title>SQL pulls to SQLserver without setting a machine data source?</title>
      <link>https://community.jmp.com/t5/Discussions/SQL-pulls-to-SQLserver-without-setting-a-machine-data-source/m-p/50259#M28592</link>
      <description>&lt;P&gt;Hi JMP community,&lt;/P&gt;&lt;P&gt;I am playing with a ODBC connection to a SQLserver, and everything works nice when i connect via open table or query builder. I have then created my own query in JSL to be used with the open database() command, and that works well as well.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Right now my connection string looks like this SQLconnect="DSN=MyDatabase;Description=&lt;SPAN&gt;MyDatabase&lt;/SPAN&gt;;Trusted_Connection=Yes";&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;MyDatabase is referring to the&amp;nbsp;Data source I have created in the user interface using the standard microsoft SQL server driver and a server address, the rest are default settings.&lt;/P&gt;&lt;P&gt;Can I explicitly put all of this in my connection string, and how do I do that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;We hope to share this tool, and it would be annoying if I had to force all users to define their machine data source exactly as I did before they can use the tool.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance,&lt;/P&gt;&lt;P&gt;Daniel&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 13:45:55 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SQL-pulls-to-SQLserver-without-setting-a-machine-data-source/m-p/50259#M28592</guid>
      <dc:creator>DSA</dc:creator>
      <dc:date>2018-01-26T13:45:55Z</dc:date>
    </item>
    <item>
      <title>Re: SQL pulls to SQLserver without setting a machine data source?</title>
      <link>https://community.jmp.com/t5/Discussions/SQL-pulls-to-SQLserver-without-setting-a-machine-data-source/m-p/50262#M28595</link>
      <description>&lt;P&gt;Yes:&lt;/P&gt;&lt;PRE&gt;&lt;CODE class=" language-jsl"&gt;Open Database(
		"DRIVER=SQL Server;SERVER=mysqlserver\dbname;" ||
			"Trusted_Connection=Yes;APP=Microsoft® Windows® Operating System;",
		"SELECT * from db..."
	);&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 26 Jan 2018 14:26:22 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SQL-pulls-to-SQLserver-without-setting-a-machine-data-source/m-p/50262#M28595</guid>
      <dc:creator>ih</dc:creator>
      <dc:date>2018-01-26T14:26:22Z</dc:date>
    </item>
    <item>
      <title>Re: SQL pulls to SQLserver without setting a machine data source?</title>
      <link>https://community.jmp.com/t5/Discussions/SQL-pulls-to-SQLserver-without-setting-a-machine-data-source/m-p/50263#M28596</link>
      <description>&lt;P&gt;Thank a lot for the very quick and accurate help!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;It worked perfectly :)&lt;/img&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jan 2018 14:33:06 GMT</pubDate>
      <guid>https://community.jmp.com/t5/Discussions/SQL-pulls-to-SQLserver-without-setting-a-machine-data-source/m-p/50263#M28596</guid>
      <dc:creator>DSA</dc:creator>
      <dc:date>2018-01-26T14:33:06Z</dc:date>
    </item>
  </channel>
</rss>

