Here is the code that will not go back past 8:50 am
select tag_ref_no, in_out, to_char(c_dt,'mm/dd/yyyy hh:mi:ss'), transaction_no
from api_Scale
where c_dt between trunc(sysdate) +(6/24) -1 and (trunc(sysdate) +(6/24))
Here is the output from
select tag_ref_no, to_char(c_dt,'MM/DD/YYYY, hh:mm:ss') from api_Scale
where c_dt >= sysdate -2
http://www.box.net/shared/ybzcevpltv
The server only serves information in EST since it was built, we do not have any offices that require any other Time Zones. I hope I am answering your question. I am curious because I can go forward but not backwards. If I put in any value 1/24,2/24,3/24 etc, I always get 8:50, if I go...
select tag_ref_no, in_out, to_char(c_dt,'mm/dd/yyyy hh:mi:ss'), transaction_no
from api_Scale
where c_dt between trunc(sysdate) +(6/24) -1 and (trunc(sysdate) +(6/24))
I can not figure out how to edit the above post, I apologize. I made the following changes:
select tag_ref_no, in_out, to_char(c_dt,'mm/dd/yyyy hh24:mi'), transaction_no
from api_Scale
where c_dt between trunc(sysdate) +(6/24) -1 and (trunc(sysdate) +(6/24))
and I got all the records from...
Thank you so much for the quick answer! The only problem I have now is the query does not return any rows. I checked the table and there is date in there from 6am this morning to 6am yesterday morning. Is there something else I am not doing correctly?
I want to be able to run a query everyday beginning at 6am this morning to 6am yesterday morning. The query will always be run after 6am manually via Excel. We are running a 9i Oracle database. I have been unable to get the syntax correct. Here is a description of the table.
Name Null? Type...
As far as I can tell, it fixes itself. I beleive a reboot will also cure it but I am never there exactly when the problem is happening and I have to rely on office staff.
Here is my problem. I have a 506e PIX I manage for a customer. Sometimes in the morning the internal network will not go out to the internet for email, http, etc. However at the same time there is a VPN tunnel that comes in from the internet that does not have a problem connecting. I can...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.