Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Connecting to sql server database via web
Message
De
18/08/2009 04:35:51
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
18/08/2009 02:53:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01418590
Message ID:
01418602
Vues:
52
>Hi there
>I have a stand alone PC XP based on which it is running a VFP application. It has to retrieve data from a remote SQL server database via Internet. Actually I retrive data from a FTP site but seen that we (HE) is transferring the web server onto our PC win 2008 server Based that is located in our office, I was thinking about getting data directly from this PC.
>My question is :) : How to get connected to this database via Internet ?
>
>Thank you very much
>
>Alessio

Alessio,
You can connect using an IP address or URI. For example if that PC could be located as alessio.com then your connections string would look like:

server=alessio.com;uid=username;pwd=password;

or with IP:

server=x.x.x.x\sqlInstanceName;uid=username;pwd=password;

with a port number and specifying the connection library:

server=x.x.x.x,1433;Network Library=DBMSSOCN;uid=username;pwd=password;

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform