General information
Forum:
Microsoft SQL Server
You could use the exists() fucntion
if exists(select ....)
--Begin Code
Eric
>Sergey,
>
>Thanks. I you've given me the syntax I'm looking for. To test for not found, would I do as follow?
>
>IF (@Parent_Lsonid IS NULL) or (@Parent_Rsonid IS NULL) BEGIN
> error coding here...
>
>
>Thanks.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only