Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.tools -> Re: Inserting data with Select

Re: Inserting data with Select

From: Jan Vissers <jan_vissers_at_planet.nl>
Date: Wed, 13 Dec 2000 17:49:15 +0100
Message-ID: <9189h5$1jo8u$1@reader3.wxs.nl>

insert into signout
(signature
,software
,signout_date

) values
('LR'
,'visio'
,trunc(sysdate)

)
/

"L.Ray" <lray_at_nospam.bigfoot.com> wrote in message news:3a39a795.174070890_at_news.easynews.com...

> I need to insert 2 values and the current date into a table.  I can't
> figure out the correct syntax.  I need to do something like:
>
> insert into signout (signature, software, signout_date) values ('LR',
> 'visio', select SysDate from dual)
>
> which, of course, doesn't work.  Any advice on how to do this would be
> greatly appreciated.
>
Received on Wed Dec 13 2000 - 10:49:15 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US