` Connecting to a remote MSSQL databaes (Mark Riffey) - Icetips Article
Icetips - Templates, Tools & Utilities for Clarion Developers

Templates, Tools and Utilities
for Clarion Developers

Icetips Article

Back to article list   Search Articles     Add Comment     Printer friendly     Direct link  

SQL Related Articles: Connecting to a remote MSSQL databaes
2004-03-21 -- Mark Riffey
 
Newsgroups: sv.clarion.documentation > It would be nice to have an example of how to connect to a remote database. > Connecting to a SQL server on a local machine or LAN is pretty > straightforward, but if I want my users to be able to connect to a MS SQL > server running on machine SOLACE-2000 at IP address 81.133.147.54, what > would be the connection string Its slightly different than MySQL, but not much. The key is to use the IP address, not the machine name, otherwise the string really doesnt change for MSSQL. And open port 1433, if necessary. Example for MSSQL: Provider=SQLOLEDB.1;Password=yourpassword;Persist Security Info=True;User ID=yourusername;Initial Catalog=yourcatalog;server=81.133.147.54 Mark


Today is November 21, 2024, 3:44 am
This article has been viewed 35248 times.
Google search has resulted in 72 hits on this article since January 25, 2004.



Back to article list   Search Articles   Add Comment   Printer friendly

Login

User Name:

Password: