TECHNOLOGIES
FORUMS
JOBS
BOOKS
EVENTS
INTERVIEWS
Live
MORE
LEARN
Training
CAREER
MEMBERS
VIDEOS
NEWS
BLOGS
Sign Up
Login
No unread comment.
View All Comments
No unread message.
View All Messages
No unread notification.
View All Notifications
Answers
Post
An Article
A Blog
A News
A Video
An EBook
An Interview Question
Ask Question
Forums
Monthly Leaders
Forum guidelines
Narasiman nar
NA
64
22.2k
in sql query right index is not working
May 23 2018 1:18 AM
i treid your as follows
SELECT farm_detailsdata
, RIGHT ([farm_detailsdata] , CHARINDEX (' ' , REVERSE([farm_detailsdata]), 0)-0) as name
FROM dbo.tbl_farmer_farmdetails_mozambique
farmdetaildata Name
{"Produto preferido para produção":"Algodão","Plantou algodão no ano passado?":"Sim","Irá":"Não"}
When i run the above query i get output as follows
Name
Nao"}
i want output as follows in each column
Col1 Col2 Col3 Col4 Col5 Col6
Produto preferido para produção Algodão Plantou algodão no ano passado SIM Ira Nao
farmdetaildata
But i want the full text as metnioned above
in my above sql query what changes i have to made to get full text. i think Right keyword should not used.
which is the other way to use to get the full text.
Reply
Answers (
1
)
How the find and assignment field with DataView type ?
how to Find this RowIndex Value - ds.Tables[0].Rows[rowindex