Query Help
- From: Steve1445 <Steve1445@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 31 Jul 2005 18:21:02 -0700
Here is what I am trying to do.
I need to query a table like this:
SELECT PROPERTYTYPE, INDUSTRY, ORGNAME
FROM ORGANIZATION
WHERE (INDUSTRY LIKE '51%')
ORDER BY INDUSTRY
I provide the variable, in this case a range of numbers from the Industry
column starting with 51. This returns three columns of data, which two out
of three are populated. The field propertytype is most likely empty. If it is
empty I want the query to fill all the empty spots with another number I
provide. If its not empty, then I want to leave it alone.
.
- Follow-Ups:
- RE: Query Help
- From: priya.H.Gupta@lntinfotech.com
- RE: Query Help
- Prev by Date: Re: Starting SQL
- Next by Date: Maximum Length Issue
- Previous by thread: Starting SQL
- Next by thread: RE: Query Help
- Index(es):
Relevant Pages
|
|