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

How to only select 11pm to 7am in DateTime (many months of data) DDM&DDL included :)

$
0
0
Looking to run a report for a few years but only between 11pm and 7am.

[code language="sql"]CREATE TABLE mytable(
 i_ticket_id  INTEGER NOT NULL PRIMARY KEY
,c_grand_total MONEY(6,2)

Viewing all articles
Browse latest Browse all 3145

Trending Articles