DECLARE @CurrentDate DATETIME = '2012/09/23 10:23PM';
SELECT FORMAT(@CurrentDate, 'tt', 'en-US');
what is the output of above statement?

 Posted by Bandi on 11/30/2013 | Category: Sql Server Interview questions | Views: 2242 | Points: 40
Select from following answers:
  1. 10:23PM
  2. PM
  3. 22:23
  4. 10:23:00PM
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response