skip to main content
DataDirect Connect Drivers : Microsoft SQL Server Driver : Connection URL
  
Connection URL
The connection URL format for the SQL Server driver is:
jdbc:datadirect:sqlserver://hostname:port[;property=value[;...]]
where:
hostname
is the IP address or host name of the server to which you are connecting. See Using IP Addresses for details on using IP addresses.
port
is the number of the TCP/IP port.
property = value
specifies connection properties. For a list of connection properties and their valid values, see Connection Properties.
Notes
*Untrusted applets cannot open a socket to a machine other than the originating host.
Example
jdbc:datadirect:sqlserver://server1:1433;User=test;Password=secret
See Connecting to Named Instances for instructions on connecting to named instances.