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
Post a Comment