The sp_helpdb returns information like the database name, size, owner, ID, date of creation, various database setting and options, compatibility level etc.
To return information about a database :
EXEC sp_helpdb 'Northwind'
GO
If you want to return information about all databases :
EXEC sp_helpdb;
GO
Did you like this post?
|
|
|
||
|
|
|
|
|
|
|
subscribe via rss |
|
subscribe via e-mail |
|
|
print this post |
|
follow me on twitter |




comments
0 Responses to "Viewing database information using Sql 2005"Post a Comment