Playgrounds
Snippets
Developers
Compiler
All
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
Coffee
CoffeeScript
ColdFusion
Command
CSS
Delphi
Django
ES6
GLSL
Grunt
Gulp
HAML
Haskell
HTML
iOS
Jade
Java
JavaScript
jQuery
JSX
Less
LUA
MDX
MySQL
Objective
Other
Pascal
Perl
PHP
Plain text
PowerShell
Processing
Progress
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
SCSS
SmallBASIC
Smarty
SQL
Stylus
SVG
Swift
TypeScript
VHDL
X++
XHTML
XML
Xojo
XSLT
New snippet
New playground
Sign up
Login
Upload
Playgrounds
Snippets
Developers
Sign up
Login
Codepad is a place for developers to share code snippets (PHP, Java, Bash, C, C++, Python and more). Create your HTML, CSS and JS Demos.
Sign up
Learn more
Sort
Popular
Most liked
Most recent
Time
Today
Last week
Last month
Last year
All time
Select Languages
ActionScript
Ajax
AngularJS
Apache
AppleScript
ASP.NET
Bash
C
C#
C++
ColdFusion
Command
CSS
Delphi
Django
Grunt
Gulp
HAML
HTML
iOS
Jade
Java
JavaScript
jQuery
Less
MySQL
Objective
Other
Pascal
Perl
PHP
PowerShell
Processing
Prolog
Pseudocode
Python
Rails
RegExr
Ruby
SASS
Scala
Scheme
Smarty
SQL
Swift
VHDL
XHTML
XML
Xojo
XSLT
SCSS
CoffeeScript
GLSL
Progress
Stylus
ES6
Coffee
TypeScript
X++
Haskell
SmallBASIC
JSX
SVG
Plain text
LUA
MDX
Apply
Reset
popular • SQL
Clean encoding problems
SQL
0
1
2669
Find & replace
SQL
0
1
2637
POSTGRE Tips
SQL
0
1
1858
search a field in a SQL server database, and display the table that is
SQL
0
4
1807
Save lines of code message
SQL
0
1
1744
PostgreSQL: Getting service uptime
SQL
0
1
2174
Consulta la fecha anterior al día actual
SQL
1
0
1599
Consulta del ultimo dia del mes
SQL
4
3
1721
Oracle: paging results.
SQL
2
3
2453
PostgreSQL: Enlarge varchar field size without changing data.
SQL
0
0
1828
Concatenate String Using Regular SELECT
SQL
0
0
1796
Ciudades y departamentos de Colombia
SQL
0
3
2665
MySQL Store Procedure
SQL
0
3
1768
darle un Id correlativo a una consulta en sql server
SQL
0
1
4200
Recorrer tabla SQL SIN utilizar un CURSOR
SQL
1
6
31459
Get DDL for a table in Oracle
SQL
0
1
1799
Search tables with certain name in Oracle
SQL
0
0
1689
Num to text procedure
SQL
0
0
1851
Insertar un elemento en SQL
SQL
0
0
1690
SELECT SQL
SQL
0
0
2135