Results 1 to 3 of 3
  1. #1
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    161

    Unanswered: Defining a field of a custom type

    Hi

    I have a situation where I'll have many tables that also need to store a Person's info.

    Is there a way, where I create a Person table (FirstName, LastName, Address....etc etc) and then be able to create a table where I define a field to be that of Person type-table ? Like the way we do in OOP.

    Thanks
    Last edited by anjanesh; 09-11-06 at 10:37.
    MySQL 5.1

  2. #2
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    no, there isn't
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  3. #3
    Join Date
    Feb 2005
    Location
    Mumbai, India
    Posts
    161
    Is this possible on other databases, like PostgreSQL, Oracle or MS SQL Server 2005 ?
    MySQL 5.1

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •