Re: SQL syntax
- From: argusy <argusy@xxxxxxxxxxxxxxx>
- Date: Tue, 05 May 2009 20:04:18 +0930
Ralph wrote:
I agree with Ralph totally on that.I was able to get it to work late last night with:
"WHERE 'tblOpenEvents.Bit_No' = ' Bit ' AND ' tblOpenEvents.Bank_No ' =
' Bank ' "
Thanks for your time.
I wish I could find detailed info on SQL syntax and standards, I've
struggled with these forever.
Google using the search string "sql reference tutorial" and take your pick.
You will need a good book. Actually you will likely end up with at least
three - one a good generally introductionary guide to "Learning SQL", a
"Reference Manual", and then one specifically for the RDBMS you are using.
What is seldom appreciated by programmers when they first encounter SQL is
that it is a "programming language" in itself - declarative not procedural -
but a language none the less. It has clauses (blocks) and conditionals to
produce a result. Just like any programming language it takes time to learn.
Save yourself endless grief and take some time to learn it.
-ralph
Your above "WHERE..." .
That would work without producing an error, but do you get any records returned?
Graham
.
- Follow-Ups:
- Re: SQL syntax
- From: Edward
- Re: SQL syntax
- References:
- SQL syntax
- From: Edward
- Re: SQL syntax
- From: Jason Keats
- Re: SQL syntax
- From: Edward
- Re: SQL syntax
- From: argusy
- Re: SQL syntax
- From: Edward
- Re: SQL syntax
- From: argusy
- Re: SQL syntax
- From: Edward
- Re: SQL syntax
- From: argusy
- Re: SQL syntax
- From: Edward
- Re: SQL syntax
- From: Ralph
- SQL syntax
- Prev by Date: Re: SQL syntax
- Next by Date: Re: SQL syntax
- Previous by thread: Re: SQL syntax
- Next by thread: Re: SQL syntax
- Index(es):
Relevant Pages
|