473,394 Members | 1,845 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,394 software developers and data experts.

like operator

hallo
i am trying to execute a sql-queerie like this " select ID where Name like
' test [' " but i doesn't work !!!i suggest that s ms access doesn't
support no alphanumerics like " [ " . can any one help me ?

best regards
Oct 22 '06 #1
4 2096
adil wrote:
hallo
i am trying to execute a sql-queerie like this " select ID where Name like
' test [' " but i doesn't work !!!i suggest that s ms access doesn't
support no alphanumerics like " [ " . can any one help me ?

best regards

are you searching for
test [
?

The [ and ] are used to define a range in a query.

You could test for
test [
....just not with the word Like
Oct 22 '06 #2
Have you tried " select ID where Name like ' test [*' "

I believe you will find the wildcard asterisk important.

adil wrote:
>hallo
i am trying to execute a sql-queerie like this " select ID where Name like
' test [' " but i doesn't work !!!i suggest that s ms access doesn't
support no alphanumerics like " [ " . can any one help me ?

best regards
--
HTH - RuralGuy (RG for short) acXP WinXP Pro
Please post back to this forum so all may benefit.

Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/For...ccess/200610/1

Oct 22 '06 #3
"adil" <ad***********@hotmail.comwrote in
news:4q************@news.dfncis.de:
hallo
i am trying to execute a sql-queerie like this " select ID
where Name like ' test [' " but i doesn't work !!!i suggest
that s ms access doesn't support no alphanumerics like " [ " .
can any one help me ?

best regards

" select ID
where Name like ' test [' " is incomplete.
the [ wildcard must be part of a pair: []
see the help.
If you want o find 'test [' you must write
'test [[]*'

READ the help file section entitled wildcard.

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Oct 22 '06 #4
thanks ,
i have already tried " select ID where Name like ' test [*' " it 's seems
to be the right solution but it doesn't work.
but when i use this " select ID where Name like 'test [[]*' " , like it
was suggested, it works .
i know now (thanks bob) the two statements should work but the fisrt
doesn't!!!
best regards

"Bob Quintal" <rq******@sPAmpatico.caschrieb im Newsbeitrag
news:Xn**********************@66.150.105.47...
"adil" <ad***********@hotmail.comwrote in
news:4q************@news.dfncis.de:
>hallo
i am trying to execute a sql-queerie like this " select ID
where Name like ' test [' " but i doesn't work !!!i suggest
that s ms access doesn't support no alphanumerics like " [ " .
can any one help me ?

best regards

" select ID
>where Name like ' test [' " is incomplete.
the [ wildcard must be part of a pair: []
see the help.
If you want o find 'test [' you must write
'test [[]*'

READ the help file section entitled wildcard.

--
Bob Quintal

PA is y I've altered my email address.

--
Posted via a free Usenet account from http://www.teranews.com

Oct 22 '06 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

8
by: Arvid Andersson | last post by:
Hello, I need to convert a string to a number, but the string can contain +,-,* and / as well as parenthesis. For example, if I have the string "30/(6+9)" I would like a function that returned the...
0
by: Jason Heyes | last post by:
I wrote a previous post that asked whether there was a reference-counted implementation of std::vector. Apparantly there wasn't. So my next question is, is it possible to write your own shared...
5
by: Jason | last post by:
Hello. I am trying to learn how operator overloading works so I wrote a simple class to help me practice. I understand the basic opertoar overload like + - / *, but when I try to overload more...
3
by: Markus Dehmann | last post by:
I have a two different value types with which I want to do similar things: store them in the same vector, stack, etc. Also, I want an << operator for each of them. class Value{}; // this would...
9
by: Rich Herrick | last post by:
The latest version of my "Pascal-like" set class is available here: http://www.richherrick.com/software/herrick-1.0.zip Those from the old YAHOO BOOST forum might remember it from several...
2
by: Ed Brown | last post by:
I'm working on a VB.Net application that needs to do quite a bit of string pattern matching, and am having problems using the "LIKE" operator to match the same string twice in the pattern. For...
12
by: ex_ottoyuhr | last post by:
I have a situation more or less as follows, and it's causing me no end of trouble; I'd appreciate anyone's advice on the matter... Given these classes: class BedrockCitizen { ... }; class...
2
by: Piotr Sawuk | last post by:
What is wrong with the following? Why doesn't it compile? template<int f, class me, typename ValType=int> class Fm { protected: ValType v; public: me& operator+=(const me& o)...
4
by: Christian Schmidt | last post by:
Hi all, I'm trying to implement a std::vector-like wrapper for IList. The hard part seems to be operator, because it returns an unmanaged reference. Probably I have to use pin_ptr to achieve this,...
5
by: simudream | last post by:
//hi maybe helpful others can look at this code and //tell me why the class code won't behave like //intrinsic types with post and pre increment //Version: 1.00 #include <iostream> using...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.