Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1.   Become a Supporter    ::   Make a Contribution   
    Target (Recurring Monthly): $200 :: Achieved: $98

what is the purpose of the 'wildcard' in data base queries

Discussion in 'Information Technology' started by Boyo, Jul 28, 2006.

  1. Boyo

    Boyo
    Expand Collapse
    Guest

    Hi...can anyone help?
     
  2. Loading...

    Similar Threads Forum Date
    Sikhism The Purpose of Life Sikh Sikhi Sikhism Oct 15, 2015
    What is the purpose of our life... Sikh Youth Aug 9, 2014
    Is Fasting For Social Or Political Purposes Allowed in Sikhi? Sikh Sikhi Sikhism Dec 5, 2013
    FAQs for Students What should be my purpose of life? Questions and Answers Nov 25, 2013
    Atheism Atheism a Religion? Government Says Yes for Tax Purposes Interfaith Dialogues Aug 23, 2013

  3. Rick Brandt

    Rick Brandt
    Expand Collapse
    Guest

    "Boyo" <Boyo@discussions.microsoft.com> wrote in message
    news:A8F99C95-FCAF-43E1-B9B4-DACD941562AB@microsoft.com...
    > Hi...can anyone help?


    Wildcard * represents "any number of characters"
    Wildcard ? represents "any single character"

    If I want all records with "Bob" in the [FirstName] field I use...
    WHERE [FirstName] = "Bob"

    If I want all records that start with the letter "B" in the [FirstName] field I
    use...
    WHERE [FirstName] Like "B*"

    If I want all records that start with the letter "B" in the [FirstName] followed
    by any two characters followed by a "D" and then anything afterwards field I
    use...
    WHERE [FirstName] Like "B??D*"

    In other database systems the * would be replaced by % and the ? would be
    replaced by _.

    --
    Rick Brandt, Microsoft Access MVP
    Email (as appropriate) to...
    RBrandt at Hunter dot com
     
  4. Douglas J Steele

    Douglas J Steele
    Expand Collapse
    Guest

    "Rick Brandt" <rickbrandt2@hotmail.com> wrote in message
    news:m8%7g.3047$fb2.2059@newssvr27.news.prodigy.net...
    >
    > In other database systems the * would be replaced by % and the ? would be
    > replaced by _.


    That may be a little misleading. If you're using ADO, you still use %
    instead of *, and _ instead of ?, even if you're using Access as the client.

    --
    Doug Steele, Microsoft Access MVP
    http://I.Am/DougSteele
    (no e-mails, please!)
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page