job_date
9/3/2013 11:45:55 PM
9/3/2013 11:47:18 PM
9/3/2013 11:49:34 PM
9/3/2013 11:51:01 PM
9/3/2013 11:54:44 PM
9/2/2013 10:11:11 AM
ASKER
select * from your_table where
job_date < dateadd(hh,-1,getdate())
In that case, please don't post in Java TA - it just wastes people's time
no i want in sql server.i want to exclude the records which are inserted in the last 1 hr.
ASKER
... job_date < dateadd(hh,-1,GETDATE())
Microsoft SQL Server 2008 is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning. Major improvements include the Always On technologies and support for unstructured data types.
TRUSTED BY
Open in new window