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
2427
Find & replace
SQL
0
1
2421
POSTGRE Tips
SQL
0
1
1639
search a field in a SQL server database, and display the table that is
SQL
0
4
1596
Save lines of code message
SQL
0
1
1555
PostgreSQL: Getting service uptime
SQL
0
1
1916
Consulta la fecha anterior al día actual
SQL
1
0
1413
Consulta del ultimo dia del mes
SQL
4
3
1510
Oracle: paging results.
SQL
2
3
2115
PostgreSQL: Enlarge varchar field size without changing data.
SQL
0
0
1603
Concatenate String Using Regular SELECT
SQL
0
0
1596
Ciudades y departamentos de Colombia
SQL
0
3
2087
MySQL Store Procedure
SQL
0
3
1554
darle un Id correlativo a una consulta en sql server
SQL
0
1
3723
Recorrer tabla SQL SIN utilizar un CURSOR
SQL
1
6
29874
Get DDL for a table in Oracle
SQL
0
1
1606
Search tables with certain name in Oracle
SQL
0
0
1501
Num to text procedure
SQL
0
0
1619
Insertar un elemento en SQL
SQL
0
0
1492
SELECT SQL
SQL
0
0
1868