Goran Bibic

Goran Bibic

  • 475
  • 2.9k
  • 201k

Year instead text tu put datetime.now.year C#

Jul 9 2020 3:19 PM
Need to instead 2020 put DateTime.Now.Year
 
My part query:
 
'RN '+ CAST(FORMAT(@maxRB,'000') AS VARCHAR(MAX)) + ' 2020 ' + CAST(@maxRN AS VARCHAR(MAX))

Answers (2)