Home Forums SQL Server 7,2000 Administration Find all Databases on my servers RE: Find all Databases on my servers
Michael Ziese-200679
Right there with Babe
Points: 789
More actions
February 7, 2005 at 8:11 am
#540967
Yes see my second script i sayd it works fine, but i cant do this with the varialbe @servername, the affect gives a error like this:
Line 9: Incorrect syntax near '@servername'
There must be an other way, but i cant find anything in BOL.