dbTalk Databases Forums  

C#, SQL-DMO, Add FileGroup Issue.

comp.databases.ms-sqlserver comp.databases.ms-sqlserver


Discuss C#, SQL-DMO, Add FileGroup Issue. in the comp.databases.ms-sqlserver forum.



Reply
 
Thread Tools Display Modes
  #11  
Old   
LineVoltageHalogen
 
Posts: n/a

Default Re: C#, SQL-DMO, Add FileGroup Issue. - 03-25-2005 , 04:25 PM






Simon, you ROCK! That worked! I am extremely gratefull to you.

TFD


Reply With Quote
  #12  
Old   
Simon Hayes
 
Posts: n/a

Default Re: C#, SQL-DMO, Add FileGroup Issue. - 03-26-2005 , 06:46 AM







"LineVoltageHalogen" <tropicalfruitdrops (AT) yahoo (DOT) com> wrote

Quote:
Simon, why did you switch to SQLDMO.SQLSERVER2 and two for the other
object types?

TFD

No particular reason - in this case it doesn't matter, but it others it may,
so I generally use the extended objects if there is one.

As for resources, I've only ever used Books Online (and Google, of course).
I usually work with SQLDMO in Python and VBScript, and it isn't too hard to
use VB code as an example.

Simon




Reply With Quote
  #13  
Old   
LineVoltageHalogen
 
Posts: n/a

Default Re: C#, SQL-DMO, Add FileGroup Issue. - 04-06-2005 , 08:54 AM



Simon, one quick question. Does the Java programming language support
SQL-DMO? I was thinking that if I wanted to convert my c# program to
J2EE could it be done?

TFD


Reply With Quote
  #14  
Old   
Simon Hayes
 
Posts: n/a

Default Re: C#, SQL-DMO, Add FileGroup Issue. - 04-06-2005 , 09:45 AM



No idea. If you can access COM objects from Java, then I don't see why
not, but I don't know how you would do that.

In any case, I'm not sure what the point would be - anyone running
MSSQL must be running Windows, so there's not much benefit to a Java
version. Even if an organization uses Java on Unix/Linux for business
applications with an MSSQL backend, the MSSQL DBAs will still be using
Windows, and SQLDMO is most useful for them.

You might also consider that the SQL2005 version of SQLDMO - SMO - is a
..NET assembly, not a COM object, so .NET is the way to go if you intend
to support SQL2005 at some future point.

Simon


Reply With Quote
  #15  
Old   
LineVoltageHalogen
 
Posts: n/a

Default Re: C#, SQL-DMO, Add FileGroup Issue. - 04-06-2005 , 06:30 PM



Good points, all of them.

As a side note I managed to finish my application entirely in C#. I
was hard not having any examples and not being a programmer. All the
VB examples out there helped quite and bit as well as your input.

Thanks Again, TFD.


Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.