🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.databases.oracle.misc
Article #119

Re: Jobs in ORACLE

#119
From: Em Pradhan
Date: Mon, 22 Nov 1999 00:00
49 lines
2095 bytes
Hi
you can run a scheduled job depending on the
operating sistem (cron or at ) so that it
checks the database every day and if
finds the release date = system date
then update the released column.
like
if release date <= sysdate and released = 'N' then
update released = 'Y' where condition matches.

HTH
pradhan

wolfgang karrer wrote:

> Hi, i ve a Question concerning Jobs in ORACLE:
>
> How is it possible to control a date column by the database if the sysdate
> is equal to the date: Example
>
> I ve a table like
>
> SLIDE
> name VARCHAR2(10),
> abstract VARCHAR(500);
> relDate DATE
> released CHAR (1)
>
> if the actual date (sysdate) is equal to the relDate in the table SLIDE i
> want to update the released col in 'N'. How is this possible???
>
> Thanks in advance for helping me!!
>
> --
> Wolfgang Karrer
> B�ro f�r EDV-Dienstleistungen
> Gewerbegasse 6
> 4060 Leonding
> Tel + Fax. (0732) 681795
> Mobil: (0699) 134 18 469
> EMail: w.karrer@ooenet.at
> ---------------------------------------
> Institut f�r Wirtschaftsinformatik
> Abteilung Communications Engineering
> o.Univ.- Prof. DI Dr. Christian Stary
> Freist�dterstr. 315
> 4040 Linz/Urfahr
> Tel: (0732) 2468-7104
> EMail: wolfgang.karrer@ce.uni-linz.ac.at
Technical Details
Message-ID: <3839CDCB.42C57F8F@dplus.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <3839894d@alijku02.edvz.uni-linz.ac.at>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII
X-Google-Thread: fb53f,fa9cc94c253c0626
X-Google-Attributes: gidfb53f,public
X-Google-Thread: f99a8,fa9cc94c253c0626
X-Google-Attributes: gidf99a8,public
X-Google-Thread: fa4f9,fa9cc94c253c0626
X-Google-Attributes: gidfa4f9,public
From: Em Pradhan <empradhan@dplus.net>
Subject: Re: Jobs in ORACLE
Date: 1999/11/22
Message-ID: <3839CDCB.42C57F8F@dplus.net>
X-Deja-AN: 551830838
Content-Transfer-Encoding: 8bit
References: <3839894d@alijku02.edvz.uni-linz.ac.at>
Content-Type: text/plain; charset=iso-8859-1
X-Trace: newsfeed.slurp.net 943312194 209.116.185.71 (Mon, 22 Nov 1999 17:09:54 CDT)
MIME-Version: 1.0
NNTP-Posting-Date: Mon, 22 Nov 1999 17:09:54 CDT
Newsgroups: comp.databases.oracle.misc,comp.databases.oracle.server,hannover.uni.comp.oracle