Results 1 to 7 of 7
  1. #1
    Join Date
    Jun 2004
    Posts
    127

    Unanswered: Type Inheritance

    Hi is it possible to implement type inheritance in SQL server? and is it also possible to define user defined types's operators/functions in a level lower than SQL?

  2. #2
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    That's tough to answer the way that your questions are asked.

    Transact-SQL doesn't support type inheritance. Other languages such a Visual C++ do support type inheritance. It is possible to write object serializers in those languages that support type inheritance that have a target of SQL Server.

    I'm not sure if that helps any or not.

    -PatP

  3. #3
    Join Date
    Jun 2004
    Posts
    127
    thanks, that was helpful. btw do u know of any other dbms's that support type inheritance other than oracle?

  4. #4
    Join Date
    Jul 2003
    Location
    San Antonio, TX
    Posts
    3,662
    If you wait a little longer (mid-summer) it'll become available in Yukon. I am not sure if you can do fully fledged CLR-based UDT's in Express Beta.
    "The data in a record depends on the Key to the record, the Whole Key, and
    nothing but the Key, so help me Codd."

  5. #5
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    Quote Originally Posted by rdjabarov
    If you wait a little longer (mid-summer) it'll become available in Yukon.
    what year would that be?

    <ducks />
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

  6. #6
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Quote Originally Posted by r937
    what year would that be?
    Why, "next" year, of course!

    -PatP

  7. #7
    Join Date
    Feb 2004
    Location
    In front of the computer
    Posts
    15,579
    Provided Answers: 54
    Quote Originally Posted by FAC51
    thanks, that was helpful. btw do u know of any other dbms's that support type inheritance other than oracle?
    Several thousand, although none of them are SQL based.

    -PatP

Posting Permissions

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