From: Leonid Sysoletin <webmaster@unicon-ms.ru>
To: community@altlinux.ru
Subject: Re: [Comm] SQL Postgresql & array
Date: Thu, 19 Sep 2002 12:25:42 +0400
Message-ID: <200209191225.42758.webmaster@unicon-ms.ru> (raw)
In-Reply-To: <20020919121005.21603145.SilverFox@rgantd.ru>
Четверг, 19 Сентябрь 2002 12:10, SilverFox написал:
> > > Вопрос по SQL в применении к массивам.Возможно ли как либо
> > > оперировать с массивами в рамках SQL?
> > Подкиньте пример, для чего это нужно.
> > Возможно, найдётся более другой вариант...
> Ну вот есть таблица:
> grad=> SELECT код,дескрипторы FROM дескрипторы;
> код | дескрипторы
> -------+--------------------------------------------------------
> -------------
> 2 | АВТОГРАФЫ
> 3 | АДМИРАЛТЕЙСКАЯ НАБ.
> Есть другая с документам и к этим докам может относиться
> несколько дескрипторов.
> Я хочу сделать для доков графу, где помещу массив-набор
> соответствующих кодов из таблицы дескрипторов.
> Я эту базу сконвертил сначала из ISISa, там черт ногу сломит, она
> вообще не реляционная.. Поэтому мого повторов и много зависело
> как оператор введет.. Теперь бы как то структурировать ее , что
> бы влезли все эти многозначности. Вот в дескрипторах их уже
> полно.. Ну это уже отдельная песня.. А сначала хотелосьбы вот то
> что я написал..
Это не будет нормальной формой.
Гораздо лучше оставить как есть - то есть коды в одной таблице, документы - в
другой и дёргать, есть что - связывая таблицы.
Подробнее - наверное приватом или ICQ 86568549
--
Л. Сысолетин,
webmaster@unicon-ms.ru
[Team Ёжики-рулез!] [Team Котёнки на солярке] [Team Берегите букву "ё"!]
Согласно статистике, один из четырех человек - душевнобольной.
Подумайте о трех своих друзьях... если они в порядке, значит это вы.
prev parent reply other threads:[~2002-09-19 8:25 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-09-19 7:33 SilverFox
2002-09-19 7:40 ` Leonid Sysoletin
2002-09-19 8:10 ` SilverFox
2002-09-19 8:25 ` Leonid Sysoletin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200209191225.42758.webmaster@unicon-ms.ru \
--to=webmaster@unicon-ms.ru \
--cc=community@altlinux.ru \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
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