Waht is the output of below ?
DECLARE @Date DATETIME = '2015/07/01 10:23AM'
SELECT FORMAT(@Date, 'tt', 'en-US')

 Posted by Bandi on 6/30/2015 | Category: Sql Server Interview questions | Views: 2326 | Points: 40
Select from following answers:
  1. 10:23AM
  2. AM
  3. 10:23:00AM
  4. 10:23:00.000AM
  5. All Above

Show Correct Answer


Asked In: Many Interviews | Alert Moderator 

Comments or Responses

Login to post response