Welcome To Snipplr


Everyone's Recent SQL Snippets



1 ... 8 9 10 11 12 ... 18
Only works if you have the mysql-root password
0 1224 posted 15 years ago by isholgueras
Backup a single table from a database
0 1200 posted 15 years ago by tribal
use this SQL query to find out an applications full name (aka long name) and/or application id based on the application short name. This can obviously be re-written to perform the reverse.
0 2114 posted 15 years ago by theonlyalterego
0 831 posted 15 years ago by JohnnyGamba
0 1121 posted 15 years ago by xavsio4
sometimes we botch an import, and end up with return or newline characters in the field. So fields which should be empty have \r in them, or fields with text data have an invisible trailing newline. This makes it impossible to match the text values....
0 1303 posted 15 years ago by powerthru
1 947 posted 15 years ago by okepaing
To sort varchar fields which contain numeric data & returning XML
0 1019 posted 15 years ago by aunlead
3 1624 posted 15 years ago by jamiebrwr
Solucion a error cuando mudamos una bd de una pc a otra y luego no podemos crear un diagrama de la BD
2 1775 posted 15 years ago by derebus
0 833 posted 15 years ago by theasta
2 1516 posted 15 years ago by g8rpal
1 1073 posted 15 years ago by traeregan
2 1256 posted 15 years ago by samwa
2 1125 posted 15 years ago by samwa
1 1319 posted 15 years ago by crs
Verify whether temporary table created is exists or not
1 1394 posted 15 years ago by hairajeshk
Find column name in all tables of a database
2 1930 posted 15 years ago by hairajeshk
Declaramos tantas variables como campos vaya a devolver la select que nos estamos currando para el cursor, en este ejemplo con dos campos vamos contentos: * declare @campo1 int * declare @campo2 int Ahora declaramos el cursor, al cual...
0 1391 posted 15 years ago by derebus
You would use a CURSOR FOR Loop when you want to fetch and process every record in a cursor. The CURSOR FOR Loop will terminate when all of the records in the cursor have been fetched.
1 1187 posted 15 years ago by mprabhuram
1 ... 8 9 10 11 12 ... 18