Visual Studio-like refactor tool for SQL [closed] - sql

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Are there any free tools providing snippets and syntax checking similar to Refactor in Visual Studio 2003/05/08/10?
#edit: To MSSQL, any version..

Take a look at this:
SSMS Tools
It offers snippets, basic formatting and a bunch of other features.

The only tool I know about is RedGate SQL Refactor. I have tried it a number of times, but I always end up uninstalling because it's not good enough to my liking.

You can try out free SSMS and VS add-in, ApexSQL Complete
ApexSQL Complete provides snippets and syntax checking and a lot of other features (aliases, the Insert procedure parameters automatically option , the Insert full INSERT statement option and so on)
Disclaimer: I work for ApexSQL as a Support Engineer

Related

Codemaid-Like Tool for VB.NET [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I used to do a lot of work in C# but recently I got into a new role as a VB.NET developer. When I was doing C# I got to really like CodeMaid as an auto-formatting tool. Is there a tool like it for VB.NET (since CodeMaid doesn't support VB.NET)? I haven't been able to find anything in my searches (that was free anyways...).
I heard your plea.. how about we add support for VB to CodeMaid? :)
VB support is now available in beta testing here: https://bitbucket.org/s_cadwallader/codemaid/downloads/CodeMaid_v0.5.7.4_BETA.vsix
Give it a spin and if you see issues or have suggestions shoot a message to codemaid on gmail.
I'd suggest trying ReSharper. It supports almost any language you can use in visual studio. It may not be free, but you should give the trial a shot.
For quick 'auto-formatting' of text you can select all text in your file and use this shortcut:
Ctrl + K, Ctrl + F
to auto-format based on your Visual Studio formatting guidelines.
VB.NET forces most of the formatting you would have to do in C#, i.e. the code gets formatted automatically. For everything else there is little development effort. You do not need any tools for that.
Source: professional VB.NET developer for 4+ years.

Code Analysis Tool for PowerBuilder [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is anyone familiar with a code analysis tool along the lines of NDepend or JDepend for Powerbuilder?
I'm looking for something that can analyse dependencies and metrics such as SLOC, Cyclomatic Complexity etc. for a large, legacy Powerbuilder application.
The only code analysis tool I know for PB is Visual Expert. I've given it a look some time ago but have never actually used it, so I can't say if it does what the other tools you mention do.
Visual Expert is great. PBL Peeper can do these tasks as well, and it's free... :)
Visual Expert is good, but has some flaws. I tried it to analyze our server side code(EA Server) and found some issues. It's impact analysis feature is good to document a Dependency/Calling Hierarchy in the PB code.
I also tried, [PB code analyzer]:http://www.ecocion.com/pbca-powerbuilder-code-analyzer and it does a good job of documenting PB code.
I am not sure, if they do the metrics you are looking for. I found below links, googling(I didn't try these myself):
http://en.wikipedia.org/wiki/List_of_tools_for_static_code_analysis
http://documentation.microfocus.com/help/index.jsp?topic=%2FGUID.571F6E84.1EE2.4F68.80C7.B1DC863536CB%2FGUID-E418791C-B249-434D-BD5A-A2B570F9FA31.html
Recently I came across this tool called CAST
http://en.m.wikipedia.org/wiki/CAST_Application_Intelligence_Platform
None of the other alleged metrics do any better than SLOC, and some are anti-predictive. Just run wc -l over your source files.

Tool for sql refactoring? [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
Is there a refactoring tool available for SQL (TSQL in particular). Is there any tool that can do automatic simplification of SQL?
I have a set of views where only the top two are used, and I'd like to refactor this into only two views, hence 10+ queries into two queries.
Try ApexSQL Refactor
ApexSQL Refactor is a FREE SSMS and VS add-in, for formatting SQL statements using nearly 200 formatting options and 11 code refactors. It expands wildcards, qualifies object names, renames SQL database objects and parameters without breaking dependencies, encapsulates code as a stored procedure, scalar function, table function, and view, add surrogate keys and more
Disclaimer: I work for ApexSQL as a Support Engineer
Red-Gate Software has a tool called SQL Refactor which should do what you're looking for.
Update. as BlueRaja correctly states - SQL Refactor has been discontinued as a separate product, and its functionality is now integrated into SQL Prompt (which is a great tool in itself, and well worth the money for its license!)
+1 to marc_s which I suspect is what you're after. Just to add, the only other tool I know of that automatically refactors SQL is Toad for SQL Server by Quest Software. Feature list is here.
I've never used it, so don't exactly know what it does but thought it worth a mention.

Redgate SQL Tools [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I am testing the Redgate belt and the set of tools seems pretty amazing... but before I buy anything... could you recommend any other tools similar to these?
The only other vendor with a similar line-up and quality that I know of would be ApexSQL
Visual Studio Database Edition provides a subset of the features RedGate provides. It might be better than RedGate if your team uses Team Foundation Server for source control.
If you need data comparison, schema comparison or visual query builder, than you should take a look at our database tools for SQL Server.

SQL Syntax Formatting Tool [closed]

Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
Questions asking us to recommend or find a tool, library or favorite off-site resource are off-topic for Stack Overflow as they tend to attract opinionated answers and spam. Instead, describe the problem and what has been done so far to solve it.
Closed 9 years ago.
Improve this question
I find the need to send SQL statements by email often and I was wondering if anyone had a tool that would color code the Oracle Reserved Words, Keywords, and Namespaces so that when the code is copied from the tool into say Lotus notes it would appear in the email as it does in the tool.
try this
Instant SQL Formatter
you must select the option
Output -> SQL (HTML:font)
Bye
SQLinForm - No download necessary. It uses a Java applet. Feature rich. That’s the one I like.
An alternative is to use Pastebin , encrypt it and send the pastebin link.