Quantcast
Channel: SQLServerCentral » SQL Server 2014 » Development - SQL Server 2014 » Latest topics
Viewing all articles
Browse latest Browse all 3145

Looking to sort two queries by Date, Time

$
0
0
[code language="sql"]SELECT
LTRIM(RIGHT(CONVERT(varchar(6), [ie].[Invoice_Number],100),7)) AS [Invoice#]
--, FORMAT([ie].[DateTime], 'MM-dd-yyyy')       AS [Void_Date]

Viewing all articles
Browse latest Browse all 3145

Trending Articles