Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ODBC to SQL database in my domain
Message
From
18/05/2004 07:02:04
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
18/05/2004 06:41:16
General information
Forum:
Visual FoxPro
Category:
ActiveVFP
Miscellaneous
Thread ID:
00904842
Message ID:
00904847
Views:
13
>Dear All,
>
>I have requested to my domain registrar to create MS SQL data base in my domain, they have created the database. If the account information is as follows
>
>Domain Name............: mydomain.com
>MSSQL database order:
>Database name: mydatabase
>Password: mypw
>
>Pls explain
>
>1.How can I create ODBC for this database?
>2.How can I do server Register in my SQL Enterprises manager?
>
>pls provide with a sample
>
>The syntax I got from theire site is
>
><%
>Set Conn = Server.CreateObject("ADODB.Connection")
>DSNtest="DRIVER={SQL
>Server};SERVER=mssql.domain.com;UID=USER;PWD=password;DATABASE=mydatabase"
>Conn.open DSNtest
>
>
>I have midified the above code to connect thru my vfp application
>
>lcDSNLess="DRIVER={SQLServer};SERVER=mssql.mydomain.com ;UID=sa;PWD=mypw;DATABASE=mydatabase"
>?sqlstringconnect(lcDSNLess)
>
>but not working, pls tell what i wrong with ths
>
>Thanks in advance
>
>Jijo David

lcDSNLess="DRIVER=SQL Server;" +;
"SERVER=mssql.mydomain.com;UID=sa;PWD=mypw;DATABASE=mydatabase"

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
Previous
Reply
Map
View

Click here to load this message in the networking platform