No announcements
Filter
:
All Threads
All Threads
Answered
Unanswered
Proposed Answers
General Discussion
No Replies
Helpful
Has Code
All Languages
-
Sticky0VotesPlease mark threads that are answered
If an answer to your question has been answered by a post, please mark that post as an answer. This allows us to keep better track of progress. The SQL Server team is ... -
Sticky0VotesWhere to file product feedback (bugs, suggestions, feature requests, etc.)
See this article for details how to file product feedback: http://msdn2.microsoft.com/en-us/library/ms166362.aspx It's highly recommended to send feedback if you ...
-
Unanswered0VotesDataTransfer Progress Event with SMO
I'm trying to report on the smo data transfer progress of my powershell script. I am receiving the error: Cannot convert argument "0", with value: ... -
Answered0VotesInserting a DataColumn in Sql Table using Smo?
With the help of Alok and SREEKAR I now have a powerful way to manipulate my Sql Server tables matadata including adding, deleting columns and peeking into properties using Smo. It is very convenient. ... -
Answered0VotesCopy Database with Microsoft.SqlServer.Management.Smo.Transfer breaks identity columns
Hello I have a task to copy at runtime "etalon" database inside one same SQL 2005 server. Everythings ok except identity fields: identity breaks in new database.I use such ... -
Answered2VotesConverting and comparing SMO.DataType to CLR type
I'm sure this question has come up plenty of times before, but does anyone have a good technique for deriving a CLR type from the slew of various SMO types? I have no issue with creating the ... -
Answered1VotesALTER TABLE ALTER COLUMN [access-id] failed because one or more objects access this column
Hi when I'm upgrading table schema with alter statement I'm getting error like this ALTER TABLE ALTER COLUMN [access-id] failed because one or ... -
Answered0VotesSet Compatibility Level SQL2012
All, I am trying to set the compatibility level of a database using SMO in SQL 2012. The problem is when I go to set it to 110 I get an error message stating ... -
Answered2VotesSome questions on SQL SERVER SMO - Generating Table DDL
I am uisng sql server 2008 and Visusla Studio 2008 C# to automatically generate ddl scripts and dml scripts (Insert statements for my database). I am used to Oracle's export/impot utility and want to ... -
Answered0VotesStop Mirroring using SMO
How to stop mirroring on a database. I tried the following code in powershell but it did not work ... -
Answered14VotesHow to drop identity property of Column
Hi all, Can any one help me or guide me how to drop identity property of a column with help of smo or ... -
Answered2VotesSQL Server 2008 R2: System.InvalidOperationException: Operation is not valid due to the current state of the object
The SSMS generate Scripts option (ALL OBJECTS - SINGLE FILE OPTION) was working fine. Since few days its giving error on UDT ... -
Unanswered0VotesSubscribeToEvents Server Method Error Hresult: 0x80070005 Access Denied
Hi there; I am developping a smo app that uses the Server.Events.SubscribeToEvents Method and actually a have a Access Denied Error if I use it local and I have a ... -
Answered2Votesrequirements for upgrading sqldmo code in c++ to sqlsmo
Hello, I am in process of upgrading my c++ code using sqldmo to work with sql server 2012. Could you pls let me know if its possible to use ... -
Unanswered0VotesCapture only errors in ConnectionContext ServerMessage event
I have the following code Server server = new Server(new ServerConnection(sqlConnection)); server.ConnectionContext.ServerMessage += new ... -
Answered0VotesDifference bewtween InfoMessage and SeverMessage events
Can somebody tell me, what's the difference between SMO Server ConnectionContext, SeverMessage and InfoMessage events? Sunil -
Proposed1VotesGenerate Scripts with dependency preserved (SQL 2008 R2, SQL 2012)
Generate Scripts..." does not preserve the dependency order of objects ie. when selected a set of tables and sprocs, it generates the scripts for the sprocs first. I have read ... -
Answered0Votessp_OACreate monitoring tool
Hi All, I have an interesting situation. Task on hand is to make a log entry whenever sp_OACreate is used or called from SQL Server query analyzer with a specific ... -
Proposed4VotesSQLServer SMO connection failed after deploy on IIS
I built an MVC 4.0 application to manage server jobs on my server. The application worked fine in VS 2012 environment (IIS Express) but after deploy on IIS I get this ... -
Answered2VotesSQL Trace .NET
http://msdn.microsoft.com/en-us/library/microsoft.sqlserver.management.trace(v=sql.105).aspx is it possible to create a sql trace via .net and just collect the data in memory, ... -
Answered0VotesDetermining SQL max / min server memory configuration via WMI
Hi, I haven't been able to find any way to retrieve the max / min server memory settings for a SQL Server instance via WMI. I know it's possible to use sp_configure, or to examine ... -
Answered0Votescreate a sql agent job through website in c#.net
how to create a sql agent job and add 3 packages for job steps dynamically through website in C#.net?? when i type "test" in textbox in website ... - Items 1 to 20 of 1776 Next ›


