Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2000 Forums
 Transact-SQL (2000)
 Image Data type

Author  Topic 

nitin1353
Constraint Violating Yak Guru

381 Posts

Posted - 2006-06-07 : 16:00:13
Hi all
I have a table only with one column and data type image.
Now if i write this query "select * from save_features where features = '[B@131303f'"
it gives me error
The image data type cannot be sorted or compared except using IS NULL or LIKE operator

REgards
Nitin

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2006-06-08 : 00:58:17
Try to use the SUBSTRING function.
Go to Top of Page

madhivanan
Premature Yak Congratulator

22864 Posts

Posted - 2006-06-08 : 04:27:11
Note that it will return binary data

Madhivanan

Failing to plan is Planning to fail
Go to Top of Page

CSK
Constraint Violating Yak Guru

489 Posts

Posted - 2006-06-08 : 06:03:32
The Image datatype stores binary values as a hexa decimals

Thanks
KK
Go to Top of Page
   

- Advertisement -