Click here to monitor SSC
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Using SMO for 2000 servers


Using SMO for 2000 servers

Author
Message
m--S3qU3L
m--S3qU3L
SSC Veteran
SSC Veteran (292 reputation)SSC Veteran (292 reputation)SSC Veteran (292 reputation)SSC Veteran (292 reputation)SSC Veteran (292 reputation)SSC Veteran (292 reputation)SSC Veteran (292 reputation)SSC Veteran (292 reputation)

Group: General Forum Members
Points: 292 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 Smile

John
patricklambin
patricklambin
Hall of Fame
Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)Hall of Fame (3.5K reputation)

Group: General Forum Members
Points: 3508 Visits: 1240
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
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search