🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: es.comp.bd.misc
Article #603

Re: Tutorial de SQL

#603
From: Pumuki
Date: Mon, 18 Dec 2000 16:29
20 lines
2091 bytes
On Mon, 18 Dec 2000 12:10:30 +0100, Pumuki wrote:

select * from tabla
where fecha > to_date(campofecha,'ddmmyyyy')


>Hablando de SQL.... es posible seleccionar un conjunto de registros por una
>fecha?, o sea, tengo x registros con un campo con una fecha determinada, si
>yo pongo 'SELECT * FROM DATOS WHERE FECHA > 01/01/00, FECHA < 1/12/00' pues
>no funciona, y aunque haya registros con fechas que cumplan ese criterio
>pues la sentencia SQL no lo pilla. Alguien sabe por que y como puedo hacer
>para seleccionar registros segun la fecha?
>
>Gracias,
>
>Un saludo,
>
>    IRAD
>
>
Technical Details
Message-ID: <3a3e3b3c.32100277@news.mad.ttd.net>
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news-x.support.nl!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!128.39.3.166!uninett.no!newsfeed1.enitel.no!masternews.telia.net!news-sto.telia.net!newsfeed.bcn.ttd.net!news.bcn.ttd.net!news.mad.ttd.net!not-for-mail
References: <91kkim$f1u$1@talia.mad.ttd.net> <91krhi$1ul$1@titan.bt.es>

Show Full Headers
Complete Article Headers
X-Google-Language: SPANISH,ASCII-7-bit
X-Google-Thread: fd66b,e90419dfcb24dc03
X-Google-Attributes: gidfd66b,public
X-Google-Thread: fc8b0,e90419dfcb24dc03
X-Google-Attributes: gidfc8b0,public
X-Google-Thread: 10be35,e90419dfcb24dc03
X-Google-Attributes: gid10be35,public
X-Google-Thread: 111a5a,e90419dfcb24dc03
X-Google-Attributes: gid111a5a,public
X-Google-Thread: 1053fc,e90419dfcb24dc03
X-Google-Attributes: gid1053fc,public
X-Google-Thread: fbf50,e90419dfcb24dc03
X-Google-Attributes: gidfbf50,public
X-Google-Thread: 106e2f,e90419dfcb24dc03
X-Google-Attributes: gid106e2f,public
X-Google-ArrivalTime: 2000-12-18 08:28:39 PST
Path: arc1-ca.pugleaf.net!supernews.google.com!sn-xit-02!supernews.com!news-x.support.nl!newsfeeds.belnet.be!news.belnet.be!news.tele.dk!128.39.3.166!uninett.no!newsfeed1.enitel.no!masternews.telia.net!news-sto.telia.net!newsfeed.bcn.ttd.net!news.bcn.ttd.net!news.mad.ttd.net!not-for-mail
From: pumuki@falsa.es (Pumuki)
Newsgroups: es.comp.bd.misc,es.comp.bd.ms-access,es.comp.infosistemas.internet,es.comp.infosistemas.www.misc,es.comp.infosistemas.www.paginas-web,es.comp.lenguajes.visual-basic,microsoft.public.es.webmasters
Subject: Re: Tutorial de SQL
Date: Mon, 18 Dec 2000 16:29:48 GMT
Organization: Telefonica Transmision de Datos
Lines: 21
Message-ID: <3a3e3b3c.32100277@news.mad.ttd.net>
References: <91kkim$f1u$1@talia.mad.ttd.net> <91krhi$1ul$1@titan.bt.es>
NNTP-Posting-Host: 195.53.196.2
X-Newsreader: Forte Free Agent 1.21/16.243