|
-
Nov 22nd, 2002, 01:59 PM
#1
Thread Starter
Need-a-life Member
MS Remote
Is there any way to know what database you're connecting to??
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Nov 22nd, 2002, 02:01 PM
#2
PowerPoster
Well
Huh?
Name of database? Wouldn't that be part of the connection string?
Remaining quiet down here !!!
BRAD HAS GIVEN ME THE ULTIMATIVE. I have chosen to stay....
-
Nov 22nd, 2002, 02:04 PM
#3
Thread Starter
Need-a-life Member
Nop. In the Connection String you set the IIS, and you refer to an INI (msdfmap.ini) where the connection string resides.
Anyway, isn't there any Trans-SQL query to get the database which you're connecting to?
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Nov 22nd, 2002, 02:07 PM
#4
Thread Starter
Need-a-life Member
Actually, you refer to a "part" of the INI. The INI is always that one (as far as I know). You can create several different connections, each of them with different [names].
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
-
Nov 22nd, 2002, 02:29 PM
#5
Thread Starter
Need-a-life Member
Found it!! Thanks to a friend online... I got the answer. It is:
SELECT DB_Name()
Emiliano F. Martín
If a post has helped you then please Rate it! (and give the user points he/she deserves by clicking on the image).
Encourage the person who helped you to keep doing it, and give him the points he deserves.
MP3 Organizer: Freeware to logically organize all your MP3s.
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
|