<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 15:00:53 +0000</lastBuildDate>
    <item>
      <title>(MySQL) mysql make access global - surentharp</title>
      <link>https://snipplr.com/view/328225/mysql-make-access-global</link>
      <description>&lt;p&gt;This commands are useful in creating a username in mysql and it can be used to access the mysql globally with this username.&lt;/p&gt;</description>
      <pubDate>Thu, 21 Jun 2018 20:02:49 UTC</pubDate>
      <guid>https://snipplr.com/view/328225/mysql-make-access-global</guid>
    </item>
    <item>
      <title>(Python) MySql workbench add created and modified columns for CAKEPHP - acosonic</title>
      <link>https://snipplr.com/view/327055/mysql-workbench-add-created-and-modified-columns-for-cakephp</link>
      <description>&lt;p&gt;Name this script whatever you want, and run it via Workbench Scripting shell&lt;/p&gt;</description>
      <pubDate>Thu, 12 Oct 2017 23:23:19 UTC</pubDate>
      <guid>https://snipplr.com/view/327055/mysql-workbench-add-created-and-modified-columns-for-cakephp</guid>
    </item>
    <item>
      <title>(Java) Connect To A MySQL Database - syedhussim</title>
      <link>https://snipplr.com/view/325374/connect-to-a-mysql-database</link>
      <description>&lt;p&gt;This code snippet shows how to connect to a MySQL database using Connector/J.&lt;/p&gt;</description>
      <pubDate>Tue, 27 Jun 2017 18:42:28 UTC</pubDate>
      <guid>https://snipplr.com/view/325374/connect-to-a-mysql-database</guid>
    </item>
    <item>
      <title>(MySQL) Get Random Record Based on Weight - apphp-snippets</title>
      <link>https://snipplr.com/view/325123/get-random-record-based-on-weight</link>
      <description>&lt;p&gt;This snippet allows you to get random record from given table by weight. To run it, it must have a field named "weight". The more "weight" is assigned, the more often the record is selected. The value of "weight" should be an integer between 1 and 10 (or anything else).&lt;/p&gt;</description>
      <pubDate>Wed, 14 Jun 2017 06:22:21 UTC</pubDate>
      <guid>https://snipplr.com/view/325123/get-random-record-based-on-weight</guid>
    </item>
    <item>
      <title>(SQL) Insert or Update Record if Unique Key Already Exists - apphp-snippets</title>
      <link>https://snipplr.com/view/325122/insert-or-update-record-if-unique-key-already-exists</link>
      <description>&lt;p&gt;This snippet allows you to insert new record into table. In case a unique key already exists - it updates appropriate fields only, leaving other fields untouched.&lt;/p&gt;</description>
      <pubDate>Wed, 14 Jun 2017 06:21:25 UTC</pubDate>
      <guid>https://snipplr.com/view/325122/insert-or-update-record-if-unique-key-already-exists</guid>
    </item>
    <item>
      <title>(MySQL) Configuration Mysql 5.7 - ironcrema</title>
      <link>https://snipplr.com/view/324755/configuration-mysql-57</link>
      <description>&lt;p&gt;Some configurations for mysql 5.7&lt;/p&gt;</description>
      <pubDate>Sat, 27 May 2017 02:31:41 UTC</pubDate>
      <guid>https://snipplr.com/view/324755/configuration-mysql-57</guid>
    </item>
    <item>
      <title>(MySQL) Show the output of a query in a more readable vertical format - rm1984</title>
      <link>https://snipplr.com/view/147232/show-the-output-of-a-query-in-a-more-readable-vertical-format</link>
      <description>&lt;p&gt;Show the output of a query in a more readable vertical format&lt;/p&gt;</description>
      <pubDate>Thu, 30 Jun 2016 18:33:28 UTC</pubDate>
      <guid>https://snipplr.com/view/147232/show-the-output-of-a-query-in-a-more-readable-vertical-format</guid>
    </item>
    <item>
      <title>(SQL) mysql pivot data - ktrout</title>
      <link>https://snipplr.com/view/145691/mysql-pivot-data</link>
      <description>&lt;p&gt;pivot data. input source query in the form :&#13;
&#13;
    +--------+-----------+-------------+-------------+&#13;
    | name   | pivot_fid | pivot_fname | pivot_value |&#13;
    +--------+-----------+-------------+-------------+&#13;
    | apple  |         1 | is red      |           1 |&#13;
    | apple  |         2 | is blue     |           0 |&#13;
    | orange |         1 | is red      |           1 |&#13;
    | orange |         2 | is blue     |           0 |&#13;
    +--------+-----------+-------------+-------------+&#13;
&#13;
and fields to pivot around ( eg. name ), outputs :&#13;
&#13;
    +--------+--------+---------+&#13;
    | name   | is red | is blue |&#13;
    +--------+--------+---------+&#13;
    | apple  |      1 |       0 |&#13;
    | orange |      1 |       0 |&#13;
    +--------+--------+---------+&lt;/p&gt;</description>
      <pubDate>Sun, 10 Jan 2016 16:52:37 UTC</pubDate>
      <guid>https://snipplr.com/view/145691/mysql-pivot-data</guid>
    </item>
    <item>
      <title>(SQL) mysql procedure throw_error - ktrout</title>
      <link>https://snipplr.com/view/145607/mysql-procedure-throwerror</link>
      <description>&lt;p&gt;procedure to throw application defined error&lt;/p&gt;</description>
      <pubDate>Sun, 03 Jan 2016 20:43:30 UTC</pubDate>
      <guid>https://snipplr.com/view/145607/mysql-procedure-throwerror</guid>
    </item>
    <item>
      <title>(SQL) mysql rank with ties - ktrout</title>
      <link>https://snipplr.com/view/145604/mysql-rank-with-ties</link>
      <description>&lt;p&gt;calculate rank ( with ties ) over points table&lt;/p&gt;</description>
      <pubDate>Sun, 03 Jan 2016 14:10:07 UTC</pubDate>
      <guid>https://snipplr.com/view/145604/mysql-rank-with-ties</guid>
    </item>
    <item>
      <title>(SQL) mysql clone table with structure and indexes - ktrout</title>
      <link>https://snipplr.com/view/145603/mysql-clone-table-with-structure-and-indexes</link>
      <description>&lt;p&gt;clone table with structure and indexes&lt;/p&gt;</description>
      <pubDate>Sun, 03 Jan 2016 13:52:46 UTC</pubDate>
      <guid>https://snipplr.com/view/145603/mysql-clone-table-with-structure-and-indexes</guid>
    </item>
    <item>
      <title>(SQL) mysql unroll variable length string list - ktrout</title>
      <link>https://snipplr.com/view/145602/mysql-unroll-variable-length-string-list</link>
      <description>&lt;p&gt;unroll variable length string list to normalised form.&lt;/p&gt;</description>
      <pubDate>Sun, 03 Jan 2016 13:43:52 UTC</pubDate>
      <guid>https://snipplr.com/view/145602/mysql-unroll-variable-length-string-list</guid>
    </item>
    <item>
      <title>(SQL) mysql tablename search information schema - ktrout</title>
      <link>https://snipplr.com/view/145601/mysql-tablename-search-information-schema</link>
      <description>&lt;p&gt;search for tables in mysql catalog ( information_schema )&lt;/p&gt;</description>
      <pubDate>Sun, 03 Jan 2016 13:32:34 UTC</pubDate>
      <guid>https://snipplr.com/view/145601/mysql-tablename-search-information-schema</guid>
    </item>
    <item>
      <title>(SQL) mysql batch sql statements - ktrout</title>
      <link>https://snipplr.com/view/145600/mysql-batch-sql-statements</link>
      <description>&lt;p&gt;stored procedure for executing batch sql statements&lt;/p&gt;</description>
      <pubDate>Sun, 03 Jan 2016 13:26:43 UTC</pubDate>
      <guid>https://snipplr.com/view/145600/mysql-batch-sql-statements</guid>
    </item>
    <item>
      <title>(SQL) mysql calendar table - ktrout</title>
      <link>https://snipplr.com/view/145599/mysql-calendar-table</link>
      <description>&lt;p&gt;creates a minimal calendar table&lt;/p&gt;</description>
      <pubDate>Sun, 03 Jan 2016 13:15:46 UTC</pubDate>
      <guid>https://snipplr.com/view/145599/mysql-calendar-table</guid>
    </item>
    <item>
      <title>(SQL) mysql sequence generator ( decimal definition ) - ktrout</title>
      <link>https://snipplr.com/view/145598/mysql-sequence-generator--decimal-definition-</link>
      <description>&lt;p&gt;one cross join for each ai in definition of decimal number as sum(ai*10^i)&lt;/p&gt;</description>
      <pubDate>Sun, 03 Jan 2016 13:09:01 UTC</pubDate>
      <guid>https://snipplr.com/view/145598/mysql-sequence-generator--decimal-definition-</guid>
    </item>
    <item>
      <title>(PHP) php code example - johnschneider</title>
      <link>https://snipplr.com/view/96472/php-code-example</link>
      <description>&lt;p&gt;example of php code I worked on&lt;/p&gt;</description>
      <pubDate>Sun, 12 Apr 2015 01:40:13 UTC</pubDate>
      <guid>https://snipplr.com/view/96472/php-code-example</guid>
    </item>
    <item>
      <title>(PHP) PHP - Doctrine - Left join ON condition AND other condition syntax in Doctrine - satie83</title>
      <link>https://snipplr.com/view/94098/php--doctrine--left-join-on-condition-and-other-condition-syntax-in-doctrine</link>
      <description>&lt;p&gt;In SQL I can get this by adding AND to the join&#13;
&#13;
LEFT JOIN installations i ON a.id = i.app AND i.page = :page&#13;
This way I get the installation info for an app that has an installation on the page, but I get null values on the columns for app's that have installations on other pages or not at all.&#13;
&#13;
Is there a way to do this in Doctrine or am I better off just getting all the installations for each application and then checking against the found page with php?&#13;
&#13;
##########################################################################&#13;
&#13;
See function leftJoin in doc: http://docs.doctrine-project.org/projects/doctrine-orm/en/latest/reference/query-builder.html#high-level-api-methods&lt;/p&gt;</description>
      <pubDate>Fri, 20 Mar 2015 00:36:12 UTC</pubDate>
      <guid>https://snipplr.com/view/94098/php--doctrine--left-join-on-condition-and-other-condition-syntax-in-doctrine</guid>
    </item>
    <item>
      <title>(VB.NET) VB.NET SQL Example: How to send SMS in VB.NET using SQL database - LoganTurn</title>
      <link>https://snipplr.com/view/93629/vbnet-sql-example-how-to-send-sms-in-vbnet-using-sql-database</link>
      <description>&lt;p&gt;I thought I share this code snippet because I find this way of SMS sending an easy solution. I believe that even beginners can implement this VB.NET SQL SMS application, but I think some extent of perfection in the SMS technology is required for better understanding. Okay, letâ€™s jump right in the middle of the project that allows you to send and receive SMS through database tables by using your own VB.NET application.&#13;
 &#13;
Project information:&#13;
&#13;
â€¢	Language: VB.NET&#13;
â€¢	Level: Intermediate &#13;
â€¢	IDE: Microsoft Visual Studio &#13;
â€¢	Database server: MS SQL, MS SQL Express, MySQL, Access, Oracle, etc. I used MySQL (http://www.mysql.com/).&#13;
â€¢	Special prerequisites: .NET Framework (http://www.microsoft.com/hu-hu/download/details.aspx?id=17851), SMS Gateway (in order to let your PC to send/receive SMS transmissions to/from a telecommunications network). I used Ozeki NG (www.ozekisms.com).&#13;
&#13;
Project description:&#13;
&#13;
First of all, you need to create the necessary database tables: one for the outgoing messages, and another one for the incoming messages. The snippet shows my MySQL commands, but it can be changed of course depending on the database server you use. In order to be able to use your database you need to connect it to your SMS gateway, then you can insert an SMS into the table of the outgoing messages by using an SQL INSERT command. To execute this command, you need to connect to the database by using the myConnection.Open() method. Thereafter insert the message into the database ( mySqlCommand.ExecuteNonQuery() ), then close the database connection ( myConnection.Close() ). That's all there is to it! It wasn't that black magic, was it?&lt;/p&gt;</description>
      <pubDate>Mon, 16 Mar 2015 17:18:43 UTC</pubDate>
      <guid>https://snipplr.com/view/93629/vbnet-sql-example-how-to-send-sms-in-vbnet-using-sql-database</guid>
    </item>
    <item>
      <title>(PHP) Simple PDO Connection and select - snstro</title>
      <link>https://snipplr.com/view/92256/simple-pdo-connection-and-select</link>
      <description>&lt;p&gt;This is the basic code that you need to know to connect and list data with PDO.&#13;
Don't use de old method (mysql_connect and mysqli_connect) to connect and interact with databases.&lt;/p&gt;</description>
      <pubDate>Fri, 06 Mar 2015 02:32:03 UTC</pubDate>
      <guid>https://snipplr.com/view/92256/simple-pdo-connection-and-select</guid>
    </item>
    <item>
      <title>(PHP) IP Address (IPv6) Lookup in Bulk Using PHP and MySQL Database - Hexahow</title>
      <link>https://snipplr.com/view/87308/ip-address-ipv6-lookup-in-bulk-using-php-and-mysql-database</link>
      <description>&lt;p&gt;The code below can be used to lookup IP address in bulk in return of geolocation information using PHP programming languages and MySQL database. In this tutorial, we use the IP2Location LITE database to lookup country of origin from the visitor's IP address. Free databases are available for download at IP2Location LITE database.&lt;/p&gt;</description>
      <pubDate>Fri, 16 Jan 2015 13:45:15 UTC</pubDate>
      <guid>https://snipplr.com/view/87308/ip-address-ipv6-lookup-in-bulk-using-php-and-mysql-database</guid>
    </item>
    <item>
      <title>(Python) Scraped item to mysql in scrapy - zwidnypublic</title>
      <link>https://snipplr.com/view/82246/scraped-item-to-mysql-in-scrapy</link>
      <description>&lt;p&gt;To store you item into mysql database.&#13;
&#13;
1. I say you have been have mysql database and the table what field is the same in item class that you wang to be stored&#13;
 &#13;
2. I just ensure you item insert into mysql, do not ensure the performance&#13;
&#13;
3. Todo&#13;
&#13;
    Abstract pipeline class&lt;/p&gt;</description>
      <pubDate>Tue, 25 Nov 2014 13:30:21 UTC</pubDate>
      <guid>https://snipplr.com/view/82246/scraped-item-to-mysql-in-scrapy</guid>
    </item>
    <item>
      <title>(MySQL) A example option file for mysql in windows - jacktan</title>
      <link>https://snipplr.com/view/80412/a-example-option-file-for-mysql-in-windows</link>
      <description>&lt;p&gt;`mysql-dev.ini` can be used in a developing environment and put it in the Mysql Home dir&lt;/p&gt;</description>
      <pubDate>Thu, 30 Oct 2014 01:52:11 UTC</pubDate>
      <guid>https://snipplr.com/view/80412/a-example-option-file-for-mysql-in-windows</guid>
    </item>
    <item>
      <title>(DOS Batch) A windows batch to run Mysql client - jacktan</title>
      <link>https://snipplr.com/view/80411/a-windows-batch-to-run-mysql-client</link>
      <description>&lt;p&gt;**Vars** to to specify&#13;
&#13;
+ ${EnvSet_Bash}&#13;
&#13;
**Demo**&#13;
&#13;
vars specified like&#13;
&#13;
+ ${EnvSet_Bash}=[set-mysqlRT-Env](http://www.snipplr.com/view/80407/an-example-bash-file-for-set-temporary-path/ "set-mysqlRT-Env.bat")&#13;
&#13;
pluss other bash commond&#13;
&#13;
**Demo**&#13;
&#13;
    @echo off&#13;
    call set-mysqlRT-Env&#13;
    mysql --defaults-file=%mysqlConf% --print-defaults&#13;
    pause&#13;
    mysql --defaults-file=%mysqlConf%&#13;
    pause&lt;/p&gt;</description>
      <pubDate>Thu, 30 Oct 2014 01:43:22 UTC</pubDate>
      <guid>https://snipplr.com/view/80411/a-windows-batch-to-run-mysql-client</guid>
    </item>
    <item>
      <title>(DOS Batch) A windows batch to shutdown Mysql server - jacktan</title>
      <link>https://snipplr.com/view/80409/a-windows-batch-to-shutdown-mysql-server</link>
      <description>&lt;p&gt;Run `mysqladmin` to shutdown msyql server with a specified option file.&#13;
&#13;
**Vars** to to specify&#13;
&#13;
+ ${EnvSet_Bash}&#13;
&#13;
**Demo**&#13;
&#13;
vars specified like&#13;
&#13;
+ ${EnvSet_Bash}=[set-mysqlRT-Env](http://www.snipplr.com/view/80407/an-example-bash-file-for-set-temporary-path/ "set-mysqlRT-Env.bat")&#13;
&#13;
pluss other bash commond&#13;
&#13;
    @echo off&#13;
    call set-mysqlRT-Env&#13;
    mysqladmin --defaults-file=%mysqlConf% --print-defaults&#13;
    pause&#13;
    mysqladmin --defaults-file=%mysqlConf% shutdown&#13;
    pause&#13;
&#13;
Click the bat file to run it .&lt;/p&gt;</description>
      <pubDate>Thu, 30 Oct 2014 01:21:38 UTC</pubDate>
      <guid>https://snipplr.com/view/80409/a-windows-batch-to-shutdown-mysql-server</guid>
    </item>
    <item>
      <title>(DOS Batch) A windows batch to run Mysql server - jacktan</title>
      <link>https://snipplr.com/view/80408/a-windows-batch-to-run-mysql-server</link>
      <description>&lt;p&gt;Run a Mysql server using command line with a specified option file.&#13;
&#13;
**Vars** to to specify&#13;
&#13;
+ ${EnvSet_Bash}&#13;
&#13;
**Demo**&#13;
&#13;
vars specified like&#13;
&#13;
+ ${EnvSet_Bash}=[set-mysqlRT-Env](http://www.snipplr.com/view/80407/an-example-bash-file-for-set-temporary-path/ "set-mysqlRT-Env.bat")&#13;
&#13;
pluss other bash commond&#13;
&#13;
    @echo off&#13;
    call set-mysqlRT-Env&#13;
    mysqld --defaults-file=%mysqlConf% --print-defaults&#13;
    pause&#13;
    mysqld --defaults-file=%mysqlConf% --console&#13;
    pause&#13;
&#13;
Click the bat file to run it .&lt;/p&gt;</description>
      <pubDate>Thu, 30 Oct 2014 01:10:54 UTC</pubDate>
      <guid>https://snipplr.com/view/80408/a-windows-batch-to-run-mysql-server</guid>
    </item>
    <item>
      <title>(PHP) webEdition-Objekt mit php erstellen - ulfinger</title>
      <link>https://snipplr.com/view/78661/webeditionobjekt-mit-php-erstellen</link>
      <description>&lt;p&gt;WE-Objekte ohne Umwege direkt aus php erstellen. Das ist vor allem dann sinnvoll, denn die Eingaben vorher geprÃ¼ft und verarbeitet werden sollen oder wenn ein Eingabeformular Ã¼ber mehrere Seiten geht.&lt;/p&gt;</description>
      <pubDate>Wed, 01 Oct 2014 01:02:31 UTC</pubDate>
      <guid>https://snipplr.com/view/78661/webeditionobjekt-mit-php-erstellen</guid>
    </item>
    <item>
      <title>(Java) Map Mysql tables to java beans, by a one class - prgrmmraben</title>
      <link>https://snipplr.com/view/77498/map-mysql-tables-to-java-beans-by-a-one-class</link>
      <description>&lt;p&gt;DBHelper can retrieve Mysql tables into java objects, without any external libraries or a mapping configuration file.&#13;
note: please test before use, then use at your own risk.&lt;/p&gt;</description>
      <pubDate>Tue, 16 Sep 2014 01:08:11 UTC</pubDate>
      <guid>https://snipplr.com/view/77498/map-mysql-tables-to-java-beans-by-a-one-class</guid>
    </item>
    <item>
      <title>(MySQL) Mysql find duplicate values in field - flatearthcomms</title>
      <link>https://snipplr.com/view/77203/mysql-find-duplicate-values-in-field</link>
      <description>&lt;p&gt;Mysql find duplicate values in field&lt;/p&gt;</description>
      <pubDate>Tue, 09 Sep 2014 05:57:04 UTC</pubDate>
      <guid>https://snipplr.com/view/77203/mysql-find-duplicate-values-in-field</guid>
    </item>
    <item>
      <title>(SQL) A  light implementation of Session table in Mysql 5.6 using memory engine - prgrmmraben</title>
      <link>https://snipplr.com/view/77008/a--light-implementation-of-session-table-in-mysql-56-using-memory-engine</link>
      <description>&lt;p&gt;caching session variables in Mysql using memory engine for fast client response.&#13;
note: please test before use, then use at your own risk.&lt;/p&gt;</description>
      <pubDate>Sat, 06 Sep 2014 07:35:01 UTC</pubDate>
      <guid>https://snipplr.com/view/77008/a--light-implementation-of-session-table-in-mysql-56-using-memory-engine</guid>
    </item>
    <item>
      <title>(MySQL) Delete from table with limit (mySQL) - Kcko</title>
      <link>https://snipplr.com/view/75510/delete-from-table-with-limit-mysql</link>
      <description>&lt;p&gt;Delete from table with limit (mySQL)&lt;/p&gt;</description>
      <pubDate>Wed, 23 Jul 2014 23:04:12 UTC</pubDate>
      <guid>https://snipplr.com/view/75510/delete-from-table-with-limit-mysql</guid>
    </item>
    <item>
      <title>(MySQL) consulta mysql count having - ironcrema</title>
      <link>https://snipplr.com/view/75041/consulta-mysql-count-having</link>
      <description>&lt;p&gt;query with count having&lt;/p&gt;</description>
      <pubDate>Fri, 04 Jul 2014 10:23:40 UTC</pubDate>
      <guid>https://snipplr.com/view/75041/consulta-mysql-count-having</guid>
    </item>
    <item>
      <title>(MySQL) Extract the column names of a table (so you can select many columns but exclude some) - imbraz</title>
      <link>https://snipplr.com/view/74945/extract-the-column-names-of-a-table-so-you-can-select-many-columns-but-exclude-some</link>
      <description>&lt;p&gt;This will get the names of all the columns as one long string ready to use in a select statement. N.B. There is a list of column names to exclude (In this case '???COLUMNS_TO_EXCLUDE???')&lt;/p&gt;</description>
      <pubDate>Tue, 24 Jun 2014 18:28:33 UTC</pubDate>
      <guid>https://snipplr.com/view/74945/extract-the-column-names-of-a-table-so-you-can-select-many-columns-but-exclude-some</guid>
    </item>
    <item>
      <title>(Java) Advanced Java mysql,oracle,...  connect, full functions - supupoff</title>
      <link>https://snipplr.com/view/74674/advanced-java-mysqloracle--connect-full-functions</link>
      <description>&lt;p&gt;use This Class to conenct to any database mysql oracle  access  and postgresql  and use functions to select update insert or update data from database &#13;
--&lt;/p&gt;</description>
      <pubDate>Sun, 25 May 2014 06:11:29 UTC</pubDate>
      <guid>https://snipplr.com/view/74674/advanced-java-mysqloracle--connect-full-functions</guid>
    </item>
    <item>
      <title>(MySQL) Project Management Database Setup Script - JordanRowles</title>
      <link>https://snipplr.com/view/74195/project-management-database-setup-script</link>
      <description>&lt;p&gt;Sets up the database for my project management software (in development - C#)&lt;/p&gt;</description>
      <pubDate>Sat, 12 Apr 2014 01:57:30 UTC</pubDate>
      <guid>https://snipplr.com/view/74195/project-management-database-setup-script</guid>
    </item>
    <item>
      <title>(PHP) mySQL datetime to formatted PHP date - flatearthcomms</title>
      <link>https://snipplr.com/view/74099/mysql-datetime-to-formatted-php-date</link>
      <description>&lt;p&gt;Format a mysql datetime into a PHP date&lt;/p&gt;</description>
      <pubDate>Wed, 02 Apr 2014 11:47:45 UTC</pubDate>
      <guid>https://snipplr.com/view/74099/mysql-datetime-to-formatted-php-date</guid>
    </item>
    <item>
      <title>(MySQL) Add current date to date field that is null - jlmarks</title>
      <link>https://snipplr.com/view/74051/add-current-date-to-date-field-that-is-null</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 30 Mar 2014 17:41:12 UTC</pubDate>
      <guid>https://snipplr.com/view/74051/add-current-date-to-date-field-that-is-null</guid>
    </item>
    <item>
      <title>(MySQL) get list of all values in a field MySQL - jlmarks</title>
      <link>https://snipplr.com/view/74049/get-list-of-all-values-in-a-field-mysql</link>
      <description>&lt;p&gt;&lt;/p&gt;</description>
      <pubDate>Sun, 30 Mar 2014 08:41:04 UTC</pubDate>
      <guid>https://snipplr.com/view/74049/get-list-of-all-values-in-a-field-mysql</guid>
    </item>
    <item>
      <title>(SQL) Adding Linked Server to MSSQL - kidmizere</title>
      <link>https://snipplr.com/view/73761/adding-linked-server-to-mssql</link>
      <description>&lt;p&gt;Adding a linked server to MSSQL account - particularly a MYSQL server&lt;/p&gt;</description>
      <pubDate>Fri, 28 Feb 2014 06:52:55 UTC</pubDate>
      <guid>https://snipplr.com/view/73761/adding-linked-server-to-mssql</guid>
    </item>
    <item>
      <title>(MySQL) Find and Replace with MySQL - apphp-snippets</title>
      <link>https://snipplr.com/view/73561/find-and-replace-with-mysql</link>
      <description>&lt;p&gt;MySQL has a handy and simple string function REPLACE() that allows table data with the matching string to be replaced by new string. This is useful if there is need to search and replace a text string which affects many records or rows, such as change of address, company name, URL or spelling mistake.&lt;/p&gt;</description>
      <pubDate>Tue, 04 Feb 2014 21:22:39 UTC</pubDate>
      <guid>https://snipplr.com/view/73561/find-and-replace-with-mysql</guid>
    </item>
    <item>
      <title>(MySQL) Create a Database and Assign a User - apphp-snippets</title>
      <link>https://snipplr.com/view/73560/create-a-database-and-assign-a-user</link>
      <description>&lt;p&gt;This is a very simple snippet about how to create a database 1st, a user and then assign some privileges to the user to allow him/her to perform some specific actions like insert, create, update, select etc.&lt;/p&gt;</description>
      <pubDate>Tue, 04 Feb 2014 21:21:36 UTC</pubDate>
      <guid>https://snipplr.com/view/73560/create-a-database-and-assign-a-user</guid>
    </item>
    <item>
      <title>(MySQL) MySQL Event scheduler - kp32</title>
      <link>https://snipplr.com/view/73520/mysql-event-scheduler</link>
      <description>&lt;p&gt;This post will explain you the use of Event scheduler in MySQL.&lt;/p&gt;</description>
      <pubDate>Wed, 29 Jan 2014 02:11:57 UTC</pubDate>
      <guid>https://snipplr.com/view/73520/mysql-event-scheduler</guid>
    </item>
    <item>
      <title>(MySQL) MySQL Duplicate Rows With Updates - donkeykong</title>
      <link>https://snipplr.com/view/73468/mysql-duplicate-rows-with-updates</link>
      <description>&lt;p&gt;I found this script and tried it. It worked. I thought it was useful for a variety of situations and is easy to follow.&#13;
&#13;
Often times I need nearly duplicated data and don't want to manually cut and paste.&lt;/p&gt;</description>
      <pubDate>Tue, 21 Jan 2014 04:23:59 UTC</pubDate>
      <guid>https://snipplr.com/view/73468/mysql-duplicate-rows-with-updates</guid>
    </item>
    <item>
      <title>(PHP) Implementing Full-Text search in Laravel 4 - CreativePunch</title>
      <link>https://snipplr.com/view/73268/implementing-fulltext-search-in-laravel-4</link>
      <description>&lt;p&gt;In this tutorial I will go over implementing Full-Text search in Laravel 4 .&#13;
Those who have used Laravel 3 in the past may remember that there used to be support for FULLTEXT indexes. This functionality has been removed in Laravel 4 but can still easily be implemented.&lt;/p&gt;</description>
      <pubDate>Tue, 31 Dec 2013 05:42:37 UTC</pubDate>
      <guid>https://snipplr.com/view/73268/implementing-fulltext-search-in-laravel-4</guid>
    </item>
    <item>
      <title>(PHP) How to reorder rows changinga position field - ginoplusio</title>
      <link>https://snipplr.com/view/73192/how-to-reorder-rows-changinga-position-field</link>
      <description>&lt;p&gt;This PHP function lets you reorder records on a table when you have a field used for save the position. If you have a field with position when you are editing records you probably want, for example, to move a record from position 5 to position 2, but if you already have a record in position 2 problems could raise, so how can you reorder all the records without losing informations and preserving the right order of the other elements? See how to use in the above link.&lt;/p&gt;</description>
      <pubDate>Fri, 20 Dec 2013 09:57:23 UTC</pubDate>
      <guid>https://snipplr.com/view/73192/how-to-reorder-rows-changinga-position-field</guid>
    </item>
    <item>
      <title>(PHP) Pinnacle Cart PDO MySQL : Product Class - crypticsoft</title>
      <link>https://snipplr.com/view/73086/pinnacle-cart-pdo-mysql--product-class</link>
      <description>&lt;p&gt;While the Pinnacle Cart API can handle some of this, I found it easier to query the database directly.&#13;
This PCProduct class was developed for integrating Pinnacle Cart with WordPress with the following methods: &#13;
- get_product($id)&#13;
- get_product_by_product_id($id)&#13;
- get_product_box($row)&#13;
- get_top($cid,$cnt,$side)&#13;
- get_products_by_category($cid)&#13;
- get_categories($parent,$order,$level)&#13;
- get_recent($limit)&#13;
&#13;
You will need to edit the following methods to match your cart paths / database settings:&#13;
- cart_path()&#13;
- cart_uri()&#13;
- get_connection() -- This is the PDO connection, fill in the host, dbname, user, password&#13;
- getProductUrl() -- Check the SEO settings, I'm using the 3.7 custom URL: %CategoryName%/%ProductTitle%/&lt;/p&gt;</description>
      <pubDate>Wed, 04 Dec 2013 22:51:18 UTC</pubDate>
      <guid>https://snipplr.com/view/73086/pinnacle-cart-pdo-mysql--product-class</guid>
    </item>
    <item>
      <title>(MySQL) Agregar LLave ForÃ¡nea MySql - ironcrema</title>
      <link>https://snipplr.com/view/72894/agregar-llave-fornea-mysql</link>
      <description>&lt;p&gt;Convierte un campo de una tabla a llave forÃ¡nea&lt;/p&gt;</description>
      <pubDate>Thu, 14 Nov 2013 07:50:32 UTC</pubDate>
      <guid>https://snipplr.com/view/72894/agregar-llave-fornea-mysql</guid>
    </item>
    <item>
      <title>(MySQL) Modify Column for Table Of Mysql - lyroge</title>
      <link>https://snipplr.com/view/72730/modify-column-for-table-of-mysql</link>
      <description>&lt;p&gt;Modify Column for Table Of Mysql&lt;/p&gt;</description>
      <pubDate>Thu, 24 Oct 2013 19:38:58 UTC</pubDate>
      <guid>https://snipplr.com/view/72730/modify-column-for-table-of-mysql</guid>
    </item>
    <item>
      <title>(MySQL) Drop and Add Column for Table of Mysql - lyroge</title>
      <link>https://snipplr.com/view/72729/drop-and-add-column-for-table-of-mysql</link>
      <description>&lt;p&gt;Drop and Add Column for Table of Mysql&lt;/p&gt;</description>
      <pubDate>Thu, 24 Oct 2013 19:24:41 UTC</pubDate>
      <guid>https://snipplr.com/view/72729/drop-and-add-column-for-table-of-mysql</guid>
    </item>
    <item>
      <title>(MySQL) Drop and Add Index for Table of Mysql - lyroge</title>
      <link>https://snipplr.com/view/72727/drop-and-add-index-for-table-of-mysql</link>
      <description>&lt;p&gt;Drop and Add Index for Table of Mysql&lt;/p&gt;</description>
      <pubDate>Thu, 24 Oct 2013 19:14:36 UTC</pubDate>
      <guid>https://snipplr.com/view/72727/drop-and-add-index-for-table-of-mysql</guid>
    </item>
  </channel>
</rss>
