Results 1 to 5 of 5
  1. #1
    Join Date
    Dec 2004
    Location
    Madison, WI
    Posts
    3,926

    Unanswered: SQL Server field type designation

    Is there a data type in SQL Server for entering hyperlinks to websites? MS Access has a hyperlink data type but I can't find a corresponding SQL Server data type which I can use.

  2. #2
    Join Date
    Feb 2002
    Location
    Houston, TX
    Posts
    809
    How about a varchar? Say varchar(1000)? Might not be big enough for some URLs but probably big enough for most.

    To my knowledge there is no URL/WEBLINK data type.
    Paul Young
    (Knowledge is power! Get some!)

  3. #3
    Join Date
    Jun 2003
    Location
    Ohio
    Posts
    12,592
    Provided Answers: 1
    The functionality that treats a data value as a hyperlink is part of the Access interface, not the Access database engine. As a pure database engine, SQL Server does not include this functionality within its scope.
    If it's not practically useful, then it's practically useless.

    blindman
    www.chess.com: "sqlblindman"
    www.LobsterShot.blogspot.com

  4. #4
    Join Date
    Dec 2004
    Location
    Madison, WI
    Posts
    3,926

    Data Type

    Using the upsizing wizard in Access to upsize the table which has the field data type as a hyperlink upsizes it to SQL Server as a varchar but this still doesn't help.

    I tried changing the interface on the form in Access to somehow see it as a hyperlink but was unsuccessful.

    I'm currently left with an append query.

  5. #5
    Join Date
    Apr 2002
    Location
    Toronto, Canada
    Posts
    20,002
    what does "but this still doesn't help" mean?

    VARCHAR is the best datatype for this
    rudy.ca | @rudydotca
    Buy my SitePoint book: Simply SQL

Posting Permissions

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