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
2809
Find & replace
SQL
0
1
2762
POSTGRE Tips
SQL
0
1
1978
search a field in a SQL server database, and display the table that is
SQL
0
4
1934
Save lines of code message
SQL
0
1
1875
PostgreSQL: Getting service uptime
SQL
0
1
2332
Consulta la fecha anterior al día actual
SQL
1
0
1714
Consulta del ultimo dia del mes
SQL
4
3
1878
Oracle: paging results.
SQL
2
3
2690
PostgreSQL: Enlarge varchar field size without changing data.
SQL
0
0
1979
Concatenate String Using Regular SELECT
SQL
0
0
1932
Ciudades y departamentos de Colombia
SQL
0
3
3037
MySQL Store Procedure
SQL
0
3
1899
darle un Id correlativo a una consulta en sql server
SQL
0
1
4427
Recorrer tabla SQL SIN utilizar un CURSOR
SQL
1
6
32213
Get DDL for a table in Oracle
SQL
0
1
1941
Search tables with certain name in Oracle
SQL
0
0
1822
Num to text procedure
SQL
0
0
1994
Insertar un elemento en SQL
SQL
0
0
1830
SELECT SQL
SQL
0
0
2268