|
-
Aug 22nd, 2002, 08:54 AM
#1
Thread Starter
Frenzied Member
SQL statement
Hi,
I think my brain is dead today.
Select * From tblClients Where LastName LIKE 'and*'
eof is true although I know there are clients with lastnames beginning with and.
Why?
-
Aug 22nd, 2002, 08:56 AM
#2
Lively Member
Are you using SQL Server if so i think the wild card charactor should be a %
-
Aug 22nd, 2002, 08:57 AM
#3
Thread Starter
Frenzied Member
-
Aug 22nd, 2002, 08:59 AM
#4
Hyperactive Member
Try using % not * I think it will then work.
-
Aug 22nd, 2002, 08:59 AM
#5
-
Aug 22nd, 2002, 09:00 AM
#6
worked for me.. im using access 2k though.. wouldn't imagine it changed though
-
Aug 22nd, 2002, 09:03 AM
#7
Lively Member
Hiya
I've just tried an old VB client ive got for a Access 97 db and
it finds a user when i use % but fails when i use *
go figure?
-
Aug 22nd, 2002, 09:28 AM
#8
Thread Starter
Frenzied Member
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|