GithubHelp home page GithubHelp logo

zzzprojects / sqlfiddle Goto Github PK

View Code? Open in Web Editor NEW
275.0 31.0 52.0 18.23 MB

Home Page: http://sqlfiddle.com

License: MIT License

ColdFusion 44.73% HTML 1.67% Shell 0.01% JavaScript 51.98% CSS 1.14% TSQL 0.06% Less 0.41%

sqlfiddle's Introduction

Library Powered By

This library is powered by Entity Framework Extensions

Entity Framework Extensions

SQL Fiddle

THIS VERSION IS NOT IN USE ANY MORE

SQL Fiddle has been implemented with a new codebase - see https://github.com/jakefeasel/sqlfiddle2 for those details

Getting the project up and running

Fork the code on github to a local branch for youself.

If you haven't already got Maven, install it now.

From the root of your working copy, run this:

mvn jetty:run

Once everything downloads and runs, the app will be running on localhost:8080. Watch for this message in your console:

[INFO] Started Jetty Server

You can now access your local server at localhost:8080.

You should now have a functional copy of SQL Fiddle running locally. Out of the box, the only database "servers" you have are SQLite instances (since those actually run in your browser). Setting up others requires separate work for each one (and isn't really necessary for most development work).

The document root being served is src/main/webapp. You can edit the files under there and see the changes immediately upon refresh (no need to restart the jetty server).

##Optional

You should set the Railo Admin passwords. Here are the links to get to both admin contexts, once you have Jetty running:

Local Railo Web Admin Local Railo Server Admin

The simplest thing to do would be to set the password just to "password" (no quotes). This is the default password in the config. If you choose to use another Railo admin password, you must set it in the file src/main/webapp/config/development/settings.cfm and update the CFAdminPassword. Once you set the admin password, you don't need to do anything else in the Railo Administrator.

Useful links

Contribute

The best way to contribute is by spreading the word about the library:

  • Blog it
  • Comment it
  • Star it
  • Share it

A HUGE THANKS for your help.

More Projects

To view all our free and paid projects, visit our website ZZZ Projects.

sqlfiddle's People

Contributors

jakefeasel avatar jonathanmagnan avatar mrpollo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

sqlfiddle's Issues

New output formats

Output the results in various formats (CSV, TSV, INSERT statements, maybe Excel).

Update about page

Update tech stack details to reflect latest changes. Add section for notes on the various differences between database backends.

CSV / TSV to DDL

Build a tool that will make it easier to translate text format tables to valid DDL

Test mechanism to validate results

Something like QUnit that can make assertions about the result sets, associated with the sample fiddle. Then we can see if the results pass or fail the assertion.

Blank DDL bugs

Users can use a blank schema, but there are some bugs when trying to load a query that is based on a blank schema.

User accounts just like JS Fiddle

It'd be good if we could have user accounts to associate all the SQL Fiddles with a given user name. This is useful so that one can access them anywhere...

Running malformed SELECTs throws bad error message

Writing a SELECT with an error (typo, etc) throws an inappropriate error message, instead of the concrete error it shows the following error:

"DDL and DML statements are not allowed in the query panel for MySQL; only SELECT statements are allowed. Put DDL and DML in the schema panel."

It does the same thing with commented out selects, like /* SELECT * FROM xxx; */

REQ: ability to print

It would be nice if we could print our work directly from sqlfiddle. I'm guessing just adding print formatting CSS would work well enough.

Usage statistics

Build a page that shows site usage (possibly a read-only version of Google Analytics)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.