ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] MySQL - глюки с полем даты.
@ 2005-03-01 15:54 Olvin
  2005-03-01 16:23 ` Alexey Morsov
  0 siblings, 1 reply; 2+ messages in thread
From: Olvin @ 2005-03-01 15:54 UTC (permalink / raw)
  To: community

Создал юзера. Делаю тестовую таблицу pet (по MySQL tutorial - учусь я, 
учусь :)), делаю insert into pet values ('Slim', 'Benny', 'snake', 'm', 
1996-04-29, NULL);
Далее select name,birth from pet where name='Slim';
А мне в ответ:
+------+------------+
| name | birth      |
+------+------------+
| Slim | 0000-00-00 |
+------+------------+
1 row in set (0.01 sec)

Это называется нормальной работой с датами? Это баг? Или я чего-то не 
учёл (например, с правами доступа и т.д.)?

Система ALTLinux Master 2.4, MySQL-server 4.0.20.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [Comm] MySQL - глюки с полем даты.
  2005-03-01 15:54 [Comm] MySQL - глюки с полем даты Olvin
@ 2005-03-01 16:23 ` Alexey Morsov
  0 siblings, 0 replies; 2+ messages in thread
From: Alexey Morsov @ 2005-03-01 16:23 UTC (permalink / raw)
  To: community


Olvin wrote:
> Создал юзера. Делаю тестовую таблицу pet (по MySQL tutorial - учусь я, 
> учусь :)), делаю insert into pet values ('Slim', 'Benny', 'snake', 'm', 
> 1996-04-29, NULL);
плохо смотрите в tutorial - даты в ''

-- 
Всего наилучшего,
Системный Администратор ЗАО "ИК "РИКОМ-ТРАСТ"
Алексей Морсов
ICQ: 196766290
Jabber: Samurai@jabber.pibhe.com
http://www.ricom.ru
http://www.fondmarket.ru


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2005-03-01 16:23 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-03-01 15:54 [Comm] MySQL - глюки с полем даты Olvin
2005-03-01 16:23 ` Alexey Morsov

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git