Counting the occurence of a string ...
- From: "DaFerg" <dave@xxxxxxxxxxx>
- Date: 27 Aug 2006 01:00:04 -0700
Hi ...
I have a weblog database where I want to count the occurences of a
table of string values that appear in all the urls viewed.
My tblWebLog as a field that contains the url ...
tblWebLog.[cs-uri-stem]
I have another table ... tblStrings ... that has a field [strSearch]
for a string value and an integer field [intViewCount] to count the
occurence of the string in tblWebLog.[cs-uri-stem]
I've been trying ...
Update tblStrings
Set [intViewCount] = (Select Count(*) From tblWebLog Where
[cs-uri-stem] Like '%_' + tblStrings.[strSearch] + '.htm%')
.... but it doesn't fly and I'm stumped. Any thoughts?
Cheers.
.
- Follow-Ups:
- Re: Counting the occurence of a string ...
- From: Roy Harvey
- Re: Counting the occurence of a string ...
- From: Erland Sommarskog
- Re: Counting the occurence of a string ...
- Prev by Date: Re: Merging two tables with selection
- Next by Date: Re: Counting the occurence of a string ...
- Previous by thread: OPENOFFICE BASE
- Next by thread: Re: Counting the occurence of a string ...
- Index(es):
Relevant Pages
|