473,385 Members | 2,029 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,385 software developers and data experts.

Teaching myself SQL and really stuck on query syntex

2
trying to query farmers list database, with a field with individual farmers numbers and want the query to just be farmers numbers beginning with
different letters of the alphabet, eg A. Keep getting error 3075 eg


SELECT *
FROM [Farmers List].[Farmers No]
WHERE [Farmers List].[Farmers No] LIKE "A*";

this gives me error 3075. I have tried

[Farmers List].[Farmers No] LIKE 'A%'

which returns no records at all. Would really love some help here.

Many thanks Viki
Sep 30 '06 #1
2 3011
CaptainD
135 100+
trying to query farmers list database, with a field with individual farmers numbers and want the query to just be farmers numbers beginning with
different letters of the alphabet, eg A. Keep getting error 3075 eg


SELECT *
FROM [Farmers List].[Farmers No]
WHERE [Farmers List].[Farmers No] LIKE "A*";

this gives me error 3075. I have tried

[Farmers List].[Farmers No] LIKE 'A%'

which returns no records at all. Would really love some help here.

Many thanks Viki
Try

Expand|Select|Wrap|Line Numbers
  1. SELECT [Farmers No] FROM [Farmers List] WHERE [Farmers No] LIKE "A*"
  2.  
Oct 1 '06 #2
viki
2
Try

Expand|Select|Wrap|Line Numbers
  1. SELECT [Farmers No] FROM [Farmers List] WHERE [Farmers No] LIKE "A*"
  2.  
Many thanks.. its working now
Oct 1 '06 #3

Sign in to post your reply or Sign up for a free account.

Similar topics

20
by: Mediocre Person | last post by:
Well, after years of teaching grade 12 students c++, I've decided to make a switch to Python. Why? * interactive mode for learning * less fussing with edit - compile - link - run - debug -...
822
by: Turamnvia Suouriviaskimatta | last post by:
I 'm following various posting in "comp.lang.ada, comp.lang.c++ , comp.realtime, comp.software-eng" groups regarding selection of a programming language of C, C++ or Ada for safety critical...
1
by: galsaba | last post by:
1. I want to have the value 01 if the number is 1 waht would be the function? 2. i think i need to use the function formatnumber. Where can I find on the web the syntex of cstr( ,...
1
by: Nikhil Patel | last post by:
Hi all, I have the following code in the asp.net page added at runtime using RegisterStartupScript. But I get an error in the browser(syntex error-no details). DisplayLookupValues is a function...
2
by: Michael Powell | last post by:
Hi, I have been teaching myself C# and ASP, i wrote a sign-in and register program to teach myself the use of SQL and databases using C# as the development language. Yesterday my little program...
24
by: Richard Aubin | last post by:
I'm really new to vb.net programming and programming in general. I would like to teach myself on how to program effectively and I have the financial and time resources to do so. Can I anyone...
10
by: Cliff | last post by:
Greetings, I have been trying to teach myself C++ over the past few weeks and have finally came across a problem I could not fix. I made a simple program that prints out a square or rectangle...
0
by: kang jia | last post by:
hi i currently would like to select my latest car models limit to latest 5 from my carModel database, however, i am not sure how to write the query? can any one help me with..( i am using Django...
17
by: R.Rafii | last post by:
Hi, I have a simple (?) question for you all experts. I have a button that performs a query on my SQL and fill a datagrid on the form The code: Dim sconn As New SqlConnection()...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.