dbTalk Databases Forums  

selec using first letter

mailing.database.mysql mailing.database.mysql


Discuss selec using first letter in the mailing.database.mysql forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
W. Enserink
 
Posts: n/a

Default selec using first letter - 07-23-2003 , 04:23 AM






hi all,


i have this table filled with names.
Does anybody know how I can write a select statement which selects all names
starting with a certain letter in the alphabet or a strane sign like
[0...9 )(*&^%$#@!_+{}][\|?/<>,.] ???

any tips or help are most welcome!

Regards
Wilbert Enserink
--------------
mysql,select

-------------------------
Pas de Deux
Van Mierisstraat 25
2526 NM Den Haag
tel 070 4450855
fax 070 4450852
http://www.pdd.nl
info (AT) pdd (DOT) nl
-------------------------

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=m...ie.nctu.edu.tw


Reply With Quote
  #2  
Old   
Michael Satterwhite
 
Posts: n/a

Default Re: selec using first letter - 07-23-2003 , 05:42 AM






-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Wednesday 23 July 2003 03:59, W. Enserink wrote:
Quote:
hi all,


i have this table filled with names.
Does anybody know how I can write a select statement which selects all
names starting with a certain letter in the alphabet or a strane sign like
[0...9 )(*&^%$#@!_+{}][\|?/<>,.] ???

any tips or help are most welcome!
Select * from <tblname> where <fldname> like 'A%';

This would select all records where <fldname> starts with "A".

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2-rc1-SuSE (GNU/Linux)

iD8DBQE/HmZ1jeziQOokQnARAi+iAKCW5OkKSQ/5gG3UkeWNzfcsmuy3IwCgnd6d
Mh6hxN49jKvWvp4y2BvWi5A=
=1q3P
-----END PGP SIGNATURE-----


--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe: http://lists.mysql.com/mysql?unsub=m...ie.nctu.edu.tw



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2013, Jelsoft Enterprises Ltd.