title: Connect to SQL Server on network from Google
body: <p>I have tried to connect to a SQL Server from a Google Script on the LAN using this </p>
  
  <pre><code>var conn = Jdbc.getConnection("jdbc:sqlserver://Linden:1433;databaseName=Centaman_Live;user=SSRS1;password=****;"); 
  </code></pre>
  
  <p>and</p>
  
  <pre><code>var conn = Jdbc.getConnection("jdbc:sqlserver://Linden:1433;Centaman_Live;SSRS1;****;"); 
  </code></pre>
  
  <p>and </p>
  
  <pre><code>var conn = Jdbc.getConnection("jdbc:sqlserver://Linden:1433;Centaman_Live;'SSRS1';'****';"); 
  </code></pre>
  
  <p>but have failed - - I reviewed numerous discussions on this site and others but  nothing seems to work.  </p>
  
  <p>I can go to the server and sign on to the SQL Server using the same credentials as in the command above. I can connect to <code>Linden</code> from other servers using SQL Server or SSRS   </p>
  
  <p>Don't have much hair left but what hair I do have I'm pulling out trying to get this to work </p>