smo
Invoking SMO via T-SQL?
I\'d like to use SMO to do several things that aren\'t easily done in T-SQL. However, all the examples I\'ve found are for C# or Powershell.Is there an easy way to invoke SMO via T-SQL, as you could d[详细]
2023-04-10 23:07 分类:问答Using SMO on web server with ASP.NET
Is it required to have anything SQL Server related installed on a web server in order to make use of SMO? I\'ve built a web app that programmatically creates a SQL Agent job, adds a step (which ultima[详细]
2023-04-08 22:21 分类:问答SQL Azure: SMO Exception when scripting objects in SSMS 2008 R2
I am using SQL Server Management Studio 2008 R2 to manage a SQL Azure database.When I try to right-click on any of the objects in the database, and do 开发者_运维问答Script Table As -> CREATE -> New Q[详细]
2023-04-07 00:41 分类:问答What is this kind of path?
I got some path while working on a project but not able to figure out the kind of it. What is this and how can I access it.[详细]
2023-04-04 01:06 分类:问答Microsoft SMO for .Net 4.0
I am creating a setup project for a product.For my install, I have an executable that is run as a custom action.This executable is responsible for executing a SQL script during the install.However the[详细]
2023-03-30 22:13 分类:问答Can we get estimated plan of a statement in SQL Server as a select query result set OR automate SSMS - display estimated plan command via .NET
Using SSMS for the following statement I can see the estimated plan using Display Estimated Plan command.[详细]
2023-03-29 02:04 分类:问答Restore database from .bak file with new name
I am sing C#, .NET 3.5, and SMO to create a copy of a database (o开发者_运维问答ur production database) to some other databases (our DEV and Test-database) in SQL Server 2005.[详细]
2023-03-28 16:31 分类:问答Setting sql server usermapping programmatically using C#
You can set the usermappings voor a user in sql server for a database, is this possible to do it in C#? for example setting db_owner permissions on a datab开发者_StackOverflowase for a user, using SMO[详细]
2023-03-24 18:16 分类:问答SMO scripting entire database like Studio Management does with Generate Scripts
I am trying to set up a C# tool that scripts an entire database from the tables down to the stored procedures. I want to get all the schema and data. I am having a hard time finding much on the net on[详细]
2023-03-22 01:57 分类:问答How To Backup And Restore DataBase With FILE STREAM Using SMO in C#
How can i backup and restore a database with file stream Using SMO 开发者_开发技巧in C#. i found some attributes in Server Class in SMO Like \"FilestreamLevel\" and \"FilestreamShareName\"[详细]
2023-03-17 14:50 分类:问答