hi

im trying to find a function that returns the name of the database im using ..

for example, im using northwind in sql server. i want to return northwind, dbo and all databases on my local server (their names). shall i make several connections or just connecting to one is enough ! hope thats clear enough .. thnx much.