Could you please suggest an approach to get the logic for below
Note: This logic needs to be added for existing JOIN query, which I have finished already.
Question: Table name: T_FULL_DETAILS, Database: SQL Server
The expectation is
select DESCRIPTION from T_FULL_DETAILS WHERE SEQ_ID=3
then it should return "Hellooo.. Good morning Good Afternoon Good evenin"
select DESCRIPTION from T_FULL_DETAILS WHERE SEQ_ID=5
then it should return "This is last record Five "
So here the TEXT_IDX
doesn't have any fixed limit. Could you check and help me to write the relevant query in SQL Server?
Reference data is below