Google Mail Calendar Documents Reader Web more »
Recently Visited Groups | Help | Sign in
Google Groups Home
like in mysql
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  12 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Follow-up To:
Add Cc | Add Follow-up to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers that you hear
 
monkeys paw  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 20:52
Newsgroups: comp.databases.mysql
From: monkeys paw <u...@example.net>
Date: Sat, 07 Nov 2009 15:52:31 -0500
Local: Sat 7 Nov 2009 20:52
Subject: like in mysql
Assuming there are records in the bills tables where
the id field is "AK2009H45", why doesn't the following
statement work?

  select * from bills where id like "AK*45";


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jerry Stuckle  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 20:56
Newsgroups: comp.databases.mysql
From: Jerry Stuckle <jstuck...@attglobal.net>
Date: Sat, 07 Nov 2009 15:56:49 -0500
Local: Sat 7 Nov 2009 20:56
Subject: Re: like in mysql

monkeys paw wrote:
> Assuming there are records in the bills tables where
> the id field is "AK2009H45", why doesn't the following
> statement work?

>  select * from bills where id like "AK*45";

Because asterisk is not a wildcard in SQL.

Check the documentation for the LIKE clause.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
monkeys paw  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 22:49
Newsgroups: comp.databases.mysql
From: monkeys paw <u...@example.net>
Date: Sat, 07 Nov 2009 17:49:17 -0500
Local: Sat 7 Nov 2009 22:49
Subject: Re: like in mysql

Jerry Stuckle wrote:
> monkeys paw wrote:
>> Assuming there are records in the bills tables where
>> the id field is "AK2009H45", why doesn't the following
>> statement work?

>>  select * from bills where id like "AK*45";

> Because asterisk is not a wildcard in SQL.

> Check the documentation for the LIKE clause.

Ah yes, thanks. So '%' is wildcard now.

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Captain Paralytic  
View profile   Translate to Translated (View Original)
 More options 7 Nov, 23:23
Newsgroups: comp.databases.mysql
From: Captain Paralytic <paul_laut...@yahoo.com>
Date: Sat, 7 Nov 2009 15:23:16 -0800 (PST)
Local: Sat 7 Nov 2009 23:23
Subject: Re: like in mysql
On 7 Nov, 22:49, monkeys paw <u...@example.net> wrote:

> Jerry Stuckle wrote:
> > monkeys paw wrote:
> >> Assuming there are records in the bills tables where
> >> the id field is "AK2009H45", why doesn't the following
> >> statement work?

> >>  select * from bills where id like "AK*45";

> > Because asterisk is not a wildcard in SQL.

> > Check the documentation for the LIKE clause.

> Ah yes, thanks. So '%' is wildcard now.

"now"? It has been for as long as I have coded SQL!

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jerry Stuckle  
View profile   Translate to Translated (View Original)
 More options 8 Nov, 00:05
Newsgroups: comp.databases.mysql
From: Jerry Stuckle <jstuck...@attglobal.net>
Date: Sat, 07 Nov 2009 19:05:14 -0500
Local: Sun 8 Nov 2009 00:05
Subject: Re: like in mysql

Captain Paralytic wrote:
> On 7 Nov, 22:49, monkeys paw <u...@example.net> wrote:
>> Jerry Stuckle wrote:
>>> monkeys paw wrote:
>>>> Assuming there are records in the bills tables where
>>>> the id field is "AK2009H45", why doesn't the following
>>>> statement work?
>>>>  select * from bills where id like "AK*45";
>>> Because asterisk is not a wildcard in SQL.
>>> Check the documentation for the LIKE clause.
>> Ah yes, thanks. So '%' is wildcard now.

> "now"? It has been for as long as I have coded SQL!

At least since the late 70's :)

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
monkeys paw  
View profile   Translate to Translated (View Original)
 More options 8 Nov, 07:14
Newsgroups: comp.databases.mysql
From: monkeys paw <u...@example.net>
Date: Sun, 08 Nov 2009 02:14:31 -0500
Local: Sun 8 Nov 2009 07:14
Subject: Re: like in mysql

yea, i've been using '*' since the late 80's, i've been
diverted by the multiplicity of languages and syntaxes
over the years

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Robert Hairgrove  
View profile   Translate to Translated (View Original)
 More options 8 Nov, 10:19
Newsgroups: comp.databases.mysql
From: Robert Hairgrove <rhairgr...@bigfoot.com>
Date: Sun, 08 Nov 2009 11:19:37 +0100
Local: Sun 8 Nov 2009 10:19
Subject: Re: like in mysql

monkeys paw wrote:
> yea, i've been using '*' since the late 80's, i've been
> diverted by the multiplicity of languages and syntaxes
> over the years

AFAIK, the '*' wildcard with LIKE is only valid in MS-Access "SQL"
(which gives an error with '%' ...duh...).

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Captain Paralytic  
View profile   Translate to Translated (View Original)
 More options 8 Nov, 12:10
Newsgroups: comp.databases.mysql
From: Captain Paralytic <paul_laut...@yahoo.com>
Date: Sun, 8 Nov 2009 04:10:06 -0800 (PST)
Local: Sun 8 Nov 2009 12:10
Subject: Re: like in mysql
On 8 Nov, 00:05, Jerry Stuckle <jstuck...@attglobal.net> wrote:

Which is before I started coding SQL. I'm only (relatively) young!

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jerry Stuckle  
View profile   Translate to Translated (View Original)
 More options 8 Nov, 12:38
Newsgroups: comp.databases.mysql
From: Jerry Stuckle <jstuck...@attglobal.net>
Date: Sun, 08 Nov 2009 07:38:04 -0500
Local: Sun 8 Nov 2009 12:38
Subject: Re: like in mysql

With what - MS SQL?  Not in any ANSI standard SQL.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
monkeys paw  
View profile   Translate to Translated (View Original)
 More options 9 Nov, 21:13
Newsgroups: comp.databases.mysql
From: monkeys paw <u...@example.net>
Date: Mon, 09 Nov 2009 16:13:01 -0500
Local: Mon 9 Nov 2009 21:13
Subject: Re: like in mysql

'*' is Informix, i hadn't realized how far the drift was
from ANSI

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jerry Stuckle  
View profile   Translate to Translated (View Original)
 More options 9 Nov, 21:30
Newsgroups: comp.databases.mysql
From: Jerry Stuckle <jstuck...@attglobal.net>
Date: Mon, 09 Nov 2009 16:30:37 -0500
Local: Mon 9 Nov 2009 21:30
Subject: Re: like in mysql

Ah, yes, good old Informix.  I haven't used it in years; almost
completely forgot about it!

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstuck...@attglobal.net
==================


    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
The Natural Philosopher  
View profile   Translate to Translated (View Original)
 More options 10 Nov, 11:46
Newsgroups: comp.databases.mysql
From: The Natural Philosopher <t...@invalid.invalid>
Date: Tue, 10 Nov 2009 11:46:56 +0000
Local: Tues 10 Nov 2009 11:46
Subject: Re: like in mysql

I remember % in informix..odd that. Maybe my memory is faulty..

    Reply    Reply to author    Forward  
You must Sign in before you can post messages.
To post a message, you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »

Create a group - Google Groups - Google Home - Terms of Service - Privacy Policy
©2009 Google