Click here to monitor SSC
SQLServerCentral is supported by Red Gate Software Ltd.
 
Log in  ::  Register  ::  Not logged in
 
 
 
        
Home       Members    Calendar    Who's On


Add to briefcase

Using SMO for 2000 servers Expand / Collapse
Author
Message
Posted Sunday, November 27, 2011 3:05 AM


SSC Veteran

SSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC VeteranSSC Veteran

Group: General Forum Members
Last Login: Tuesday, November 12, 2013 10:53 PM
Points: 290, Visits: 714
Hi Friends,

I would like to know how can I take full advantage of SMO scripting on SQL Server 2000 too.
I have a working script of SMO for 2005 servers. I know that DMO is the one for 2000, but I believe SMO has a backward compatibility as well?

On the other hand, I tried importing SQLDMO dll into the SSIS script task to write separate code for 2000, but SSIS could not utilize its functionality.

Thanks in advance :)


John
Post #1212179
Posted Monday, November 28, 2011 2:41 AM
SSC-Addicted

SSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-AddictedSSC-Addicted

Group: General Forum Members
Last Login: Monday, April 07, 2014 2:27 PM
Points: 460, Visits: 257
Hello,

Please, could you explain what you are meaning with scripts ? Are you using an application using SMO .dlls written in a language like VC# or VB ( 2008 or 2010 ) or if you are using Powershell ( more exactly sqlps.exe ) ?
The compatibility with SQL Server 2000 is depending of the version of your SMO .dlls.
2000 is supported by SMO 2005,2008,2008 R2 ( but a little advice , avoid 2005 which does not supports PowerShell and SMO 2005 is a little rotten )
for 2008 R2 see http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.compatibilitylevel(v=SQL.105).aspx
But for SQL Server 2012 ( ex Denali ), according to http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.smo.compatibilitylevel(v=SQL.110).aspx , no SQL Server version former 2005 is supported, so no compatibility with SQL Server 2000
So the compatibility is depending from the SQL Server SMO .dlls version

Don't hesitate to post again for more help or explanations
Post #1212341
« Prev Topic | Next Topic »

Add to briefcase

Permissions Expand / Collapse