Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
![]() |
![]() |
Home -> Community -> Usenet -> c.d.o.server -> Re: What is a UDT?
Andy Hassall wrote:
>
> That's constructor syntax for a table, given the values to put into it.
> However you're now trying to construct three person_typ objects, using three
> strings, hence the message - inconsistent datatypes, expected UDT (i.e. the
> user-defined type person_typ), got CHAR (i.e. '111223456').
>
> Do you mean instead:
>
> --
> Andy Hassall (andy@andyh.co.uk) icq(5747695) (http://www.andyh.co.uk)
> Space: disk usage analysis tool (http://www.andyhsoftware.co.uk/space)
Yes ... and of course. I know the correct syntax but like to prepare my students for the errors they can reasonably expect if they make mistakes. To do so I just needed help with translating the error message into English.
But for others, your explanation and examples will be helpful.
Thanks.
-- Daniel Morgan http://www.outreach.washington.edu/extinfo/certprog/oad/oad_crs.asp damorgan_at_x.washington.edu (replace 'x' with a 'u' to reply)Received on Sun Jul 06 2003 - 17:08:03 CDT
![]() |
![]() |