-----------------------------------------------------------

New Message on BDOTNET

-----------------------------------------------------------
From: BalajiKrishnan
Message 6 in Discussion

Raja,   My scenario is different.....   I will be more clear now....   Tabel_X      
FIELD_1  FIELD_2   XYZ  32,45,56,67   MNX  33,22,45,67 
  
These are the two rows in the table_x 
Now i need to insert a third row...the value are ('MNY', '32,56,67,45') 
So before inserting into the table i need to check whether this record exist or 
not.... 
so conisder the first row field_2 value...it is 32,45,56,67 
now i am inserting a row with a value '32,56,67,45'  - new row and the first row 
values are same but the numbers are interchanged. 
Now when i write the select statment like this 
SELECT * FROM TABLE_X WHERE FIELD_2 = '32,56,67,45' 
the RESULT WILL BE NO RECORDS FOUND... 
But i need the result should say the record is found.... 
therefore the combination of values are allowed........................... 
Hope i am clear now... 
  
Balaji 
 

-----------------------------------------------------------

To stop getting this e-mail, or change how often it arrives, go to your E-mail 
Settings.
http://groups.msn.com/bdotnet/_emailsettings.msnw

Need help? If you've forgotten your password, please go to Passport Member Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help

For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact

If you do not want to receive future e-mail from this MSN group, or if you received 
this message by mistake, please click the "Remove" link below. On the pre-addressed 
e-mail message that opens, simply click "Send". Your e-mail address will be deleted 
from this group's mailing list.
mailto:[EMAIL PROTECTED]

Reply via email to