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 2008 Forums
 Transact-SQL (2008)
 Compare Image

Author  Topic 

TyronGower
Starting Member

2 Posts

Posted - 2009-09-20 : 00:49:06
Hi,

I am storing images in the database. How can i make sure it is not in the database already?

Here is whats not working.

SELECT COUNT(ID) AS count
FROM Documents
WHERE (Image LIKE @Image)

TyronGower
Starting Member

2 Posts

Posted - 2009-09-20 : 01:18:57
Please ignore. I decided to store a hash int he database.
Go to Top of Page
   

- Advertisement -