Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Where clause
Message
From
13/11/2002 13:52:50
 
 
To
13/11/2002 13:05:49
General information
Forum:
Microsoft SQL Server
Category:
SQL syntax
Title:
Miscellaneous
Thread ID:
00722242
Message ID:
00722272
Views:
10
What is type of record FieldStatus



>Hi All
>
>I cannot explain my self-regarding the following query.
>
>I have 3 tables and table c has one column FieldStatus and its value = 100.
>
>But in where clause of the query I put FieldStatus = 0 even then it is showing in the result.
>
>values in table tbl_FieldReviewStatus c
>
>originid appid fieldstatus
>-------- ----------- -----------
>01 100008 100
>
>select c.originid,c.appid,a.originid,a.appid, c.FieldStatus from tbl_application a, tbl_yellowsheet b,tbl_FieldReviewStatus c
>where a.originid=b.originid and a.appid=b.appid and a.originid*=c.originid and a.appid*=c.appid and b.SSStampedDate is not null
>and a.requiredfr=1 and a.ProjectCanceled is null and c.FieldStatus=0
> order by a.originid ,a.appid
>
>result I got from above query is
>
>originid appid originid appid FieldStatus
>-------- ----------- -------- ----------- -----------
>NULL NULL 01 100008 NULL
>
>
>how come this record is showing in this query.
>
>thanks
>...ashish
Atenciosamente,
Welington Lourenço Melo de Paula BH / MG
welingtonl@yahoo.com.br
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform