views:

2037

answers:

3

When using SQL Server Management Studio from SQL Server 2005, I can connect to an instance of SQL Server 2000... but none of the stored procedures show up. Is there some trick to allow SQL Server Enterprise Manager 2005 to properly talk to SQL Server 2000 databases?

+1  A: 

I don't see a 2005 Enterprise Manager. Instead there's a Management Studio, which shows Databases/database/Programmability/Stored Procedures (and it's looking at a 2k database).

le dorfier
+4  A: 

I'm guessing that the account that you're logging in as does not have access to execute the stored procs. If it doesn't have access to use a stored proc, SQL Server Management Studio 2005 won't show it (regardless of it you're connecting to a SQL 2000 or 2005 server)

Mitchell Gilman
thanks! that must be it...
Joel Spolsky
You're welcome. Your websites and writings have been a big help to me, so I'm happy to have a chance to return the favor. :-)
Mitchell Gilman
+1  A: 

I have my SQL Server Management Studio hooked up to two SQL Server 2000 Servers and the stored procs show up under programmability on the database I'm accessing.

P.S. I just thought it would be amusing to see who was tied to their computer on New Year, why are you not partying like the rest of the world? :oP

BenAlabaster
someone wrote a stupid regexp that starts with "2008" :-)
Joel Spolsky
Haha, nice. Happy New Year
BenAlabaster
you too. It turns out it was a trigger, stored under a table, not under "programmability." And indeed it was hardcoded with "2008" grrrrr
Joel Spolsky
Ah - yes a trigger wouldn't be under programmability... but that wasn't what you asked. Good you got it fixed so quickly though. Now that you've changed it to 2009 you can rest until next year :P
BenAlabaster