Exist Return Values
- From: Travis <Travis@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 24 Jul 2005 22:00:01 -0700
Hi ,
I like to use a variable to store the return values (True / False) of the
exists statement. How can I do that ? I unable to do that from my query show
below
declare @bln
set @bnl = Select Distinct Cust_Id,Cust_Name From Temp_Customer
Where Not Exists
(Select Cust_Id,Cust_Name From MyDb.dbo.Customer
Where MyDb.dbo.Customer .Cust_Id = Temp_Customer.Cust_Id)
Please Help ..
--
Travis Tan
.
- Follow-Ups:
- Re: Exist Return Values
- From: Hugo Kornelis
- Re: Exist Return Values
- Prev by Date: Re: Using variables in Select Statements
- Next by Date: Re: Exist Return Values
- Previous by thread: Using variables in Select Statements
- Next by thread: Re: Exist Return Values
- Index(es):
Relevant Pages
|
|