🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi.bazy-danych
Article #70358

Re: Procedura Firebird do sortowania domen internetowych

#70358
From: Morff
Date: Mon, 09 Jul 2007 13:51
27 lines
1340 bytes
Dnia 09-07-2007 o 15:14:01 andrzek <andrzek@brak_adresu.com> napisał:

> Chciałbym aby po zapytaniu
>
> SELECT funkcja_domena(domena) FROM domeny
> ORDER BY 1
>
> Wynik był następujacy
> au.domena1.x1
> fr.domena3.x1
> pl.domena1
> pl.domena1.a1
> pl.domena1.f7
> pl.domena1.x1
>
>
> Jak napisać to jako procedurę składowana na serwerze firebird ?

a to nie jest posortowane alfabetycznie ? jeseli tak to
select * from domeny order by 1
wystarczy

-- 
Pozdrawiam
Morff
--------------------
AQQ 141151
Technical Details
Message-ID: <op.tu694afmq0kutt@xp_januszk.herby>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
References: <f6tcaj$41j$1@inews.gazeta.pl>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Morff <morff1@wp.pl>
Newsgroups: pl.comp.lang.delphi.bazy-danych
Subject: Re: Procedura Firebird do sortowania domen internetowych
Date: Mon, 09 Jul 2007 15:51:36 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 27
Message-ID: <op.tu694afmq0kutt@xp_januszk.herby>
References: <f6tcaj$41j$1@inews.gazeta.pl>
NNTP-Posting-Host: buf67.internetdsl.tpnet.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1183989428 22292 83.18.161.67 (9 Jul 2007 13:57:08 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Mon, 9 Jul 2007 13:57:08 +0000 (UTC)
User-Agent: Opera Mail/9.22 (Win32)
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit