I am trying to create a select query which will split a column values into two and display it in two separate columns. I want to do this without a function.
Example:- I have a value in COL1 as “Rating”:-Justification”. Now I
want to split the column value and display Rating and Justification in
different columns.
Thanks for your responses. Let me clear any doubts if there are any. I dont want to user a user defined function. The rating column contains values given below plus the separator and justification. (Agree, Disagree, Strongly Disagree) If the column contails Strongly Disagree then that column will contain separator(:-) and justification else not. AND I am usinf sybase.
Assuming that without a function you mean a user defined function and doing it from memory, it could be something like this: