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
SQL Server index of each line
SQL
0
0
578
Execution Time SQL
SQL
0
0
517
SSRS - List of subscriptions and status
SQL
0
0
550
Cuenta palabras
SQL
0
0
582
SQL % fragmentation index
SQL
0
0
525
PostgreSQL: Set search path (schemas) for user
SQL
0
0
771
Firebird/SQL: Find holes in a sequence
SQL
0
0
906
Firebird: Create an Array of integers from String
SQL
3
0
1582
Firebird: Create Array from CSV String
SQL
0
0
812
Oracle: Create/drop tablespace
SQL
0
0
793
db.sql
SQL
0
0
315
Oracle: Get slow queries
SQL
0
0
594
SQL Servers jobs execution log
SQL
0
0
388
Firebird: Age Calculation to Ymd
SQL
0
0
941
FirebirdSQL: Create Range of dates, fraction in days, hours, minutes, months or years
SQL
0
0
523
FirebirdSQL: DATE_TO_CHAR Function (like Oracle's TO_CHAR)
SQL
0
0
514
Oracle: Create WM_CONCAT function for version 12c +
SQL
0
0
814