Microsoft SQL Server
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsDatabaseMicrosoft SQL Server

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread ASP Free Forums Sponsor:
  #1  
Old September 6th, 2004, 06:36 AM
twebbas twebbas is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Sep 2004
Posts: 3 twebbas User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
a real NOOB question..

Hi.

How do I find the database on the server using the connectionstring from sql server which is:

(or just how do i read this string, what does it mean?)

Const sqlFTDB = "Provider=SQLOLEDB.1;Persist Security Info=False;Initial Catalog=FTDB;Server=plato.center.olle.se;Locale Identifier=1055;Connect Timeout=15;Use Procedure for Prepare=0;Auto Translate=True;Packet Size=4096;Workstation ID=IIS;User Id=yyyyy;PASSWORD=xxxx;DATABASE=FTDB;"

I really need to get to that database. Have some things to change. Another question. As I have heard, the sql database on the server I´m trying to find the database on, is not connected "out" from the server. (if that makes any sense.=) How do I run the database then? Directly from the server or what?

If so, thats one of the reason i need to know how to know what the things in the string means...

thnx guys (and girls)

Reply With Quote
  #2  
Old September 6th, 2004, 07:22 AM
selwonk's Avatar
selwonk selwonk is offline
Contributing User
ASP Free Frequenter (2500 - 2999 posts)
 
Join Date: Jun 2004
Posts: 2,942 selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level)selwonk User rank is Second Lieutenant (5000 - 10000 Reputation Level) 
Time spent in forums: 6 Days 9 h 49 m 28 sec
Reputation Power: 62
Hi

Provider=SQLOLEDB.1;
Persist Security Info=False;
Initial Catalog=FTDB;
Server=plato.center.olle.se;
Locale Identifier=1055;
Connect Timeout=15;
Use Procedure for Prepare=0;
Auto Translate=True;
Packet Size=4096;
Workstation ID=IIS;
User Id=yyyyy;
PASSWORD=xxxx;
DATABASE=FTDB;

In ASP you could get away with:

Driver={SQL Server};
Server=plato.center.olle.se;
Address=[ip address here];
Network=DBMSSOCN;
Database=FTDB;
Uid=yyyyyy;
Pwd=xxxx;

For more info on connection strings: http://www.connectionstrings.com

MK

Reply With Quote
  #3  
Old September 6th, 2004, 04:27 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 22 h 23 m 39 sec
Reputation Power: 181
Start with the SQL Server Books Online
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved of it. --Mark Twain

Reply With Quote
Reply

Viewing: ASP Free ForumsDatabaseMicrosoft SQL Server > a real NOOB question..


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway
Stay green...Green IT