Hi, All.
I'm using SQL server and would like to know that if a record contain a string with few delimiter, For instance:
FieldA FieldB
1 Sister's Friend
2 Cousin's Brother's food
If i would like to retrieve the particular FieldA by passing the FieldB value:
SELECT FieldA from TblABC WHERE FieldB = 'Sister's Friend' - I'm sure this already given an error.
Is there anything i can add so that to retrieve the FieldA value wihout changing the value of FieldB? I understand that some programmer they will add some alphabet to recognize the "'" (say "2" to replace "'"
during the insertion/updating, but my point is I wouldn't like to see the FieldB value to be "Sister2s Friend" in the database instead of remaining the original state?
Pls help. Thank you for your attention.
I'm using SQL server and would like to know that if a record contain a string with few delimiter, For instance:
FieldA FieldB
1 Sister's Friend
2 Cousin's Brother's food
If i would like to retrieve the particular FieldA by passing the FieldB value:
SELECT FieldA from TblABC WHERE FieldB = 'Sister's Friend' - I'm sure this already given an error.
Is there anything i can add so that to retrieve the FieldA value wihout changing the value of FieldB? I understand that some programmer they will add some alphabet to recognize the "'" (say "2" to replace "'"
Pls help. Thank you for your attention.