smo
SQL SMO To Execute Batch TSQL Script
I\'m using SMO to execute a batch SQL script. In Management Studio, the script executes in about 2 seconds. With the following code, it 开发者_如何学JAVAtakes about 15 seconds.[详细]
2023-01-24 00:56 分类:问答SQL Server Managment objects to read data out of a backup file
I have a normal SQL bak up, is it possible to use c# & SMO to read info from a table inside my backup file?[详细]
2023-01-23 03:31 分类:问答What is the best way to persist login and password SQL Server when used from ASP.NET app that uses SMO?
I am creating a simple w开发者_如何学Ceb management studio using SMO. Is it secure enough to persist/store user information (login and password for database) using ASP.NET mechanism (e.g. formsauthent[详细]
2023-01-21 22:09 分类:问答Need reference code for SMO in C# SQL Server 2008
I googled but cannot find proper simple code for using backup database full and restore the backup, using defaults by using C#.[详细]
2023-01-21 04:29 分类:问答Sql Server Script data: SMO.Scripter not working when output to file
I get this error message when I run the Powershell script at the bottom: Exception calling \"EnumScript\" with \"1\" argument(s): \"Script failed for Table \'dbo.Product\'. \"[详细]
2023-01-19 10:57 分类:问答SMO exception when enumerating SQL Server databases
In my C# 3.5 application I am using SMO to locate runnin SQL Server instances. However, on a clean machine with SQL Server installed I receiving the following exception:[详细]
2023-01-19 06:09 分类:问答Need to run SQL script on 5000+ databases. How should I approach?
I am developing a tool that will eventually be used to run a sql script on 5000+ producti开发者_JS百科on databases simultaneously. For now it will only be used to run scripts on our Dev and QA databas[详细]
2023-01-18 23:35 分类:问答SMO install database via Backup
The project I\'m 开发者_JAVA技巧working uses SMO to restore the needed databases as part of the application installer. The problem is, on a machine that has never had the application installed.[详细]
2023-01-17 13:13 分类:问答odbc32 and SQLBrowseConnect Help
I\'m making a call to odbc32.dll (SQLBrowseConnect) to return a list of databases on a sql server. From running a trace I can see the query being execut开发者_如何学Goed is[详细]
2023-01-14 19:52 分类:问答SMO not available in .NET 4.0? Or is there an easier way to backup a database from code
We upgraded our application to .NET 4.0 a while ago, and now need to add the ability to backup SQL Server 2008 databases from the app.However, it doesn\'t seem that SMO is available for .NET 4.Is ther[详细]
2023-01-14 15:12 分类:问答