Converting sql_variant Type to Text???

  • We have a table with two sql_variant type fields that need to be converted to either text or image fields to prevent the data from exceeding the overall record length.

    Any thoughts on how this may be accomplished other than writing a C# program to do a read write?

    Thanks in advance.

    art

  • Look at the [font="System"]SQL_VARIANT_PROPERTY[/font] function.

    [font="Times New Roman"]-- RBarryYoung[/font], [font="Times New Roman"] (302)375-0451[/font] blog: MovingSQL.com, Twitter: @RBarryYoung[font="Arial Black"]
    Proactive Performance Solutions, Inc.
    [/font]
    [font="Verdana"] "Performance is our middle name."[/font]

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic. Login to reply