Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to list databases
Message
De
02/08/2011 10:34:50
 
 
Information générale
Forum:
Microsoft SQL Server
Catégorie:
Syntaxe SQL
Versions des environnements
SQL Server:
SQL Server 2005
Divers
Thread ID:
01519867
Message ID:
01519890
Vues:
26
>>>>Hi
>>>>
>>>>What sql command will list all the databases on a server for me.
>>>>I want to copy the list to a file so I can arrange some tidying up by getting people to identify whats to be kept and whats to go.
>>>>
>>>>Thanks
>>>>
>>>>Nick
>>>>
>>>>Its ok I found it.
>>>>
>>>>EXEC sp_helpdb
>>>
>>>
>>>SELECT * FROM sys.databases 
>>>
>>
>>
>>Thanks Boris
>>
>>a supplementary question
>>
>>how to list views, tables and stored procedures.
>>
>>Or how to list differences between two databases.
>>
>>(In this case its a package and would like to know the differences between the virgin as installed package and the altered/customised version)
>>
>>Nick
>
>To get differences between 2 versions of databases try SQLCompare from Red-Gate. They come with trial version.

Thanks Naomi I'll take a look.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform