Avatar of RadhaKrishnaKiJaya
RadhaKrishnaKiJaya

asked on 

Need help with a query

Hi Experts,

I want to get the date in  'mmddyyyy'  format  the CURRENT_TIMESTAMP . I have an insert statement. The date '08042016' should come from the CURRENT_TIMESTAMP .

Thanks in advance.

INSERT INTO LOGINDETAILS
            ( UserID,              
            StdTimeIn,
                TodaysDate    
          )
     VALUES
                ( 1,                                    
                  CURRENT_TIMESTAMP,
                  '08042016'                        
          )
Microsoft SQL ServerMicrosoft AccessMySQL ServerC#

Avatar of undefined
Last Comment
RadhaKrishnaKiJaya

8/22/2022 - Mon