<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet title="XSL formatting" type="text/xsl" href="http://dotclear.placeoweb.com/feed/rss2/xslt" ?><rss version="2.0"
  xmlns:dc="http://purl.org/dc/elements/1.1/"
  xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  xmlns:content="http://purl.org/rss/1.0/modules/content/"
  xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
  <title>PlaceOweb Dotclear - SQL</title>
  <link>http://dotclear.placeoweb.com/</link>
  <atom:link href="http://dotclear.placeoweb.com/feed/category/Sql/rss2" rel="self" type="application/rss+xml"/>
  <description></description>
  <language>fr</language>
  <pubDate>Wed, 08 Feb 2012 10:40:05 +0100</pubDate>
  <copyright></copyright>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Dotclear</generator>
  
    
  <item>
    <title>MySQL fonctions de date et de temps</title>
    <link>http://dotclear.placeoweb.com/post/MySQL-fonctions-date-temps</link>
    <guid isPermaLink="false">urn:md5:37a4ad99ffe216451d88df2d6e281ee2</guid>
    <pubDate>Wed, 26 Oct 2011 20:31:00 +0200</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>sql</category>    
    <description>&lt;p&gt;Comment gérer ses dates avec MySQL, soustraire des dates, ajouter des intervalles de temps, ...&lt;/p&gt;


&lt;p&gt;... extraire les secondes, minutes, jours, semaines, mois, ans...&lt;/p&gt;    &lt;p&gt;Les entrées récentes selon un intervalle d'un mois

/**
 * Sélection des entrée de ma table qui ont une date récente (moins d'un mois en rapport à la date heure courante)
 */
SELECT * FROM maTable WHERE CURRENT_TIMESTAMP - INTERVAL 1 MONTH &gt; maColonneDateTimeOuTimeStamp



Soustraire 2 dates times en secondes

/**
 * La date heure en cours
 */... &lt;a href=&quot;http://dotclear.placeoweb.com/post/MySQL-fonctions-date-temps&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; MySQL fonctions de date et de temps&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/MySQL-fonctions-date-temps#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/MySQL-fonctions-date-temps#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/476</wfw:commentRss>
      </item>
    
  <item>
    <title>Mysql 4, 5 et 6</title>
    <link>http://dotclear.placeoweb.com/post/MySQL</link>
    <guid isPermaLink="false">urn:md5:5f8e4c1046ca17c8137c8dc64a275c02</guid>
    <pubDate>Sun, 18 Sep 2011 00:38:00 +0200</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>sql</category>    
    <description>&lt;p&gt;De nombreux changement sont intervenus depuis la version 3.23, 4.0, 4.1, 5.0, 5.1, 5.6 et 6 de MySQL&lt;/p&gt;    &lt;p&gt;Les nouveautés de MySQL



La version de MySQL 5.6 ajoute de nouvelles fonctionnalités : What's New in MySQL 5.6 :

De nombreuses modifications, et suppressions d'arguments obsolètes, que je vous à lire, entre autre :
Logs binaires écrites et lues par le serveur MySQL sont maintenant sûr anti crash, parce que seuls les événements (ou opérations)... &lt;a href=&quot;http://dotclear.placeoweb.com/post/MySQL&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Mysql 4, 5 et 6&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/MySQL#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/MySQL#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/31</wfw:commentRss>
      </item>
    
  <item>
    <title>Editeurs SQL</title>
    <link>http://dotclear.placeoweb.com/post/Editeurs-SQL</link>
    <guid isPermaLink="false">urn:md5:1076ab8bf9ac5ee099832b5b667d977c</guid>
    <pubDate>Fri, 16 Sep 2011 20:05:00 +0200</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>oracle</category><category>sql</category>    
    <description>&lt;p&gt;Quels sont les meilleurs éditeurs de code SQL&amp;nbsp;? connectés à vos serveurs SQL&amp;nbsp;: MySQL, Oracle, PostgreSQL, Microsoft SQL, SQLite, ...&lt;/p&gt;    &lt;p&gt;Editeurs MySQL


MySQL Workbench, développés par MySQL, est un outil multi-plateforme visuel de conception de bases de données
HeidiSQL, un libre et léger MySQL front-end, basé sur un interface Windows pour les bases de données MySQL
phpMyAdmin est un outil logiciel libre écrit en PHP destiné à gérer l'administration de MySQL sur le Web ou dans... &lt;a href=&quot;http://dotclear.placeoweb.com/post/Editeurs-SQL&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Editeurs SQL&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/Editeurs-SQL#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/Editeurs-SQL#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/464</wfw:commentRss>
      </item>
    
  <item>
    <title>.TMM and .TMD files MySQL</title>
    <link>http://dotclear.placeoweb.com/post/.TMM-.TMD-MySQL</link>
    <guid isPermaLink="false">urn:md5:4d7ed3ee675d4eb1638a67efbd5b2fab</guid>
    <pubDate>Sun, 01 May 2011 10:29:00 +0100</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>sql</category>    
    <description>&lt;p&gt;What are .TMM and .TMD files under MySQL ?&lt;/p&gt;    &lt;p&gt;With a full disk, and &quot;OPTIMIZE TABLE `log-slow`&quot; not finished, i obtain file .TMM under my database for my &quot;log-slow&quot; MyISAM table ....

-rw-rw---- 1 mysql mysql          65 sep 10  2010 db.opt
-rw-rw---- 1 mysql mysql        8848 avr  1 10:36 log@002dslow.frm
-rw-rw---- 1 mysql mysql 25425965468 mai  2 05:05 log@002dslow.MYD
-rw-rw---- 1 mysql... &lt;a href=&quot;http://dotclear.placeoweb.com/post/.TMM-.TMD-MySQL&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; .TMM and .TMD files MySQL&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/.TMM-.TMD-MySQL#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/.TMM-.TMD-MySQL#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/447</wfw:commentRss>
      </item>
    
  <item>
    <title>search.mysql.com is not working</title>
    <link>http://dotclear.placeoweb.com/post/search.mysql.com-is-not-working</link>
    <guid isPermaLink="false">urn:md5:a40baa46d3feb730a289f2081b799a87</guid>
    <pubDate>Wed, 16 Mar 2011 17:44:00 +0000</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>oracle</category>    
    <description>&lt;p&gt;Stable &lt;a href=&quot;http://search.mysql.com/search/query/search?q=introduction.html&quot;&gt;MySQL search web site&lt;/a&gt; ?&lt;/p&gt;    &lt;p&gt;Not really : connection failure :


Internal error: Cannot obtain XAConnection weblogic.common.resourcepool.ResourceDisabledException: Pool EnterpriseSearchDS is Suspended, cannot allocate resources to applications..
at weblogic.common.resourcepool.ResourcePoolImpl.reserveResourceInternal(ResourcePoolImpl.java:357)
at... &lt;a href=&quot;http://dotclear.placeoweb.com/post/search.mysql.com-is-not-working&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; search.mysql.com is not working&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/search.mysql.com-is-not-working#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/search.mysql.com-is-not-working#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/433</wfw:commentRss>
      </item>
    
  <item>
    <title>Procédures stockées, fonctions SQL, curseurs et triggers</title>
    <link>http://dotclear.placeoweb.com/post/Proc%C3%A9dures-stock%C3%A9es-fonctions-trigger-SQL</link>
    <guid isPermaLink="false">urn:md5:c3473cc7787c291b1723bdf8203da000</guid>
    <pubDate>Sun, 03 Oct 2010 18:51:00 +0100</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>sql</category>    
    <description>&lt;p&gt;Procédures stockées (PROCEDURE) et fonctions (FUNCTION) en SQL, et bien ce n'est pas si simple à comprendre&amp;nbsp;! Et les fameux déclencheurs, les Triggers&amp;nbsp;!&lt;/p&gt;    &lt;p&gt;MySQL


Procédures stockées et fonctions


Procédures stockées et fonctions

Syntaxe des procédures stockées

CREATE PROCEDURE et CREATE FUNCTION 5.1 : CREATE PROCEDURE and CREATE FUNCTION Syntax : CONTAINS SQL | NO SQL | READS SQL DATA | MODIFIES SQL DATA
Curseurs

Commandes de curseur OPEN, FETCH, CLOSE





Une procédure stockées est un jeu de... &lt;a href=&quot;http://dotclear.placeoweb.com/post/Proc%C3%A9dures-stock%C3%A9es-fonctions-trigger-SQL&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Procédures stockées, fonctions SQL, curseurs et triggers&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/Proc%C3%A9dures-stock%C3%A9es-fonctions-trigger-SQL#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/Proc%C3%A9dures-stock%C3%A9es-fonctions-trigger-SQL#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/402</wfw:commentRss>
      </item>
    
  <item>
    <title>Transactions SQL</title>
    <link>http://dotclear.placeoweb.com/post/Transaction-SQL</link>
    <guid isPermaLink="false">urn:md5:94caf8d7bfc3181e75d0bc005955bec2</guid>
    <pubDate>Sun, 03 Oct 2010 18:20:00 +0100</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>sql</category>    
    <description>&lt;p&gt;Comment faire du transactionnel avec votre base de données&amp;nbsp;?&lt;/p&gt;    &lt;p&gt;Transaction ACID (Atomique , Cohérente, Isolée, Durable)


ACID criteria (Atomicity, Consistency, Isolation, Durability)
Transaction informatique


Des mécanismes permettent d'obtenir une suite d'opérations qui soit globalement à la fois atomique, cohérente, isolée et durable (ACID).

atomique : la suite d'opérations est indivisible, en cas d'échec... &lt;a href=&quot;http://dotclear.placeoweb.com/post/Transaction-SQL&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Transactions SQL&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/Transaction-SQL#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/Transaction-SQL#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/397</wfw:commentRss>
      </item>
    
  <item>
    <title>H4cked By S3nleVeyaSensiz Turkish Attacker One Turk Against The World</title>
    <link>http://dotclear.placeoweb.com/post/H4cked-By-S3nleVeyaSensiz-Turkish-Attacker-One-Turk-Against-The-World</link>
    <guid isPermaLink="false">urn:md5:a315ae28040f224aa270da37c766d06c</guid>
    <pubDate>Fri, 30 Jul 2010 19:29:00 +0100</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>sql</category>    
    <description>&lt;p&gt;Hack de votre site avec le message &lt;q&gt;H4cked By S3nleVeyaSensiz Turkish Attacker One Turk Against The World&lt;/q&gt;, bravo&amp;nbsp;! Vous avez une faille, et avez été victime d'une injection MySQL.&lt;/p&gt;    &lt;p&gt;Pour notre part tout a commencé avec un dossier web listé et sans index (Options +Indexes)


Puis de la détection d'injection SQL


78.171.57.168 - - [27/Jul/2010:15:37:05 +0200] &quot;GET /pages/dossier.php?id=23%27 HTTP/1.1&quot; 200 138
78.171.57.168 - - [27/Jul/2010:15:37:11 +0200] &quot;GET /pages/dossier.php?id=23 HTTP/1.1&quot; 200 29513
78.171.57.168 - -... &lt;a href=&quot;http://dotclear.placeoweb.com/post/H4cked-By-S3nleVeyaSensiz-Turkish-Attacker-One-Turk-Against-The-World&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; H4cked By S3nleVeyaSensiz Turkish Attacker One Turk Against The World&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/H4cked-By-S3nleVeyaSensiz-Turkish-Attacker-One-Turk-Against-The-World#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/H4cked-By-S3nleVeyaSensiz-Turkish-Attacker-One-Turk-Against-The-World#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/384</wfw:commentRss>
      </item>
    
  <item>
    <title>Migration MySQL vers Oracle avec Oracle SQL Developer</title>
    <link>http://dotclear.placeoweb.com/post/Migration-MySQL-vers-Oracle-avec-Oracle-SQL-Developer</link>
    <guid isPermaLink="false">urn:md5:d43427bacd1f128734e070a821e5004d</guid>
    <pubDate>Sat, 01 May 2010 12:05:00 +0100</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>oracle</category><category>sql</category>    
    <description>&lt;p&gt;Comment migrer vos bases de données MySQL à destination d'un serveur Oracle Database&amp;nbsp;?&lt;/p&gt;    &lt;p&gt;Prérequis


A télécharger :

SQL Developer 3.x

Testé avec : Oracle SQL Developer 3.0.02

MySQL Connector/J, l'officiel driver JDBC pour MySQL.

Testé avec : Connector/J 5.1.14


Déjà installé (et configuré) :

Votre base donnée MySQL (contenant les données à migrer)
Votre base Oracle (comme destination)



Ajouter Connecteur JDBC MySQL dans SQL... &lt;a href=&quot;http://dotclear.placeoweb.com/post/Migration-MySQL-vers-Oracle-avec-Oracle-SQL-Developer&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Migration MySQL vers Oracle avec Oracle SQL Developer&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/Migration-MySQL-vers-Oracle-avec-Oracle-SQL-Developer#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/Migration-MySQL-vers-Oracle-avec-Oracle-SQL-Developer#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/417</wfw:commentRss>
      </item>
    
  <item>
    <title>Règles et conventions de nommage SQL</title>
    <link>http://dotclear.placeoweb.com/post/R%C3%A8gles-et-conventions-de-nommage-SQL</link>
    <guid isPermaLink="false">urn:md5:8fb3eb62cd7c1e29b1cb5702742e0e5a</guid>
    <pubDate>Sat, 24 Apr 2010 11:45:00 +0100</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>oracle</category><category>sql</category>    
    <description>&lt;p&gt;Quelle norme de nommage SQL (MySQL, Oracle, Postgres, MsSQL, ...) choisir pour le nom&amp;nbsp;:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;des bases de données,&lt;/li&gt;
&lt;li&gt;des tables,&lt;/li&gt;
&lt;li&gt;des colonnes.&lt;strong&gt;&lt;/strong&gt;&lt;/li&gt;
&lt;/ul&gt;    &lt;p&gt;Règles de standardisation SQL et conventions de nommage des objets SQL


Normalisation des noms des objets des bases de données


Pattern : &quot;a .. z + A .. Z + 0 .. 9 +_&quot;  avec les restrictions suivantes :

ne pas dépasser 128 caractères
ne doit pas commencer par un chiffre
ne peut avoir plusieurs caractères &quot;blanc souligné&quot; de suite
la casse n'a... &lt;a href=&quot;http://dotclear.placeoweb.com/post/R%C3%A8gles-et-conventions-de-nommage-SQL&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Règles et conventions de nommage SQL&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/R%C3%A8gles-et-conventions-de-nommage-SQL#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/R%C3%A8gles-et-conventions-de-nommage-SQL#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/392</wfw:commentRss>
      </item>
    
  <item>
    <title>SQL : Oracle MySQL SQL Server Compact Edition, les différences entre les moteurs SQL</title>
    <link>http://dotclear.placeoweb.com/post/Oracle-MySQL-SQL-Server-Compact-Edition</link>
    <guid isPermaLink="false">urn:md5:e205ff6a7cd5b122ed2294b47a2eca53</guid>
    <pubDate>Thu, 01 Apr 2010 19:52:00 +0100</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>oracle</category><category>sql</category>    
    <description>&lt;p&gt;Quelques différences entre Microsoft SQL Server CE, MySQL et Oracle&amp;nbsp;? Les différences entre les principales commandes (mots clés) des moteurs SQL&amp;nbsp;: MySQL, Oracle, Microsoft SQL Server (MS SQL) et sa Compact Edition (MS SQL CE)&lt;/p&gt;    &lt;p&gt;Les commentaires SQL


MySQL

-- Cette ligne est en commentaire
SELECT * # Sur une ligne tout ce qui suit le '#' est en commentaire
FROM maTable


Les délimiteurs de nom d'objets : bases, tables et colonnes


Quelle est la différence entre les caractères ', ` et '' ? ?
` (accent grave ou backtick, touches Alt Gr + 7) sert à entourer les noms des... &lt;a href=&quot;http://dotclear.placeoweb.com/post/Oracle-MySQL-SQL-Server-Compact-Edition&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; SQL : Oracle MySQL SQL Server Compact Edition, les différences entre les moteurs SQL&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/Oracle-MySQL-SQL-Server-Compact-Edition#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/Oracle-MySQL-SQL-Server-Compact-Edition#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/340</wfw:commentRss>
      </item>
    
  <item>
    <title>Oracle</title>
    <link>http://dotclear.placeoweb.com/post/Oracle</link>
    <guid isPermaLink="false">urn:md5:aa2f47d01a0c8defe54b499cd0a0e4fa</guid>
    <pubDate>Sat, 20 Mar 2010 22:28:00 +0000</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>oracle</category><category>sql</category>    
    <description>&lt;p&gt;Notes au sujet de la base de données Oracle et d'éventuelles migration de MySQL à destination d'Oracle.&lt;/p&gt;    &lt;p&gt;Oracle : Liens utiles


Software Downloads

Oracle Database Software Downloads

Oracle Documentation

Oracle Database Documentation

Oracle SQL Developer
Oracle SQL Developer Migration
Oracle &amp; Eclipse : Oracle Enterprise Pack for Eclipse

Oracle Enterprise Pack for Eclipse : certified set of Eclipse plug-ins is designed to help develop, deploy and... &lt;a href=&quot;http://dotclear.placeoweb.com/post/Oracle&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Oracle&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/Oracle#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/Oracle#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/337</wfw:commentRss>
      </item>
    
  <item>
    <title>Réplication MySQL 5.1</title>
    <link>http://dotclear.placeoweb.com/post/R%C3%A9plication-MySQL</link>
    <guid isPermaLink="false">urn:md5:190ec61abcb1a286f21752e3c5a6a39f</guid>
    <pubDate>Tue, 27 Oct 2009 07:07:00 +0000</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>sql</category>    
    <description>&lt;p&gt;Copier vos données vers un serveur MySQL secondaire avec la réplication MySQL 5.&lt;/p&gt;    &lt;p&gt;/* odd items 1,3,5,7,... */
table tr.odd th,
.odd {
    background: #E5E5E5;
}

/* even items 2,4,6,8,... */
table tr.even th,
.even {
    background: #D5D5D5;
}

/* odd table rows 1,3,5,7,... */
table tr.odd th,
table tr.odd {
    background-image:   none;
    background:         #E5E5E5;
    text-align:         left;
}

/* even table rows... &lt;a href=&quot;http://dotclear.placeoweb.com/post/R%C3%A9plication-MySQL&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Réplication MySQL 5.1&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/R%C3%A9plication-MySQL#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/R%C3%A9plication-MySQL#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/289</wfw:commentRss>
      </item>
    
  <item>
    <title>DATE field NOW() CURRENT_TIMESTAMP</title>
    <link>http://dotclear.placeoweb.com/post/DATE-field-NOW%28%29-CURRENT_TIMESTAMP</link>
    <guid isPermaLink="false">urn:md5:96ed9c3a295d14b31182737d94ecf50c</guid>
    <pubDate>Tue, 27 Oct 2009 05:43:00 +0000</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>sql</category>    
    <description>&lt;p&gt;Aucun problème lors de vos migration de MySQL 4.0 vers MySQL 4.1, MySQL 5 et supérieur&amp;nbsp;? Ni même avec mysql select date now&amp;nbsp;?&lt;/p&gt;    &lt;p&gt;La sélection d'une date avec NOW() ou CURRENT_TIMESTAMP ne fonctionne plus sur des colonnes DATE depuis les nouvelles versions MySQL :

5.0.42
5.1.18

--
-- Structure de la table `test_date`
--
 
CREATE TABLE IF NOT EXISTS `test_date` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `ladate` date DEFAULT NULL,
  PRIMARY KEY (`id`)
) ;
 
--
-- Contenu de... &lt;a href=&quot;http://dotclear.placeoweb.com/post/DATE-field-NOW%28%29-CURRENT_TIMESTAMP&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; DATE field NOW() CURRENT_TIMESTAMP&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/DATE-field-NOW%28%29-CURRENT_TIMESTAMP#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/DATE-field-NOW%28%29-CURRENT_TIMESTAMP#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/288</wfw:commentRss>
      </item>
    
  <item>
    <title>Default Value</title>
    <link>http://dotclear.placeoweb.com/post/Default-Value</link>
    <guid isPermaLink="false">urn:md5:cd7daa7b2c97778d7c55a74ec3d64f3d</guid>
    <pubDate>Fri, 03 Jul 2009 23:24:00 +0100</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>java</category><category>mysql</category><category>php</category><category>sql</category>    
    <description>&lt;p&gt;La gestion des valeurs par défaut dans les champs de table sous MySQL. Comment éviter les erreurs&amp;nbsp;:&lt;/p&gt;

&lt;pre&gt;Field 'typeText' doesn't have a default value&lt;/pre&gt;    &lt;p&gt;Environnement de test


java 1.6.0_14

mysql-connector-5.0.8-bin.jar

mysql 5.0.32


mysql-connector-5.0.8-bin.jar


Le connecteur mysql 5.0.8 configure sa connexion tel que ci dessous avant toute requête exécutée. Notez l'importance du sql_mode='STRICT_TRANS_TABLES'


                891653 Query       SHOW SESSION VARIABLES
                891653... &lt;a href=&quot;http://dotclear.placeoweb.com/post/Default-Value&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Default Value&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/Default-Value#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/Default-Value#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/263</wfw:commentRss>
      </item>
    
  <item>
    <title>QueryBuilder</title>
    <link>http://dotclear.placeoweb.com/post/QueryBuilder</link>
    <guid isPermaLink="false">urn:md5:1da8aa64f624316170cd04c8907399fe</guid>
    <pubDate>Fri, 01 May 2009 18:06:00 +0200</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
            
    <description>&lt;p&gt;Quel et le meilleur Query Builder&amp;nbsp;? Constructeur de requêtes à la volée.&lt;/p&gt;    &lt;p&gt;JAVA Query Builders


Pour construire à chaud une requête dynamique complexe, vous avez plusieurs alternatives :

utiliser un Statement en définissant vous même l'intégralité de la requête : codes SQL et valeurs (et caractères d'échappements si nécessaire)
utiliser un PreparedStatement qui impose le typage des valeurs et qui gère l'échappement des... &lt;a href=&quot;http://dotclear.placeoweb.com/post/QueryBuilder&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; QueryBuilder&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/QueryBuilder#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/QueryBuilder#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/238</wfw:commentRss>
      </item>
    
  <item>
    <title>Tips SQL</title>
    <link>http://dotclear.placeoweb.com/post/Tips-SQL</link>
    <guid isPermaLink="false">urn:md5:c951cc95ff40cc1dfde769df4ebe0e6d</guid>
    <pubDate>Fri, 01 May 2009 16:09:00 +0200</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>sql</category>    
    <description>&lt;p&gt;Astuces pour SQL, MySQL, Oracle et les autres &lt;a href=&quot;http://fr.wikipedia.org/wiki/Syst%C3%A8me_de_gestion_de_base_de_donn%C3%A9es&quot;&gt;systèmes de gestion de base de données&lt;/a&gt; (SGDB).&lt;/p&gt;    &lt;p&gt;MySQL


Activation des log sous MySQL sans redémarrer le serveur


Voici une commande permettant d'enregistrer l'ensemble des requêtes exécutées sur votre serveur MySQL, ce qui peut servir en production à tracer des programmes foireux ou douteux dans leurs résultats...

-- Activer les logs MySQL à chaud sans redémarrer le serveur MySQL pour tracer... &lt;a href=&quot;http://dotclear.placeoweb.com/post/Tips-SQL&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Tips SQL&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/Tips-SQL#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/Tips-SQL#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/232</wfw:commentRss>
      </item>
    
  <item>
    <title>Outils de gestion de bases de données SQL à la phpMyAdmin</title>
    <link>http://dotclear.placeoweb.com/post/Outils-gestion-bases-de-donnees-comme-phpMyAdmin</link>
    <guid isPermaLink="false">urn:md5:c543ebedc835f06a03076fca732ad1c0</guid>
    <pubDate>Wed, 11 Feb 2009 21:12:00 +0100</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>mysql</category><category>php</category>    
    <description>&lt;p&gt;Qu'existe t'il comme solutions alternatives à phpMyAdmin&amp;nbsp;? Quel outils similaire libre ou gratuit seraient meilleur qu'un des outils d'administration de base de données MySQL le plus connus des webmaster tel que l'est phpMyAdmin&amp;nbsp;?&lt;/p&gt;    &lt;p&gt;Administrateurs et développeurs MySQL, besoin de créer et d'exécuter des requêtes, d'automatiser la gestion d'objets de base de données et de développer des codes SQL.


Besoin de gérer des projets, d'importer/exporter des données et d'administrer la base.



Administration de base de données en mode web (avec un navigateur)


phpMyAdmin... &lt;a href=&quot;http://dotclear.placeoweb.com/post/Outils-gestion-bases-de-donnees-comme-phpMyAdmin&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; Outils de gestion de bases de données SQL à la phpMyAdmin&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/Outils-gestion-bases-de-donnees-comme-phpMyAdmin#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/Outils-gestion-bases-de-donnees-comme-phpMyAdmin#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/211</wfw:commentRss>
      </item>
    
  <item>
    <title>ORM Object Relational Mapper : Mapping Objet Relationnel</title>
    <link>http://dotclear.placeoweb.com/post/ORM-Object-Relational-Mapper-%3A-Mapping-Objet-Relationnel</link>
    <guid isPermaLink="false">urn:md5:73ad54355d820aec6f0464e8efda6d40</guid>
    <pubDate>Mon, 09 Feb 2009 23:42:00 +0100</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>framework</category><category>java</category><category>php</category><category>sql</category>    
    <description>&lt;p&gt;Connaissez vous les très utiles ORM afin de na pas réinventer la roue ors de l'appel à vos objets contenus en base de données&amp;nbsp;?&lt;/p&gt;    &lt;p&gt;Les ORM



Les ORM PHP


Doctrine


Doctrine est un objet relationnel mapper (ORM) pour PHP 5.2.3 + qui se trouve au sommet d'une puissante couche d'abstraction de base de données (DBAL). L'une de ses principales caractéristiques est la possibilité d'écrire les requêtes dans une base de données objet de propriété axée sur la doctrine appelée... &lt;a href=&quot;http://dotclear.placeoweb.com/post/ORM-Object-Relational-Mapper-%3A-Mapping-Objet-Relationnel&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; ORM Object Relational Mapper : Mapping Objet Relationnel&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/ORM-Object-Relational-Mapper-%3A-Mapping-Objet-Relationnel#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/ORM-Object-Relational-Mapper-%3A-Mapping-Objet-Relationnel#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/213</wfw:commentRss>
      </item>
    
  <item>
    <title>ADOdb, PDO, PEAR MDB2, Zend_Db ?</title>
    <link>http://dotclear.placeoweb.com/post/ADOdb-PDO-PEAR-MDB2-Zend_Db-Benchmark</link>
    <guid isPermaLink="false">urn:md5:43a022392bcdefa61e9047f8d5b8a1a3</guid>
    <pubDate>Mon, 09 Feb 2009 22:44:00 +0100</pubDate>
    <dc:creator>PlaceOweb</dc:creator>
        <category>SQL</category>
        <category>framework</category><category>mysql</category><category>php</category><category>sql</category>    
    <description>&lt;p&gt;&lt;a href=&quot;http://adodb.sourceforge.net/&quot; hreflang=&quot;en&quot;&gt;ADOdb Database Abstraction Library for PHP&lt;/a&gt;, &lt;a href=&quot;http://fr.php.net/manual/fr/book.pdo.php&quot;&gt;PDO (PHP Data Objects)&lt;/a&gt;, &lt;a href=&quot;http://pear.php.net/package/DB&quot;&gt;PEAR DB&lt;/a&gt;, &lt;a href=&quot;http://pear.php.net/package/MDB2&quot;&gt;PEAR MDB2&lt;/a&gt; ou &lt;a href=&quot;http://framework.zend.com/manual/fr/zend.db.html&quot;&gt;Zend_Db&lt;/a&gt;&amp;nbsp;?&lt;/p&gt;    &lt;p&gt;Quelle bibliothèque d'abstraction de base de données (SGDB) choisir ?


ADOdb Database Abstraction Library for PHP (and Python)


Pilotes ADOdb :

La version actuelle de PHP supporte de nombreuses base de données : (Liste complète des bases de données supportées par ADOdb)

MySQL
PostgreSQL
Interbase
Firebird
Informix
Oracle
MS SQL
Foxpro
Access... &lt;a href=&quot;http://dotclear.placeoweb.com/post/ADOdb-PDO-PEAR-MDB2-Zend_Db-Benchmark&quot;&gt;&lt;em&gt;Lire&lt;/em&gt; ADOdb, PDO, PEAR MDB2, Zend_Db ?&lt;/a&gt;&lt;/p&gt;</description>
    
    
    
          <comments>http://dotclear.placeoweb.com/post/ADOdb-PDO-PEAR-MDB2-Zend_Db-Benchmark#comment-form</comments>
      <wfw:comment>http://dotclear.placeoweb.com/post/ADOdb-PDO-PEAR-MDB2-Zend_Db-Benchmark#comment-form</wfw:comment>
      <wfw:commentRss>http://dotclear.placeoweb.com/feed/atom/comments/210</wfw:commentRss>
      </item>
    
</channel>
</rss>
