You are here: Re: Enumerate databases « MsSQL Server « IT news, forums, messages
Re: Enumerate databases

Posted by ab on 06/26/06 13:36

Thanks Dan, that helped.



Dan Guzman schreef:

> Try:
>
> SELECT name FROM sysdatabases
>
> I've also seen the INFORMATION_SCHEMA.SCHEMATA view (SQL 2000) used for this
> purpose but that should be avoided. That technique will break in SQL 2005
> because the vew behavior was changed to align with the ANSI standard.
>
> --
> Hope this helps.
>
> Dan Guzman
> SQL Server MVP
>
> "ab" <absmienk@hotmail.com> wrote in message
> news:1151316129.417576.287020@i40g2000cwc.googlegroups.com...
> > This shouldn't be too hard but I can't find the right answer: How can I
> > enumerate all databases in my SQL Server (V7)?
> >

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация