Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 Find all databases in a server that begin with..

Author  Topic 

QuietRiot
Yak Posting Veteran

67 Posts

Posted - 2008-01-02 : 10:20:37

SQL to find all databases that begin with 'BBC'

thanks in advance

harsh_athalye
Master Smack Fu Yak Hacker

5581 Posts

Posted - 2008-01-02 : 10:22:05
[code]select * from master..sysdatabases where name like 'BBC%'[/code]

Harsh Athalye
India.
"The IMPOSSIBLE is often UNTRIED"
Go to Top of Page

QuietRiot
Yak Posting Veteran

67 Posts

Posted - 2008-01-02 : 10:36:54
thank you!!!!!
Go to Top of Page
   

- Advertisement -