redgate

how to compare/validate sql schema

醉酒当歌 提交于 2019-12-03 08:56:27
问题 I'm looking for a way to validate the SQL schema on a production DB after updating an application version. If the application does not match the DB schema version, there should be a way to warn the user and list the changes needed. Is there a tool or a framework (to use programatically) with built-in features to do that? Or is there some simple algorithm to run this comparison? Update: Red gate lists "from $395". Anything free? Or more foolproof than just keeping the version number? 回答1: Try

Anybody using SQL Source Control from Red Gate

天大地大妈咪最大 提交于 2019-12-03 03:13:59
问题 We have been looking into possible solutions for our SQL Source control. I just came across Red Gates SQL Source control and wondered if anyone has implemented it? I am going to download the trial and give it a shot, but just wanted to see if others have real experience. As always greatly appreciate the input --S 回答1: I use SQL Compare for generating scripts when going from dev -> test -> production and it saves me tons of time. For source control though, we use SVN and ScriptDB (http:/

how to compare/validate sql schema

六月ゝ 毕业季﹏ 提交于 2019-12-02 23:03:49
I'm looking for a way to validate the SQL schema on a production DB after updating an application version. If the application does not match the DB schema version, there should be a way to warn the user and list the changes needed. Is there a tool or a framework (to use programatically) with built-in features to do that? Or is there some simple algorithm to run this comparison? Update: Red gate lists "from $395". Anything free? Or more foolproof than just keeping the version number? Try this SQL. - Run it against each database. - Save the output to text files. - Diff the text files. /* get

Anybody using SQL Source Control from Red Gate

自古美人都是妖i 提交于 2019-12-02 16:44:57
We have been looking into possible solutions for our SQL Source control. I just came across Red Gates SQL Source control and wondered if anyone has implemented it? I am going to download the trial and give it a shot, but just wanted to see if others have real experience. As always greatly appreciate the input --S I use SQL Compare for generating scripts when going from dev -> test -> production and it saves me tons of time. For source control though, we use SVN and ScriptDB ( http://scriptdb.codeplex.com/ ) though. I mainly use source control of SQL scripts for keeping track of changes. I

RedGate Reflector to recover source code from .net assembly

浪子不回头ぞ 提交于 2019-12-02 07:03:32
Quick question. Can I recover a lost .cs file using RedGate Reflector ? My assembly is a debug version Jason Evans If you open .NET assembly in Reflector, you should be able to switch which language Reflector uses to display the code e.g. IL , VB.NET , C# . There is a dropdown list on the UI menu bar with this selection of languages. As long as you have all the required external libraries and references, you should be able to copy the C# code form Reflector and try to rebuild it. To make it a little more simple to get the IL code back into a file you should check out this Reflector Add-in .

How do I rename a tSQLt test class?

倖福魔咒の 提交于 2019-11-30 15:18:15
I'm developing a database using the Red Gate SQL Developer tools. SQL Test , the SSMS add-in that runs tSQLt tests, lacks a way to rename test classes. I have a test called [BackendLayerCustomerAdministrationTests].[test uspMaintainCustomerPermissions throws error when PermissionValue is missing or empty] . The name is so long it breaks Deployment Manager . 2013-12-05 18:48:40 +00:00 ERROR The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters. There are other unwieldly test

Is RedGate SQL Source Control for me? [closed]

痴心易碎 提交于 2019-11-28 20:43:24
I've just inherited an SQL Server database. One of the things I will need to sort out is versioning and automated builds. It has been suggested that I should think seriously about recommending RedGate SQL Compare, but I have to admit I am a little uneasy about it. My reservations are... it appears to promote use of the gui tools for db work? for live apps, I prefer to work with change scripts, this avoids the last minute panic to create migration scripts at the end of each scrum cycle, and it means your update scripts can be tested by the CI. I can't see how the RedGate tool addresses this. My

Something Better than .NET Reflector? [closed]

浪尽此生 提交于 2019-11-26 16:46:24
I used to love Reflector back in the day, but ever since RedGate took over it has gone downhill dramatically. Now it forces me to update (which is absolutely ridiculous), half the time the update doesn't go smoothly, and it is increasingly hindering my productivity with each update. I am sick of it, and I am ready for something better. Does anybody know of a better disassembler? Update: List of various alternatives mentioned in answers - ILSpy dotPeek JustDecompile DisSharper Mono Cecil Kaliro Dotnet IL Editor (DILE) Common Compiler Infrastructure Also take a look at ILSpy by SharpDevelop . It

Something better than .NET Reflector? [closed]

↘锁芯ラ 提交于 2019-11-26 04:57:16
问题 As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance. Closed 6 years ago . I used to love .NET Reflector back in the day, but ever since Red Gate Software took over it has gone downhill dramatically. Now it