Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 4 years ago.
Improve this question
Is there a free code formatter available for TSQL - SQL Server 2005/2008. I found few most of which asks to copy paste code online in an applet. I am looking for a desktop version. Tried toad for sql server but formatting is not supported in freeware.
If anyone has any work-around please share it.
I've been working on a formatter for the past few months, I just release the official version v1.0, with no (major) known issues.
It's available for immediate online use at http://poorsql.com, and the project with SSMS Add-In, command-line formatter ready-to-download is available at http://www.architectshack.com/PoorMansTSqlFormatter.ashx.
I know it's been a long while since this question was posted, but I'd love any sort of feedback.
(Edit: updated status)
Check out the SSMS Tools Pack (free addon for SSMS).
One of the features is formatting (http://www.ssmstoolspack.com/Features?f=3), though I don't know what level you want your SQL formatted - maybe you could clarify?
SQLISE has a formating function, you can set a number of formatting options. It is free. It is a codeplex project based on PowerShell.
Drawback it removes all comments
link text
This online tool does excellent sql formatting.
http://sqlserverlearner.com/online-tools/tsql-code-formatter
I use it to format tsql code
Related
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 8 years ago.
Improve this question
Does anyone know where I can find a thorough VS 2010 Database Project sample. I have scoured the Internet and am still unable to find any sample VS database projects.
Maybe this little walkthrough (MSDN) is what you are looking for:
Walkthrough: Put an Existing Database Schema Under Version Control.
These walkthrough is based on the sample database AdventureWorks2008. How to install and configure the sample database is described by another walkthrough. Because of the hyperlink limitation I can't post the link but you will find it by google: "Walkthrough: Installing the AdventureWorks Database".
If you are looking for further information I recommend you the following document from the Microsoft ALM Rangers: Visual Studio 2010 Database Projects Guidance Document.
Look through the code samples available on MSDN. Not entirely sure what kind of database projects you're looking for, but there is a category for Entity Framework.
EDIT: Also, you might want to check out this sample chapter that introduces to the basics of database projects, and this MSDN code sample set.
in www.codeplex.com there are a lot of examples, on of them is "Expens"
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 2 years ago.
Improve this question
I will be given a job offer by an IT company, and was asked to "look at" PL/SQL since I didn't have much experience with databases. I have an extensive background in C++ among other programming languages, so I don't think this will pose too much of a challenge. However, I don't have access to any Oracle database at home, so I was wondering if there is a "toy" database and terminal online where I can practice.
Register yourself an account at APEX ONLINE you have all of the tools for free available online, or simple download Oracle Database 10g Express Edition
I would suggest a higher priority would be to learn the Relational model of data, then SQL.
If you don't start with a solid understanding of the RM, you're more likely to tend to use procedural solutions where a set-based approach is better.
Go and get the Express version of the database server Here
As for learning PL/SQL start
here
You just download sql developer tool by using this link..do practice well.
http://www.oracle.com/technetwork/developer-tools/sql-developer/downloads/index.html?ssSourceSiteId=ocomen
There is another site where you can practice PL/SQL online:
http://www.tutorialspoint.com/oracle_terminal_online.php
Oracle have some VM images with Oracle Linux ready-to-run:
http://www.oracle.com/technetwork/server-storage/linux/downloads/vm-for-hol-1896500.html (64bits VM)
To learn PL/SQL language you just need a text editor like atom or sublime text. You can also install MySQL.
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I want to download all the library documentation about ,msvc++ from MSDN. I don't have access to internet for more than 12 hours in a day . It's creating a lot of problem for me. Can anybody give me idea to locally store entire documentation. Thanks in advance.
EDIT : I got it for visual studio 2008. If anybody gets for 2010, kindly provide me a link.
What is the problem ? download MSDN using download manager (it can stop the download and resume it later. and set the help to go for local copy of the documentation.
it works.
what visual studio do you use ?
MSDN 2008
For 2010 it looks like they did not published an iso download but I've found this post:
Downloading MSDN 2010 :
While no downloadable ISO is available, you can use the Help Manager in VS 2010 to download Help onto your local machine.
To get this, click Manage Help Settings on the Help menu.
If you click Install content from disk, a local version of MSDN library is downloaded onto your machine. Click Choose online or local help and then I want to use local help if you want to use the downloaded content versus online Help content. Of course, the Help downloaded from the disk is only a snapshot taken at RTM, so it lacks topic updates. To get updates (if they're available), click Check for updates online.
HTH,
- Kemp Brown [MSFT]
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
Improve this question
I'm looking for a way to properly comment my stored procedure code so that I can extract the information into useful documentation ala something like XDOC (or C# equivalent). Something that's preferably lightweight would be ideal.
If you're already using Sandcastle to generate documentation based on the XML comments that Visual Studio generates, you might want to check out the following CodeProject project:
SQL XML Documentation
It shows you how you can use the tools you're already using to generate documentation for your SQL objects in the same style as the documentation you're already generating for the rest of your code.
Why not use extended properties which can be queried in a simple SQL statement?
SELECT * FROM sys.extended_properties
No need for any plug-ins, add-ons, or have a specific stored proc layout...
This is what we use for every object in our databases (and we also use Red Gate SQL Doc too to give some structure and a nice web site)
Closed. This question does not meet Stack Overflow guidelines. It is not currently accepting answers.
We don’t allow questions seeking recommendations for books, tools, software libraries, and more. You can edit the question so it can be answered with facts and citations.
Closed 7 years ago.
Improve this question
I need open source database that I can ship with my commercial application.
It should not have any installation (i.e., no window service and no setup).
It can be single user database. It should work in Windows environment and used from Java code.
Thanks
I really like SQLite. You can use it with java via SQLiteJDBC. It is very good embedded database. For Java, it might be easier to use Derby though.
You might also want to look at HSQL and H2, which are both open source embedded databases written in Java.
Firebird Embedded - just needs couple of DLL files and you have full database in your hands. Have been using it for years.
How to use it in Java
Look into SQLite. I haven't used it, but I've had apps that claimed to use it, and I couldn't tell the difference.
How about SQLite?
It has good performance, and with one user you don't have to worry about concurrency.
Oracle Berkeley DB: http://www.oracle.com/database/berkeley-db/index.html