Thursday, 5 April 2018

how to select tomorrow dated records from SQL server.

how to select tomorrow dated records from SQL server.

Description:


In this example we explain that how to get records of Next day in SQL Server. Or SQL Query to get the Data from table which recorded Tomorrow. Or how to get Tomorrow’s inserted record in SQL Server. Or basic SQL query to select records added Next Day in SQL Server. Or get all record created upcoming next day in SQL Server. Or how to get tomorrow date data in SQL Server. Or SQL query that returns records by date tomorrow.

So here we demonstrate that how to get Next/Tomorrow date data in SQL Server. Below is the SQL query that will retrieve all the records that are created Tomorrow.
Query:

SELECT * FROM [dbo].[Order] WHERE  [Loading Date] =   dateadd(day,datediff(day,-1,GETDATE()),0)





This entry was posted in :

0 comments:

Post a Comment