Wrox Programmer Forums
|
MySQL General discussion about the MySQL database.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the MySQL section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old July 14th, 2007, 03:52 AM
Registered User
 
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Alexander_5 Send a message via MSN to Alexander_5
Default Like task

Hi Every One

I am web developer.
I am new in this forum.
Can anyone help me to solve this task
I want write sql query which should select rows from db which contains
some field which value contains only five "a" symbol for e.g.
Using only '%' and '_' in Like command without any regular expression

best Alik

:)

Alik
 
Old July 18th, 2007, 07:31 AM
Friend of Wrox
 
Join Date: Jun 2003
Posts: 2,480
Thanks: 0
Thanked 1 Time in 1 Post
Default

Is this what you are looking for?
Code:
Select column_name from tablename where column_name like 'aaaaa%'
_________________________
- Vijay G
Strive for Perfection
 
Old July 19th, 2007, 07:12 AM
Registered User
 
Join Date: Jul 2007
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Alexander_5 Send a message via MSN to Alexander_5
Default

[quote]Originally posted by happygv
 Is this what you are looking for?
Code:
Select column_name from tablename where column_name like 'aaaaa%'


No i mean this kind of words "addddabbbbacccakkk"


Alik





Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add task in Scheduled Task programatically amitjoshipune C# 2 July 31st, 2008 05:42 AM
Task Management aspdeveloper_ms1985 ASP.NET 2.0 Basics 2 June 13th, 2007 06:13 PM
Execute Task from ActiveX Script Task PorcupineRabbit SQL Server DTS 1 January 10th, 2006 12:37 PM
Task Name hortoristic SQL Server DTS 4 June 21st, 2005 01:52 AM
Task Name hortoristic SQL Server 2000 0 January 12th, 2004 07:12 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.