on 01-13-2017 12:54 PM
We are required to retrive order details whose creation date is less than 10 minutes from the system date. Order details are present in "ORDERS" table and "CREATIONDATE" is the field.
Please helip us with the syntax of the query.
Hi Sauvik,
I am not sure which database you are using. If you are using oracle then check below solution it should work. In Oracle we have some calculations
Using that you can write a query to get the data as given below
select {o:saporderid},{o:date} from {Order as o}
where SYSDATE + 10/1440 >= sysdate
`above code return the orders which are created before 10mins from now
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
5 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 | |
1 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.