You are here: Re: Update table using partial word match « MsSQL Server « IT news, forums, messages
Re: Update table using partial word match

Posted by SQL Learner on 01/22/07 18:17

Thanks again, Alex.

I am having problem put the SQL in Access. Could you tell me the logic
of the select statement?

(SELECT MIN(Value) FROM TblWord_Number WHERE Street LIKE '%'+Word+'%'
AND Street LIKE CAST(Number AS VARCHAR(50))+'%')

Why are we using Min(Value) and what does "CAST(Number AS
VARCHAR(50))+'%')" mean and do?

I got your partial matching SQL code as follow:

========================
SELECT t.*
FROM tblStreet AS t
WHERE (((Exists (SELECT 1 FROM tblWord w WHERE t.Street LIKE
'*'+Word+'*'))<>False));
========================

I seems a little different from your new one.

This seems like a difficult query. Please help.

- Grasshopper -

 

Navigation:

[Reply to this message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация