|
-
Jan 11th, 2002, 04:09 AM
#1
Thread Starter
Junior Member
Please hepl Me!!
Thank for looking My Question !!
I have a question that is:
Our company Have a Wan network ( We Have the lease line) So Can anybody have know about that answer Me that Can I use Visual Basic connect to sql on the Wan network ? If The answer is OK so what about the speed ?
Thanks advance !
-
Jan 11th, 2002, 04:51 AM
#2
Yes you can connect to an SQL Server on the network by passing the IP address in :
Code:
"Provider=sqloledb; Data Source=255.255.225.0,4040; Network Library=DBMSSOCN; Initial Catalog=Database1; UID=UserName; pwd=Password"
The 4040 bit is the port number for the IP address. As for the speed, works like a charm - I've had no problems with my webservers connecting & you won't see a difference between a local or network SQL server.
Regards,
Alex
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|