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
Creating a table using another two unrelated tables (postgres)
SQL
0
0
1277
SQL: Find string in all varchar columns
SQL
0
0
1227
How to Disable or Enable All WordPress Plugins via the Database
SQL
0
0
1089
Convert MySQL Tables & Columns charset
SQL
0
4
1526
BUSCAR TEXTO EN MINÚSCULAS SQL SERVER
SQL
0
0
3666
Distinct Count
SQL
0
0
1075
(Postgres) Disconnect all users except yours
SQL
2
0
1326
(Postgres) Alter database name
SQL
0
2
1270
SubQuery
SQL
0
0
972
To produce the set of records only in Table A, but not in Table B
SQL
0
0
955
To produce the set of records unique to Table A and Table B
SQL
0
1
901
SQL: Find a table name across all databases
SQL
0
2
936
Error Converting Varchar to Bigint Finder
SQL
0
2
1320
Convert Blank to Null - SSIS
SQL
0
1
1495
Search all tables stored procedure
SQL
0
2
1658
list all schemas (postgres)
SQL
0
5
1646
Multi-Layer SQL Example
SQL
0
14
1190
[Oracle] Script auto create Table from DBLink
SQL
0
1
1116
Find which tables 2 schemas differ (postgres)
SQL
0
12
1345
Table Diff Between two Schemas
SQL
0
8
1100