Hi
Sir, I need your help to cast a SQL SP . Please take a look to the column: AO505. BKDATE.
I want to display this as dd-mm-yyyy.
Please help me
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
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 16, 2014, 11:41 PM EDT
KalaiRank #8,005 · 230 reputationPosted Mar 16, 2014, 11:44 PM EDT
select CONVERT(VARCHAR(20),A0505.BKDATE,110) from A0505
Nathan R10 reputationPosted Mar 16, 2014, 11:53 PM EDT
Thank you for your co operation. Here the complete query:-
SELECT A0505.PNAME, A0052.FNAME AS DOCTOR, A0505.SLOTE as TIME,(CONVERT(VARCHAR(20),A0505.BKDATE,110)),A0505.PHONE FROM A0505
INNER JOIN A0052 ON A0505.EMPCD=A0052.EMPCD WHERE A0505.SMSTATUS=0 AND A0052.ISACTIVE = 'y'
Lakshmanan Sethu SankaranarayanRank #124 · 17.7K reputationPosted Mar 17, 2014, 12:12 AM EDT