Skip site navigation (1) Skip section navigation (2)

Peripheral Links

Header And Logo

PostgreSQL
| The world's most advanced open source database.

Site Navigation

Search archives
  Advanced Search

timestamp without time zone


  • From: Pascal Brognez <pascal(dot)brognez(at)univ-lille1(dot)fr>
  • To: pgsql-fr-generale(at)postgresql(dot)org
  • Subject: timestamp without time zone
  • Date: Wed, 27 Aug 2008 17:23:57 +0200
  • Message-id: <48B5718D.8070202@univ-lille1.fr> <text/plain>

Bonjour,

J'ai prévu d'enregistrer des dates dans mes tables au format timestamp without time zone Il me semble que c'est un bon choix, j'ai besoin de année mois jour heure minute seconde.



Après avoir lu http://docs.postgresqlfr.org/8.3/functions-datetime.html

J'ai essayé:
$query_insert = "INSERT INTO \"TTest\" ( \"Champ1\", \"Champ2\", \"CTimestamp_wtz\") VALUES ( '$valeur1', '$valeur2', LOCALTIMESTAMP"; Malheureusement j'ai un problème de syntaxe à la fin de la ligne LOCALTIMESTAMP^

Ce que je veux faire c'est enregistrer l'heure à laquelle une requête est faite.


Cordialement
--
Pascal









Home | Main Index | Thread Index

Privacy Policy | About PostgreSQL
Copyright © 1996 – 2012 PostgreSQL Global Development Group