From: Roman S <rromas@mailru.com>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] Консольные приложения+базы данных
Date: 17 Apr 2002 21:06:24 +0400
Message-ID: <1019063184.3239.9.camel@rromas.rail.net.ru> (raw)
In-Reply-To: <3CBD5F89.4050103@mail.ru>
[-- Attachment #1: Type: text/plain, Size: 883 bytes --]
В Срд, 17.04.2002, в 15:42, serge написал:
> То есть нужна библиотека либо средство разработки с чем-нибудь вроде
> `db-aware widgets`.
> Понятно что в связке ncurses+ (какой либо интерфейс к какой нибудь базе
> данных)
> можно все это можно реализовать ... но а вдруг какая либо С -
> библиотека уже есть
Рекомендую использовать embeeded SQL.
Препроцессоры есть для Oracle, DB2, Postgres. Постгресовский с
"особенностями", но терпимыми.
Т.е.
а) регистрочуствительный - "EXEC SQL INCLUDE SQLCA" - не пройдёт, sqlca
надо писать маленькими буквами.
б) требует обязательного указания BEGIN/END DECLARE SECTION - в
принципе, по стандарту положено, но все на это чихают :)
в) комментирует C-текст SQL-предложений символом "#".
Удобнее и проще - пока ничего не придумали. Это явно эффективнее всех
CLI-интерфейсов, вместе взятых.
--
Rgds!
Roman Savelyev.
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 232 bytes --]
prev parent reply other threads:[~2002-04-17 17:06 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-04-17 11:42 serge
2002-04-17 17:06 ` Roman S [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=1019063184.3239.9.camel@rromas.rail.net.ru \
--to=rromas@mailru.com \
--cc=sisyphus@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 Sisyphus discussions
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
public-inbox-index sisyphus
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.sisyphus
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git