Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.misc -> Re: Sorting numbers in a text field
[...]
>
>
> A database is not a garbage bin.
> If your data is numeric: use a number
> If your data is string: use a varchar2
> Do NOT concatenate attributes in one column.
> Your application will be a complete mess and it will not perform.
> So I don't think this is the correct answer. The correct answer is to
> the run a CREATE DATABASE script, start all over again, and learn to do
> things *properly*.
>
> --
> Sybrand Bakker
> Senior Oracle DBA
Thanks, and I have to agree if it were my database it would have been different. I didn't mention (because at the time it didn't seem relevant) that I am in the process of learning SQL, and this was one of a set of questions set by my trainer. Based on some of the other questions this section appears to be testing us on our logic skills, not just sql abilities.
Thank you for the comments though, they haven't gone un-noted. Received on Wed Jan 17 2007 - 10:07:35 CST
![]() |
![]() |