tsql - Data conversion for Max() in sql -


Here's my query that does not refer to variable results resulting in that I'm not sure.

  Announcements @ performance, @MaxPediodPaid int, @MaxDate daytime, @ Diaelarfebar varchar (11), @QuoteDate datetime SET @ DealRef = '140200100538136' SET @QuoteDate = GETDATE () SELECT @MaxPediodPaid = Max (period), @ Maksdet = MAX (Pedet) Pementhastik Dblyuecii Dilfrif = @ Delarf; SELECT @MaxPediodPaid, @MaxDate;  

I declare variable @MaxPediodPaid and @MaxDate to int and datetime

P>


Comments

Popular posts from this blog

sql - Find last match with latest inserted name in table -

c# - XML serialize base class without knowing derived class -

Send innerHTML text in URL in JSP -