IPad 1 - safari pulls days old pages when going between pages and sometimes drops out
Does anyone have a problem with Safari whereby, you go from one we page to another and when going back to a previous page, Safari shows a days old page? In addition, Safari will drop out to the 'desktop' at times for apparent reason. Doesn't matter if the we page is a simple page or one with video. This all started with Apple pushing their latest iOS. Apple wants to charge $30 for you to ask about this problem but it's their iOS that pushed on their product. Like I stated, it worked fine before their latest iOS push.
Jesus H Christ this is still driving me up the wall, i can't believe everyone is just accepting this. Isn't there a way to fix this? Can we at least have an option to turn this OFF?? Reloading a page everytime i go back is such a waste of time/bandwidth/my nerves when i am in the middle of a page
Similar Messages
-
Answers When I click on all pages it is very slow and sometimes times out
we have a report that returns 127,000 rows quickly and displays 25 at a time. i can click on next page and it is quick to display the next page but if I click on all pages it takes forever or times out. Any Suggestions? Thanks, Rodney
These reports are coming from our old system and they want to recreate them.if I had a penny for every time I'd heard that , I'd probably have, well, at least five pence now ;-)
but seriously, this is the classic problem of using a tool for what it's not.
google around a few of the BI blogs, I've read several articles recently along the lines of "top 5 reasons BI systems fail; #1: recreating reports from an old system with a new tool like-for-like". it's a common problem, and a serious one if you want to deliver a top-notch system that's actually going to be useful and value for money.
do you have any clout to work with the users to understand what they need out of the system and demonstrate how it could be better for them to do it a different way?
failing that, dump IE and go FireFox or Chrome. We have a similar browser issue here and in testing I've done IE blows (esp IE7; IE6 and IE8 not so bad) when reports get big.
Also if they're using nav links in each cell, cut those out, that might help the render time. -
I use Safari as my browser. When on a site and I click on a PDF file I get a black screen and a notice that "Adobe Reader blocked for this website". However, this does not happen if I use Firefox.
Back up all data before making any changes. Please take each of the following steps until the problem is resolved.
Step 1
If Adobe Reader or Acrobat is installed, and the problem is just that you can't print PDF's displayed in Safari, you may be able to print by moving the cursor to the the bottom edge of the page, somewhere near the middle. A black toolbar may appear under the cursor. Click the printer icon.
Step 2
There should be a setting in its preferences of the Adobe application such as Display PDF in Browser. I don't use those applications myself, so I can't be more precise. Deselect that setting, if it's selected.
Step 3
If you get a message such as ""Adobe Reader blocked for this website," then from the Safari menu bar, select
Safari ▹ Preferences... ▹ Security
and check the box marked
Allow Plug-ins
Then click
Manage Website Settings...
and make any required changes to the security settings for the Adobe PDF plugin.
Step 4
Triple-click anywhere in the line of text below on this page to select it, the copy the selected text to the Clipboard by pressing the key combination command-C:
/Library/Internet Plug-ins
In the Finder, select
Go ▹ Go to Folder
from the menu bar, or press the key combination shift-command-G. Paste into the text box that opens (command-V), then press return.
From the folder that opens, move to the Trash any items that have "Adobe" or “PDF” in the name. You may be prompted for your login password. Then quit and relaunch Safari.
Step 5
The "Silverlight" web plugin distributed by Microsoft can interfere with PDF display in Safari, so you may need to remove it, if it's present. The same goes for a plugin called "iGetter," and perhaps others — I don't have a complete list. Don't remove Silverlight if you use the "Netflix" video-streaming service.
Step 6
Do as in Step 3 with this line:
~/Library/Internet Plug-ins
If you don’t like the results of this procedure, restore the items from the backup you made before you started. Relaunch Safari. -
My one day old MacBook pro just turned off and it won't come back on either through mains or battery power it's as if the unit is completely dead. Even with the mains plugged in there is no green or orange light to say its charging or full charged. The battery was fully charged anyway seconds before the screen went off.
When you say no green or orange light are you refering to the little led on the magsafe connector? That could mean either the charger/cable are bad or the circuitry in the MBP is faulty. Since this is a brand new MBP best bet is to take it back to an Apple Retail store and have the genius bar staff take a look. They can determine if it needs to be reparired or replaced.
-
I am having trouble sending text messages. They aren't always going through. And sometimes I'm not receiving text messages. I also have voicemails that I didn't receive until late at night that were left early in the day. I need to resolve this issue ASAP!
julie@remax,
I know that this would concern me just the same and we want to make sure that your device is connected and receiving these notifications when available. How long have you been having this issue? Are you receiving a specific error message when sending a message? Are you aware if this happens in one location specifically or everywhere you go? Does the issue with messaging occur with all numbers? Share some details, so that we may assist.
AdamG_VZW
Follow us on Twitter @VZWSupport -
How do I post to a new page when the 1st page is full?
How do you create a bul. board where the posts go on a 2nd
page when the first page is filled ...and 3rd page when 2nd is
full, etc ... Maybe I can stick a wordcount in a while loop before
the CFOutPUT Tag? Is there such a variable that holds a word count
or better still, a line count?
thnx a billion, please, please help!Check out this code-Use a cfc which will be the same for you
and then change my query for yours in the .cfm HTHs:
functions.cfc:
<cfcomponent output="yes">
<!--- Next x record function --->
<cffunction name="nextXpage" access="public"
returntype="struct" hint="Next x page function" output="No">
<cfargument name="recordcount" required="Yes" default="0"
type="numeric" hint="The total numbers of records / values">
<cfargument name="page" required="Yes" type="numeric"
default="0" hint="The page number that you are currently on. (for
example URL.page)">
<cfargument name="maxrows" required="No" type="numeric"
default="10" hint="The maximum records / values to be displayed per
page">
<!--- Define the return structure --->
<cfset var nextXpage = structNew()>
<!--- Calculate how much page are available according to
the maxrows displayed --->
<cfset nextXpage.pagecount =
CEILING(arguments.recordcount / arguments.maxrows)>
<!--- Set the maximum rows to be displayed --->
<cfset nextXpage.maxrows = arguments.maxrows>
<!--- Set the currentpage --->
<cfset nextXpage.currentpage = arguments.page>
<!--- Set the currentpage --->
<cfset nextXpage.recordcount = arguments.recordcount>
<!--- Set the startrow value --->
<cfif arguments.page eq 1>
<cfset nextXpage.startrow = 1>
<cfelse>
<cfset nextXpage.startrow = (arguments.page *
arguments.maxrows) - (arguments.maxrows -1)>
</cfif>
<!--- Define the previous and next values. --->
<!--- Next values --->
<cfif arguments.page neq nextXpage.pagecount>
<cfset nextXpage.next = true>
<cfset nextXpage.nextpage = arguments.page + 1>
<cfelse>
<cfset nextXpage.next = false>
<cfset nextXpage.nextpage = 1>
</cfif>
<!--- Previous values --->
<cfif arguments.page eq 1>
<cfset nextXpage.previous = false>
<cfset nextXpage.previouspage = 1>
<cfelse>
<cfset nextXpage.previous = true>
<cfset nextXpage.previouspage = arguments.page - 1>
</cfif>
<!--- Return the structure --->
<cfreturn nextXpage>
</cffunction>
</cfcomponent>
Then on your output page where you have the info:
.cfm page:
<cfquery name="qrysales"
datasource="davanzo_villa.admindb" >
SELECT DISTINCT
clientinfo.Id, clientinfo.RemoteAddress, clientinfo.visit,
clientinfo.country
FROM clientinfo
order by clientinfo.Id
</cfquery>
<!--- display hit counter --->
<cfquery name="GetHits">
SELECT * FROM hit_counter
</cfquery>
<cfparam name="URL.page" default="1">
<!--- Determine the navigation parameters --->
<cfset functions =
createobject("component","functions")>
<cfset nav =
functions.nextXpage(qrysales.recordcount,URL.page,15)>
<table width="792">
<h4>Total Hits: <CFOUTPUT
query="GetHits">#hit_count#</cfoutput></h4>
<h4>Total Unique Visitors:
<cfoutput>#qrySales.RecordCount#</cfoutput></h4>
</table>
<table width="792">
<tr><td>
<cfoutput>Unique Visitors: #nav.recordcount# (page
#nav.currentpage# of #nav.pagecount#)
<cfif nav.previous>
<a
href="hitcount.cfm?page=#nav.previouspage#">Previous</a>
<cfelse>
Previous
</cfif>
<cfif nav.next>
<a
href="hitcount.cfm?page=#nav.nextpage#">Next</a>
<cfelse>
Next
</cfif>
<ul>
<cfloop From = "1" To = "#nav.pagecount#" index =
"pagenumber">
<cfoutput>
<a
href="hitcount.cfm?page=#pagenumber#">#pagenumber#</a></cfoutput>
</cfloop>
</ul>
</cfoutput>
</td></tr>
</table>
<table width="792">
<tr>
<td>Date</td>
<td>Visitor Number</td>
<td>Visitor`s IP Address</td>
<td>Visitor`s Country</td>
<td>Path Taken</td>
</tr>
<cfoutput query="qrysales" startrow="#nav.startrow#"
maxrows="#nav.maxrows#">
<tr>
<td>#qrySales.visit#</td>
<td>#qrySales.id#</td>
<td>#qrySales.RemoteAddress#</td>
<td><cfif qrysales.country neq ""><a
href="country.cfm?Remote_Addr=#qrysales.RemoteAddress#">#qrySales.country#</a><cfelse><a
href="country.cfm?Remote_Addr=#qrysales.RemoteAddress#">Find
country</a></cfif></td>
<td><a href="hitpathdetails.cfm?id=#id#">See path
taken</a></td>
</tr>
</cfoutput>
</table> -
Why not i can use an archor in-page when i open page with ff4.0.1?
as title.
I can not use an archor in-page when i open page with ff4.0.1.Sounds like you want the New Tab Homage extension.
https://addons.mozilla.org/en-US/firefox/addon/777/
For more info about extensions, see [[Using extensions with Firefox]] -
How to keep location in a table persistent when switching between pages
Hi -
How would I keep my last location persistent in a table when switching between pages? If I am on cell X and switch to another page, when returning to the previous page, I return to the top of the table. This can be very annoying when trying to find the same location in a large table (or even in a small one).
Thanks.If by "page" you mean "sheet", you can do it. To get back to the same place you were in the other sheet, click on the sheet in the sidebar (the list of sheets/tables/charts/etc on the left). Don't click on the table, click on the sheet.
-
My one day old nano 6 has stopped working and will not restart can you help?
my one day old nano 6 has stopped working and will not restart can you help?
try this........ http://www.apple.com/support/ipodnano/assistant/itunes/
-
Apple Mail inbox "all" selected can't unselect. Tried quiting; tried restarting. Mail freezes then unfreezes. When going to View and clicking on Select, nothing opens, freezes. After 30 seconds, it opens up, everything in the inbox remains selected. Won't be able to open anything in the inbox without everything opening up. Help!
Hi Edwin,
Try force quitting the Mail app:
Option+Command+Esc, then select Mail from the list. See if that helps.
Cheers,
GB -
Problem description:
Computer takes a long time to fire up. Spinning ball is seen during start up, sometimes when login dialog box, and sometimes after entering login password. My mac freeze often, especially when using Lightroom…. Help is much appreciated!
EtreCheck version: 2.0.11 (98)
Report generated 3. november 2014 kl. 01.23.41 CET
Hardware Information: ℹ️
MacBook Pro (13-inch, Mid 2010) (Verified)
MacBook Pro - model: MacBookPro7,1
1 2.4 GHz Intel Core 2 Duo CPU: 2-core
4 GB RAM Upgradeable
BANK 0/DIMM0
2 GB DDR3 1067 MHz ok
BANK 1/DIMM0
2 GB DDR3 1067 MHz ok
Bluetooth: Old - Handoff/Airdrop2 not supported
Wireless: en1: 802.11 a/b/g/n
Video Information: ℹ️
NVIDIA GeForce 320M - VRAM: 256 MB
Color LCD 1280 x 800
System Software: ℹ️
OS X 10.10 (14A389) - Uptime: 2:49:19
Disk Information: ℹ️
Samsung SSD 840 EVO 500GB disk0 : (500,11 GB)
S.M.A.R.T. Status: Verified
EFI (disk0s1) <not mounted> : 210 MB
Macintosh HD (disk0s2) / [Startup]: 499.25 GB (260.35 GB free)
Recovery HD (disk0s3) <not mounted> [Recovery]: 650 MB
MATSHITADVD-R UJ-898
USB Information: ℹ️
Apple Inc. Built-in iSight
Apple Internal Memory Card Reader
Apple Inc. BRCM2046 Hub
Apple Inc. Bluetooth USB Host Controller
Apple Computer, Inc. IR Receiver
Apple Inc. Apple Internal Keyboard / Trackpad
Configuration files: ℹ️
/etc/sysctl.conf - Exists
/etc/hosts - Count: 15
Gatekeeper: ℹ️
Mac App Store and identified developers
Kernel Extensions: ℹ️
/Applications/IPVanish.app
[not loaded] foo.tap (1.0) Support
[not loaded] foo.tun (1.0) Support
/Applications/LaCie Desktop Manager.app
[not loaded] com.LaCie.ScsiType00 (1.2.13 - SDK 10.5) Support
[not loaded] com.jmicron.driver.jmPeripheralDevice (2.0.4) Support
[not loaded] com.lacie.driver.LaCie_RemoteComms (1.0.1 - SDK 10.5) Support
[not loaded] com.oxsemi.driver.OxsemiDeviceType00 (1.28.13 - SDK 10.5) Support
/Applications/Private Eye.app
[loaded] com.radiosilenceapp.nke.PrivateEye (1 - SDK 10.7) Support
/Library/Application Support/HASP/kexts
[not loaded] com.aladdin.kext.aksfridge (1.0.2) Support
/System/Library/Extensions
[loaded] com.hzsystems.terminus.driver (4) Support
[not loaded] com.nvidia.CUDA (1.1.0) Support
[not loaded] com.roxio.BluRaySupport (1.1.6) Support
[not loaded] com.sony.filesystem.prodisc_fs (2.3.0) Support
[not loaded] com.sony.protocol.prodisc (2.3.0) Support
/Users/[redacted]/Library/Services/ToastIt.service/Contents/MacOS
[not loaded] com.roxio.TDIXController (2.0) Support
Startup Items: ℹ️
CUDA: Path: /System/Library/StartupItems/CUDA
ProTec6b: Path: /Library/StartupItems/ProTec6b
Startup items are obsolete and will not work in future versions of OS X
Launch Agents: ℹ️
[not loaded] com.adobe.AAM.Updater-1.0.plist Support
[running] com.adobe.AdobeCreativeCloud.plist Support
[loaded] com.adobe.CS5ServiceManager.plist Support
[running] com.digitalrebellion.EditmoteListener.plist Support
[loaded] com.google.keystone.agent.plist Support
[loaded] com.intego.backupassistant.agent.plist Support
[running] com.mcafee.menulet.plist Support
[invalid?] com.mcafee.reporter.plist Support
[loaded] com.nvidia.CUDASoftwareUpdate.plist Support
[loaded] com.oracle.java.Java-Updater.plist Support
[running] com.orbicule.WitnessUserAgent.plist Support
[loaded] com.xrite.device.softwareupdate.plist Support
Launch Daemons: ℹ️
[loaded] com.adobe.fpsaud.plist Support
[invalid?] com.adobe.SwitchBoard.plist Support
[running] com.aladdin.aksusbd.plist Support
[failed] com.aladdin.hasplmd.plist Support
[running] com.edb.launchd.postgresql-8.4.plist Support
[loaded] com.google.keystone.daemon.plist Support
[running] com.intego.BackupAssistant.daemon.plist Support
[loaded] com.ipvanish.helper.openvpn.plist Support
[loaded] com.ipvanish.helper.pppd.plist Support
[invalid?] com.mcafee.ssm.ScanFactory.plist Support
[invalid?] com.mcafee.ssm.ScanManager.plist Support
[running] com.mcafee.virusscan.fmpd.plist Support
[loaded] com.mvnordic.mvlicensehelper.offline.plist Support
[loaded] com.oracle.java.Helper-Tool.plist Support
[loaded] com.oracle.java.JavaUpdateHelper.plist Support
[running] com.orbicule.witnessd.plist Support
[loaded] com.radiosilenceapp.nke.PrivateEye.plist Support
[running] com.xrite.device.xrdd.plist Support
User Launch Agents: ℹ️
[loaded] com.adobe.AAM.Updater-1.0.plist Support
[loaded] com.adobe.ARM.[...].plist Support
[invalid?] com.digitalrebellion.SoftwareUpdateAutoCheck.plist Support
[loaded] com.facebook.videochat.[redacted].plist Support
[loaded] com.macpaw.CleanMyMac2Helper.scheduledScan.plist Support
[loaded] com.macpaw.CleanMyMac2Helper.trashWatcher.plist Support
[running] com.spotify.webhelper.plist Support
User Login Items: ℹ️
Skype Program (/Applications/Skype.app)
GetBackupAgent Program (/Users/[redacted]/Library/Application Support/BeLight Software/Get Backup 2/GetBackupAgent.app)
PhoneViewHelper Program (/Users/[redacted]/Library/Application Support/PhoneView/PhoneViewHelper.app)
EarthDesk Core UNKNOWN (missing value)
Dropbox Program (/Applications/Dropbox.app)
AdobeResourceSynchronizer ProgramHidden (/Applications/Adobe Reader.app/Contents/Support/AdobeResourceSynchronizer.app)
i1ProfilerTray Program (/Applications/i1Profiler/i1ProfilerTray.app)
Internet Plug-ins: ℹ️
Google Earth Web Plug-in: Version: 6.0 Support
Default Browser: Version: 600 - SDK 10.10
AdobeAAMDetect: Version: AdobeAAMDetect 2.0.0.0 - SDK 10.7 Support
FlashPlayer-10.6: Version: 15.0.0.189 - SDK 10.6 Support
AdobePDFViewerNPAPI: Version: 11.0.09 - SDK 10.6 Support
Silverlight: Version: 5.1.10411.0 - SDK 10.6 Support
Flash Player: Version: 15.0.0.189 - SDK 10.6 Support
QuickTime Plugin: Version: 7.7.3
iPhotoPhotocast: Version: 7.0
SiteAdvisor: Version: 2.0 - SDK 10.1 Support
AdobePDFViewer: Version: 11.0.09 - SDK 10.6 Support
GarminGPSControl: Version: 3.0.1.0 Release - SDK 10.4 Support
JavaAppletPlugin: Version: Java 7 Update 71 Check version
User Internet Plug-ins: ℹ️
Google Earth Web Plug-in: Version: 6.2 Support
F5 Inspection Host Plugin: Version: 6031.2010.0122.1 Support
f5 sam inspection host plugin: Version: 7000.2010.0602.1 Support
Safari Extensions: ℹ️
Facebook Cleaner
Better Facebook
SiteAdvisor
Incognito
Bing Highlights
YouTube5
AdBlock
YoutubeWide
Audio Plug-ins: ℹ️
DVCPROHDAudio: Version: 1.3.2
3rd Party Preference Panes: ℹ️
CUDA Preferences Support
EarthDesk Support
Editmote Support
Flash Player Support
FUSE for OS X (OSXFUSE) Support
Growl Support
Java Support
Witness Support
Time Machine: ℹ️
Time Machine not configured!
Top Processes by CPU: ℹ️
13% taskgated
12% WindowServer
1% WitnessUserAgent
1% sysmond
1% Activity Monitor
Top Processes by Memory: ℹ️
327 MB com.apple.WebKit.WebContent
137 MB softwareupdated
94 MB Safari
82 MB VShieldScanner
82 MB Dock
Virtual Memory Information: ℹ️
65 MB Free RAM
1.58 GB Active RAM
1.54 GB Inactive RAM
647 MB Wired RAM
2.95 GB Page-ins
260 MB Page-outsYou have SCADS of extensions and the things running. McAfee, Intego, Orbicule, CleanMyMac, and others I've not ever even heard of. My first recommendation would be to remove all of these and see if things improve.
-
The settings dialog box cuts off the bottom ofthe box content as it seems to be having problems with font rendering.
Settings such as "Show download window" and "Ask me where to save" apparently revert to defaults rather than saving the settings.
The encrypted content alerts are out of synch. They claim to be going from encrypted to non-encrypted when neither page is encrypted. Or warn of non-encrypted content on an encrypted page when the whole page is unencrypted.
3.6.14 had none of these problems.Update to 3.6.16 has fixed this problem.
-
Error: ORA-01847: day of month must be between 1 and last day of month
Hi,
I am getting this ORA-01847: day of month must be between 1 and last day of month type of error but I have checked my data all are correct.
I am inserting the data in the merge query. It is giving the above error.
but when i insert the data like that
insert into dt(start_date) select TO_DATE (tariff_start_date, 'DD/MM/RRRR') from ext_zpp0a871;
It does not give any error.
Please find the below code
DECLARE
l_sv_error_msg VARCHAR2 (1000);
BEGIN
FOR i IN (SELECT condition_type, sales_org, division_channel, division,
price_list, ean_upc, amount, unit_of_measure1,
tariff_start_date, tariff_end_date
FROM ext_zpp0a871--This is external table
WHERE condition_type = 'ZPP0' AND ROWNUM < 200)
LOOP
BEGIN
MERGE INTO sap_tariff st
USING (SELECT i.price_list pl, i.ean_upc upc,
TO_DATE (i.tariff_start_date, 'DD/MM/RRRR') tsd,
TO_DATE (i.tariff_end_date, 'DD/MM/RRRR') ted
FROM DUAL) du
ON (st.prod_ean_cuni = du.upc
AND st.pricelist = du.pl
AND st.tariff_start_date = du.tsd
AND st.tariff_end_date = du.ted)
WHEN MATCHED THEN
UPDATE
SET st.condition_type = i.condition_type,
st.sales_org = i.sales_org,
st.division_channel = i.division_channel,
st.division = i.division,
st.amount =
TO_NUMBER (REPLACE (REPLACE (i.amount, '.', NULL),
st.uom = i.unit_of_measure1
WHEN NOT MATCHED THEN
INSERT (condition_type, sales_org, division_channel, division,
pricelist, prod_ean_cuni, amount, uom,
tariff_start_date, tariff_end_date)
VALUES (i.condition_type, i.sales_org, i.division_channel,
i.division, i.price_list, i.ean_upc,
TO_NUMBER (REPLACE (REPLACE (i.amount, '.', NULL),
i.unit_of_measure1,
TO_DATE (i.tariff_start_date, 'DD/MM/RRRR'),
TO_DATE (i.tariff_end_date, 'DD/MM/RRRR'));
/*INSERT INTO sap_tariff
(condition_type, sales_org, division_channel,
division, pricelist, prod_ean_cuni,
amount,
uom,
tariff_start_date,
tariff_end_date
VALUES (i.condition_type, i.sales_org, i.division_channel,
i.division, i.price_list, i.ean_upc,
TO_NUMBER (REPLACE (REPLACE (i.amount, '.', NULL),
i.unit_of_measure1,
TO_DATE (i.tariff_start_date, 'DD/MM/RRRR'),
TO_DATE (i.tariff_end_date, 'DD/MM/RRRR')
EXCEPTION
WHEN DUP_VAL_ON_INDEX
THEN
UPDATE sap_tariff
SET condition_type = i.condition_type,
sales_org = i.sales_org,
division_channel = i.division_channel,
division = i.division,
amount =
TO_NUMBER (REPLACE (REPLACE (i.amount, '.', NULL),
uom = i.unit_of_measure1;
WHEN OTHERS
THEN
l_sv_error_msg := SQLERRM (SQLCODE);
INSERT INTO sap_tariff_log
(date_of_load, condition_type, sales_org,
division_channel, division, price_list,
prod_ean_cuni, amount, uom,
tariff_start_date, tariff_end_date,
rejection_reason
VALUES (SYSDATE, i.condition_type, i.sales_org,
i.division_channel, i.division, i.price_list,
i.ean_upc, i.amount, i.unit_of_measure1,
i.tariff_start_date, i.tariff_end_date,
l_sv_error_msg
END;
END LOOP;
COMMIT;
EXCEPTION
WHEN OTHERS
THEN
l_sv_error_msg := SQLERRM (SQLCODE);
neo_pro_log ('Others Error', l_sv_error_msg);
END;user13400510 wrote:
but when i insert the data like that
insert into dt(start_date) select TO_DATE (tariff_start_date, 'DD/MM/RRRR') from ext_zpp0a871;
It does not give any error.Maybe the error is on tariff_end_date instead of tariff_start_date ?
What are the datatypes of tariff_start_date and tariff_end_date ? If they are already dates, and you to_date them (and depending on what your nls_date_xxxxx params are) you can have such errors :SQL> sho parameter nls_date_format
NAME_COL_PLUS_SHOW_PARAM TYPE VALUE_COL_PLUS_SHOW_PARAM
nls_date_format string DD/MM/YYYY
SQL> select to_date(sysdate,'Day dd Mon RRRR') from dual;
select to_date(sysdate,'Day dd Mon RRRR') from dual
ERROR at line 1:
ORA-01846: not a valid day of the week
SQL> select to_date(sysdate,'hh24:mi:ss dd/mm/rrrr') from dual;
select to_date(sysdate,'hh24:mi:ss dd/mm/rrrr') from dual
ERROR at line 1:
ORA-01850: hour must be between 0 and 23 -
ORA-01847: day of month must be between 1 and last day of month error
Hi All
When i run the following code i'm getting the error:ORA-01847: day of month must be between 1 and last day of month error
SELECT t2.owner_cat,
t1.owner_id,
stock_id,
Sum(received_amount) received_amount,
Sum(curr_amount) curr_amount,
Sum(used_amount) used_amount,
To_char(Add_months(date_work,6),'YYYY') date_work
FROM (SELECT owner_id_to owner_id,
stock_id_to stock_id,
Sum(full_amount) received_amount,
0 curr_amount,
0 used_amount,
To_char(0) date_work
FROM dw_wms_mat_transfer
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id_to,
stock_id_to
UNION ALL
SELECT owner_id,
stock_id,
0 received_amount,
Sum(curr_amount) curr_amount,
0 used_amount,
To_char(0) date_work
FROM dw_wms_mat_inv
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id,
stock_id
UNION ALL
SELECT t2.owner_id,
t1.stock_id,
0 received_amt,
0 curr_amt,
Sum(amount) used_amt,
To_char(Add_months(date_work,6),'YYYY') date_work
FROM dw_wms_wo_mat_dc t1,
(SELECT owner_id,
stock_id
FROM dw_wms_mat_inv
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id,
stock_id) t2
WHERE t1.stock_id = t2.stock_id
GROUP BY t2.owner_id,
t1.stock_id,
To_char(Add_months(date_work,6),'YYYY')) t1,
dw_wms_setup_owner t2
WHERE t1.owner_id = t2.owner_id
GROUP BY t2.owner_cat,
t1.owner_id,
stock_id,
To_char(Add_months(date_work,6),'YYYY')
But when i just run the inner query:
(SELECT owner_id_to owner_id,
stock_id_to stock_id,
Sum(full_amount) received_amount,
0 curr_amount,
0 used_amount,
To_char(0) date_work
FROM dw_wms_mat_transfer
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id_to,
stock_id_to
UNION ALL
SELECT owner_id,
stock_id,
0 received_amount,
Sum(curr_amount) curr_amount,
0 used_amount,
To_char(0) date_work
FROM dw_wms_mat_inv
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id,
stock_id
UNION ALL
SELECT t2.owner_id,
t1.stock_id,
0 received_amt,
0 curr_amt,
Sum(amount) used_amt,
To_char(Add_months(date_work,6),'YYYY') date_work
FROM dw_wms_wo_mat_dc t1,
(SELECT owner_id,
stock_id
FROM dw_wms_mat_inv
WHERE master_code_id IN ('8664','8665')
GROUP BY owner_id,
stock_id) t2
WHERE t1.stock_id = t2.stock_id
GROUP BY t2.owner_id,
t1.stock_id,
To_char(Add_months(date_work,6),'YYYY'))
I'm not getting that error, any help please?Hi,
Like Anuraq already explained, you need to keep in mind that when you apply a to_char, you've turned your DATE datatype into a STRING and by doing that you've lost the ability to use the add_months function again in your outer query.
Using a simplified example, extracted from your example:
MHO%xe> select to_char(add_months(date_work, 6), 'yyyy') date_work
2 from ( select to_char(0) date_work
3 from dual
4 union all
5 select to_char(0) date_work
6 from dual
7 union all
8 select to_char(add_months(sysdate, 6), 'yyyy') date_work
9 from dual
10 );
select to_char(add_months(date_work, 6), 'yyyy') date_work
FOUT in regel 1:
.ORA-01847: day of month must be between 1 and last day of monthHowever, you should either do something like:
MHO%xe> select nvl(to_char(add_months(date_work, 12), 'yyyy'), '0') date_work
2 from ( select to_date(null) date_work
3 from dual
4 union all
5 select to_date(null) date_work
6 from dual
7 union all
8 select sysdate date_work
9 from dual
10 );
DATE
0
0
2010or (less clear, more confusing):
MHO%xe> select nvl(to_char(add_months(date_work, 6), 'yyyy'), '0') date_work
2 from ( select to_date(null) date_work
3 from dual
4 union all
5 select to_date(null) date_work
6 from dual
7 union all
8 select add_months(sysdate, 6) date_work
9 from dual
10 );
DATE
0
0
2010It's not clear to me why you're using add_months twice (inner + outer query) in your original example.
As you can see you can get the same results using it only once in your outer query. -
My MacBook Pro is running very slow when using the internet and sometimes gives the pinwheel of death, any suggestions on how to fix?
<http://www.thexlab.com/faqs/sbbod.html>
Maybe you are looking for
-
Can free apps be downloaded when restrictions are on?
Can my grandson order free applications when restriction are on? I want him to be able to play but not to be able to order expensive apps (he is 6 years old).
-
Input of Multiple values in BEX Browser
Dear All, Can I input multiple values i.e Can I copy values from a excel or a data base which are at random and paste in BEX Browser as a input variable. is there any way to do this operation. Note:- Values need not be in series as stored in table.
-
Hello! I�m new in JSF and I want to use a constant into a jsf tag but I don�t know how to do it. I know in JSTL but not in FSF. This is what I want: <h:outputText id="test" value="<%Constantes.DOCUMENT%>"/> I have tried so many things to
-
Import procedure -step by step
Dear all, can anybody explain total import procedure along with miro and migo with total account postings of excise n customs duty? Full points assured.. thanks in advance.
-
Hello Everybody Here is my requirement. I am creating a XML form that will be set up with a approval workflow. My form has a combo box with several entries and whenever the user selects something from this box the approver should be changed according