My Mistake. I have put a "-". Please try below
SELECT replace(convert(VARCHAR, getdate(), 111) , '/', '')
Please click "Mark as Answer" if the post solves your problem - Thanks
No comments:
Post a Comment