Guest deepalakhani Posted April 19, 2006 Share Posted April 19, 2006 hi all, I want a SQL Select Query to get database names in SQL databaseCan anyone help plsThanks in advanceDeeps Link to comment Share on other sites More sharing options...
Prakash Posted April 19, 2006 Share Posted April 19, 2006 Sorry, I'm not able to understand your Question.Please Poll the Question Correctly and Clearly.Are you working with Oracle or SQL Server?I mean, You want to retreive the Database names or Database Objects?I'll try to send you the reply.Bye. Link to comment Share on other sites More sharing options...
Jayesh Posted April 20, 2006 Share Posted April 20, 2006 Hi you can use " exec sp_databases "to get the name of all databases for that user.Regards Jayesh Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now