![]() Jdbc:sqlserver://localhost:1433 databaseName=testdb integratedSecurity=true ģ. Connect to a named database testdb on localhost using Windows authentication: Jdbc:sqlserver://dbHost\sqlexpress user=sa password=secret Connect to an instance named sqlexpress on the host dbServer, using SQL Server authentication: Jdbc:sqlserver://localhost integratedSecurity=true Connect to default instance of SQL server running on the same machine as the JDBC client, using Windows authentication: We have to specify username and password explicitly for this mode.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |