This page describes how to specify a connection string for SQL Server.
Entries into the Sensitive Part field will be stored encrypted in Salesforce. If you want to secure the username also, include it in the field separated by a semi-colon.
Overcast uses the .NET Framework Data Provider for SQL Server and thus uses the following connection string syntax.
The <hostname> can be either an IP address or a hostname. Depending on the SQL Server configuration, you may need to include the instance name.
Enter the following text into the Connection String field
Enter the following text into the Sensitive Part field
Enter the following text into the Connection String field
Enter the following text into the Sensitive Part field
User ID="user 77";Data Source=hostinstance1;
Parameter Keys
| Key | Description |
| Data Source |
IP address or hostname. May require instance name. |
| Initial Catalog | Database name |
| User ID | Username |
| Password | Password |
1. Go to the Connection Strings tab and select the New button.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy83NDg4LzMyMTM5L2NrZmluZGVyL2ltYWdlcy8yMDIwLTA4LTEwXzEwLTExLTI1KDQpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NTU4NzMyMH19fV19&Signature=R09woDf93kbaxm~dH--gguTFakeysgqPVt0sWOOpGI3uAntq2Xt9iyHJ8CiC0sqeN7Ez4A4CYCDU6dAjACZcn2H~H5BkiOnB~6PrKW~Wmsr8OQXYE9GYTC~-m~RTPbHlEjvFDb8qKEjWcA9wvX3MxT3BEl8G-KIKJl7Z5xAI46WPSsc~ff4pZE5RTtGXUSJLbbi2rm-ZpQU5BzsMpIEJPy-DkZq1d1iQNk4Wq6C5Ai5S8gdxY0-G0z6iCO2MRubYWKpG6rHidRArrUs5V4hfYTnrB8aKASD4QSGMBJd4zT1lOPczpjuNy1nz8FIg6tb4XlWnafCWZG~FFF4p9QwUEQ__&Key-Pair-Id=K2TK3EG287XSFC)
2. Enter a Connection String Name and select "MSSQL" for Connection Type. Enter your Connection String and its Sensitive Part as described above, and select Save. Description and Named Credential are optional.
.png?Policy=eyJTdGF0ZW1lbnQiOlt7IlJlc291cmNlIjoiaHR0cHM6Ly9kemY4dnF2MjRlcWhnLmNsb3VkZnJvbnQubmV0L3VzZXJmaWxlcy83NDg4LzMyMTM5L2NrZmluZGVyL2ltYWdlcy8yMDIwLTA4LTEzXzE0LTE0LTI4KDEpLnBuZyIsIkNvbmRpdGlvbiI6eyJEYXRlTGVzc1RoYW4iOnsiQVdTOkVwb2NoVGltZSI6MTc2NTU4NzMyMH19fV19&Signature=eHA4wYldHfCCmACE196HApbRsTMh~SsPD66MiZvszMBwVmeVwHFu8w7GnHrq1QZxOdUBCGxc7G4w62dfQrFVc5EDflb2TjsvJFwNiihZ73Qs3hfWD05UMSM4cSxdjXO4BkGBh4W~PMkKmO--7kcIwJGUmeychQtfNN15YabOKYdFlpOyXRXiuCOmXfPwa1FCGiVMA41a-ns1MP7qA8oyZF7yRDiF6wPkiDtT1MW1YOgWU9GKBeTx9EljmKSPejUbQstHOF7Fu1MwptdyDYzgub7MFM9vMF-RREFRBndCwqx0AYaETFIwIU1G0OCgUqcMqu6C91UO4O5ZFb~JwWwg5g__&Key-Pair-Id=K2TK3EG287XSFC)
3. Select Check to validate your connection. A green checked circle will appear once a successful connection is established.
