Hai guys,
I have a table with a column named Is_Deleted and my query is
select Is_Deleted from Stock where Stock.Mat_Id=1
Now i have to write a condition to check whether all values are 1 else i have to terminate my loop.. How it can be done? any suggestions...