select SUBSTRING (convert(varchar,columnName,103),7,4) ,
SUBSTRING (convert(varchar,columnName,100),1,6) ,
SUBSTRING (convert(varchar,columnName,100),5,2) from tablename
can any one explain me this query
Know the answer? Post it. Somebody with the same question will find it here.
Answer a question in the forums and earn +20 SHARP for every answer.
See unanswered questions
DevSocialUpcoming · 3rd editionAI Agents ConferenceDec 1–3, 2026Live onlineFree to attend5days leftRegister
VulpesRank #55 · 29.2K reputationPosted Jul 24, 2014, 12:11 PM EDT
2 characters from the 5th character onwards are then extracted i.e. the day.