
select name from master..sysdatabases