contents of image fields

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • Koral

    contents of image fields

    Hi,

    I have a SELECT FROM TABLE query and in that table there is a field of type
    image. Result of this select goes throug internet do its destination. But in
    fact I need only to know if in this field is or not an image. Is there any
    funciotn which gives me information about contents of image fields?

    Regards, Paul


  • Dan Guzman

    #2
    Re: contents of image fields

    Is there any funciotn which gives me information about contents of image
    fields?
    The only thing SQL Server knows about image column contents is the
    DATALENGTH. It is up to the application to interpret the contents. If you
    store data of different types in the same column (not a good design, IMHO),
    you'll need another column to indicate the type.


    --
    Hope this helps.

    Dan Guzman
    SQL Server MVP

    "Koral" <koral00@op.plw rote in message news:f7vir2$nur $1@news.onet.pl ...
    Hi,
    >
    I have a SELECT FROM TABLE query and in that table there is a field of
    type image. Result of this select goes throug internet do its destination.
    But in fact I need only to know if in this field is or not an image. Is
    there any funciotn which gives me information about contents of image
    fields?
    >
    Regards, Paul
    >

    Comment

    Working...