Goran Bibic

Goran Bibic

  • 709
  • 2.5k
  • 103.8k

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)