Welcome To Snipplr


Everyone's Recent Snippets Tagged sql



1 ... 8 9 10 11 12 ... 17
0 364 posted 13 years ago by JohnnyGamba
0 589 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 438 posted 13 years ago by arucordoba
create aspnet db in sql from .net tools
1 760 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 641 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 605 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 615 posted 13 years ago by errkk
1 419 posted 13 years ago by okepaing
To sort varchar fields which contain numeric data & returning XML
0 464 posted 13 years ago by aunlead
3 732 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 1190 posted 13 years ago by Mat_
0 739 posted 13 years ago by tuffo19
1 551 posted 13 years ago by traeregan
1 793 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 4811 posted 13 years ago by niaher
2 624 posted 13 years ago by samwa
2 629 posted 13 years ago by samwa
0 404 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 745 posted 13 years ago by pogosheep
0 503 posted 13 years ago by florin555
1 697 posted 13 years ago by g8rpal
1 586 posted 13 years ago by cjcdeleon
1 ... 8 9 10 11 12 ... 17