Welcome To Snipplr


Everyone's Recent Snippets Tagged sql



1 ... 8 9 10 11 12 ... 17
0 355 posted 13 years ago by JohnnyGamba
0 580 posted 13 years ago by hamsterbacke82
Existen varias formas para hacerlo, pero lo que dejo aquí es a lo que tenemos que acostumbrarnos a hacer cada vez que programemos para prevenir que se pueda inyectar HTML o modificar las consultas SQL.\r\n\r\nThere are several ways to do it, but wha...
0 422 posted 13 years ago by arucordoba
create aspnet db in sql from .net tools
1 745 posted 13 years ago by hairajeshk
By using this php snippnet we can store different fields (got by array post) into a sql database
1 625 posted 13 years ago by juanchifc
By using this snippnet we can recover and show on a table the items stored into a sql database managed with mysql.
1 591 posted 13 years ago by juanchifc
SQL query to update *wp_options* records that are specific to the host of a WordPress site. Run this query after copying the DB to another server (if this URL is different). Useful for deploying WordPress from a dev server to a live environment.
1 603 posted 13 years ago by errkk
1 403 posted 13 years ago by okepaing
To sort varchar fields which contain numeric data & returning XML
0 450 posted 13 years ago by aunlead
3 714 posted 13 years ago by jamiebrwr
First you have to add a custom value with a correct date format. The lines: `AND CAST(wpostmeta.meta_value AS DATE) > '".date("Y-m-d H:i:s")."' AND CAST(wpostmeta.meta_value AS DATE) < '".date("Y-m-d H:i:s", $date2)."' ` are only used to select d...
0 1178 posted 13 years ago by Mat_
0 721 posted 13 years ago by tuffo19
1 537 posted 13 years ago by traeregan
1 779 posted 13 years ago by traeregan
Here is the SQL code to print a row of from any table. All you have to do is modify the @tableName and @whereClause variables. Works only in MS SQL 2005+
1 4786 posted 13 years ago by niaher
2 615 posted 13 years ago by samwa
2 614 posted 13 years ago by samwa
0 391 posted 13 years ago by foertel
You can get the last query by using the following code. Insert the first line before the query and TYPO3 will store each query. You can get the last query with the second line.
3 724 posted 13 years ago by pogosheep
0 490 posted 13 years ago by florin555
1 680 posted 13 years ago by g8rpal
1 567 posted 13 years ago by cjcdeleon
1 ... 8 9 10 11 12 ... 17