PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Autres forums > Forum Programmation & Conception > comp.databases.mysql > equivalent of oracle's nls_date_format
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
equivalent of oracle's nls_date_format

Réponse
 
LinkBack Outils de la discussion
Vieux 17/04/2008, 00h38   #1
Dave Griffith
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut equivalent of oracle's nls_date_format

What's the equivalent of doing this:
ALTER SESSION SET nls_date_format='mon-dd-yyyy hh:miam';
on MySQL 5.0? Trying to find the answer with Google keeps returning
MySQL-to-Oracle conversions.

--
David Griffith
dgriffi@cs.csbuak.edu <-- Switch the 'b' and 'u'
  Réponse avec citation
Vieux 17/04/2008, 10h28   #2
Luuk
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: equivalent of oracle's nls_date_format

Dave Griffith schreef:
> What's the equivalent of doing this:
> ALTER SESSION SET nls_date_format='mon-dd-yyyy hh:miam';
> on MySQL 5.0? Trying to find the answer with Google keeps returning
> MySQL-to-Oracle conversions.
>


this is the closest i can find:
http://dev.mysql.com/doc/refman/5.0/...e-support.html

mysql> SELECT DATE_FORMAT(NOW(),'%b-%d-%Y %l:%i%p');
Apr-17-2008 11:27AM

--
Luuk
  Réponse avec citation
Vieux 17/04/2008, 10h33   #3
Captain Paralytic
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: equivalent of oracle's nls_date_format

On 17 Apr, 00:38, dgri...@cs.csbuak.edu (Dave Griffith) wrote:
> What's the equivalent of doing this:
> ALTER SESSION SET nls_date_format='mon-dd-yyyy hh:miam';
> on MySQL 5.0? Trying to find the answer with Google keeps returning
> MySQL-to-Oracle conversions.
>
> --
> David Griffith
> dgri...@cs.csbuak.edu <-- Switch the 'b' and 'u'


See http://dev.mysql.com/doc/refman/5.0/...atetime_format
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 12h16.


Édité par : vBulletin® version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,12125 seconds with 11 queries