Solved

Making a qery to search for words that start with the letter A

Posted on 2013-11-09
4
277 Views
Last Modified: 2013-11-09
How would I make a query to return only those records that start with the letter A?
0
Comment
Question by:daisypetals313
  • 2
4 Comments
 
LVL 11

Expert Comment

by:Gregory Miller
ID: 39635835
SELECT tblUserNames.Username FROM tblUserNames WHERE ((Left([Username],1)="M"));

Quick and dirty to find all usernames that start with "m"
0
 
LVL 120

Accepted Solution

by:
Rey Obrero (Capricorn1) earned 500 total points
ID: 39635838
another way is

select * from
TableX
where [Fieldname] like "m*"
0
 

Author Closing Comment

by:daisypetals313
ID: 39635842
Thanks.
0
 
LVL 11

Expert Comment

by:Gregory Miller
ID: 39635847
ouch
0

Featured Post

Ransomware: The New Cyber Threat & How to Stop It

This infographic explains ransomware, type of malware that blocks access to your files or your systems and holds them hostage until a ransom is paid. It also examines the different types of ransomware and explains what you can do to thwart this sinister online threat.  

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
I originally created this report in Crystal Reports 2008 where there is an option to underlay sections. I initially came across the problem in Access Reports where I was unable to run my border lines down through the entire page as I was using the P…
Familiarize people with the process of utilizing SQL Server functions from within Microsoft Access. Microsoft Access is a very powerful client/server development tool. One of the SQL Server objects that you can interact with from within Microsoft Ac…
With Microsoft Access, learn how to start a database in different ways and produce different start-up actions allowing you to use a single database to perform multiple tasks. Specify a start-up form through options: Specify an Autoexec macro: Us…

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question