Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Oracle For Fun
VC wrote:
> Hello Jeff,
>
> "Jeff" <jeff_at_work.com> wrote in message
> news:bvlojh$mti$1_at_cronkite.cc.uga.edu...
>
>>In article <1075682270.753428_at_yasure>, Daniel Morgan
>>>The contestants and results can be found at: >>>http://www.psoug.org/sql_fun.html >>> >>>One lesson comes through very clearly from the results ... test, test, >>>test. Don't be too quick to think you know what's best just by looking >>>at the code you've written. >> >>Now, here I thought the object was to be as concise as possible. >> >>Of the four solutions, I think translate3 comes closest to winning the
>>elegant" award. Translate2 should be disqualified because it doesn't
>>null values...
What, exactly, do you expect "insert into t1 values(null)" to do?
Try select count(*) from t1;
You need to create another column ... for example
create table t1(seqno int, x varchar2(20)); insert into t1 values (1, '123-456-7890'); insert into t1 values (2, '123-456-78j0');insert into t1 values (3, NULL);
-- Daniel Morgan http://www.outreach.washington.edu/ext/certificates/oad/oad_crs.asp http://www.outreach.washington.edu/ext/certificates/aoa/aoa_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Mon Feb 02 2004 - 20:50:54 CST