TO_DATE Function Is not working
Hi Friends,
select * from view_date where to_date(my_date) between '01-dec-06' and '31-dec-06';
This query is not responding...
I have the the date field in character in the view so i need to convert it to date ,so that iam using to_date function and its not responding.
Without using to_date iam getting the results but not the exact results,it includes all the record sets.
Help me in this
TO_DATE converts a string to a date. TO_CHAR converts a date to a string. What is my_date?
Edit: Just realised you said "my_date" is a string.
Try
select * from view_date
where TO_DATE(my_date,'???')
between TO_DATE('01-dec-2006','dd-mon-yyyy') and TO_DATE('31-dec-2006','dd-mon-yyyy');or if you are dealing with literals you can use the more compact ANSI format:
select * from view_date
where TO_DATE(my_date,'???') between DATE '2006-12-01' and DATE '2006-12-31';Avoid 2-digit years. You have no idea the problems that caused a few years back.
Message was edited by:
William Robertson
Oops, typed stuff the wrong way around, need coffee...
Similar Messages
-
The to_date function doesn't work ?
Hello
I don't know why my to_date function doesn't work on my pc.
my statement is pretty complex so i just tried simple one
select to_date('10-Jan-2006','dd-mon-yyyy') from dual;
but even this one doesn't work it says it is invalid month
howcome?
is it because my Windows XP (not english version) doesn't recognise month Jan?
i tried it another place it worked
so is there any language pack / patch i need to install? ?
so does OS matters?
or how to fix this..please help meBy default SQL Developer picks up it's language settings up from (on Windows) the Regional and Language Options. You can see what it has set by querying the NLS_SESSION_PARAMETERS view.
Assuming you don't want to change to using DD-MM-YYYY formats for your months or change your regional settings on your PC, you need to tell SQL Developer which language you want, which you can do by adding the following lines to the file sqldeveloper\jdev\bin\sqldeveloper.conf:
AddVMOption -Duser.language=en
AddVMOption -Duser.country=US -
Since I installed Lion on my macbook the LED light does not pulse when I close the screen - the sleep function does not work neither when chosen after pressing the button nor chosen in the apple menu..
I have had the same problem but on another forum it was suggested that disabling internet sharing would solve this. This fix seems to work on my machine - why it works I do not understand
-
"Open In.." function is not working
Hi, "Open In.. " function is not working on my iPad since the first time I recieve it..
it once worked twice, and it took a long time to load PDF file, but never worked again
the apps list is there, but when I click the app, nothing happened.
please do help,
thanksTry clearing Safari's cache : Settings > Safari > Clear Cache (and Clear History)
Also close all apps completely : from the home screen (i.e. not with any app 'open' on-screen) double-click the home button to bring up the taskbar, then press and hold any of the apps on the taskbar for a couple of seconds or so until they start shaking, then press the '-' in the top left of each app to close them, and touch any part of the screen above the taskbar so as to stop the shaking and close the taskbar.
If that doesn't work then you could try a reset : press and hold both the sleep and home buttons for about 10 to 15 seconds (ignore the red slider), after which the Apple logo should appear - you won't lose any content, it's the iPad equivalent of a reboot. -
Copy Function is Not Working properly In Order Management
Hi,
Description-
When an order with remnant model is copied, it copied only the topple model line and they include items attached to the top model line. It doesn’t copy the
option class lines and the option item lines (unshipped and shipped).
Example-
Enter an order with for pd-pto-model. See order#21231.The ordered quantities and structure of the model is shown below:
pd-pto-model 5 qty
pd-std-item1 (included item) 5 qty
pd-pto-oc (option class) 5 qty
pd-std-item1 (included item with rfr checked) 5 qty
pd-std-item2 (option item with rfr checked) 5 qty
pd-std-item3 (option item) 5 qty
Booked the order and pick relased the order. While shipconfirming only shipped 5 qty of pd-std-item3 and staged the rest. On querying the sales order, the line status is seen correctly as follows:
pd-pto-model Closed
pd-std-item1 (included item) Picked
pd-pto-oc (option class) Closed
pd-std-item1 (included item with rfr checked) Picked
pd-std-item2 (option item with rfr checked) Picked
pd-std-item3 (option item) Partially Interfaced to receivables
Copied this order from the order header. The new order# is 21232.On querying the order, I see only 2 lines as follows:pd-pto-model.
Anyone can help me on this issue.
Thanks,
Chinnahaisrig wrote:
Hi ,
We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
Program name :- sel.cpp
int main()
struct timeval sleeptime;
sleeptime.tv_sec = 60;
printf("1\n");
select(0,NULL,NULL,NULL,&sleeptime);
printf("2");
return 0;
When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
I think because of that the above select function is not working properly in solaris 10.
Why the tv_usec is not taking 0 as default values in Solaris 10?
We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.Hi
It sounds to me that you've been lucky for 20 years then.
Local POD variables on the stack that aren't explicitly initialized can contain any value. Here's what I see in your app with dbx
(dbx) run
Running: sel
stopped in main at line 9 in file "sel.cpp"
9 sleeptime.tv_sec = 60;
(dbx) print sleeptime
sleeptime = {
tv_sec = -4198732
tv_usec = 0
}That's on a Solaris 10 SPARC machine. If I try it on a Solaris 10 x86 box then I get
(dbx) print sleeptime
sleeptime = {
tv_sec = -830490588
tv_usec = 134510556
and I see the behaviour that you describe.
Paul -
Select() function is not working properly in solaris 10.
Hi ,
We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
Program name :- sel.cpp
int main()
struct timeval sleeptime;
sleeptime.tv_sec = 60;
printf("1\n");
select(0,NULL,NULL,NULL,&sleeptime);
printf("2");
return 0;
When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
I think because of that the above select function is not working properly in solaris 10.
Why the tv_usec is not taking 0 as default values in Solaris 10?
We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.
Thanks a lot.
Regards,
Srikanth.haisrig wrote:
Hi ,
We are facing an issue with select() in Solaris 10. we had written a sample program to this issue.
Program name :- sel.cpp
int main()
struct timeval sleeptime;
sleeptime.tv_sec = 60;
printf("1\n");
select(0,NULL,NULL,NULL,&sleeptime);
printf("2");
return 0;
When i run this program in Solaris 9, its printing 1 and after one minute its printing 2.
When i run this program on Solaris 10, its printing 1 and 2 without waiting for 60 seconds.
When i tried to print tv_usec, its printing as 0 in solaris 9 and some garbage values in solaris 10.
I think because of that the above select function is not working properly in solaris 10.
Why the tv_usec is not taking 0 as default values in Solaris 10?
We are using our legacy code for past 20 years. So, before going to do any changes we are trying to find why this happenig like this.Hi
It sounds to me that you've been lucky for 20 years then.
Local POD variables on the stack that aren't explicitly initialized can contain any value. Here's what I see in your app with dbx
(dbx) run
Running: sel
stopped in main at line 9 in file "sel.cpp"
9 sleeptime.tv_sec = 60;
(dbx) print sleeptime
sleeptime = {
tv_sec = -4198732
tv_usec = 0
}That's on a Solaris 10 SPARC machine. If I try it on a Solaris 10 x86 box then I get
(dbx) print sleeptime
sleeptime = {
tv_sec = -830490588
tv_usec = 134510556
and I see the behaviour that you describe.
Paul -
I just got an iphone 4s. Now the search iphone function is not working. When I swipe the start screen, the search box shows up. But when I type what I want to search, there is no action. Please help.
Try this...
You will Not Lose Any Data...
Turn the Phone Off... ( if it isn’t already )
Press and Hold the Sleep/Wake Button and the Home Button at the Same Time...
Wait for the Apple logo to Appear and then Disappear...
Usually takes about 15 - 20 Seconds... (But can take Longer...)
Release the Buttons...
Turn the Phone On... -
How to delete multiple songs from iPhone 5S without losing form iTunes? The unchek function has not worked. Why?
Sorry I had to reply through your profile Gail from Maine, my PC has java issues. In any event, when I delete them directly from my device everything is perfect and cool. However, in the rare instance I want to add new music that I actually buy in stores (I know, quite the unique and old-fashioned idea...but hey Im an audiophile) once I upload the tunes, everytime I sync my library it re-adds everything that I spent hours deleting. In a perfect world, I thought I could maintain a massive iTunes Library, and add or delete (remove) songs from my iPhone to save both memory or keep my iPhone selections more current/apt to my musical "tastes" at that time. I know about the whole playlist thing, but thought there might be an easier way. ie - checking/un-checking the little box next to the song name, and then doing a sync. Again, everytime I do this however, whether everything is checked or un-checked it adds the entire library! So frustrating. Any suggestions. Thank you graiously in advance for your help.
-
Palm Desk Top 6.2 Address Look Up Function Does Not Work In Windows 7
I recently upgraded my desk top computer's operating system from Windows Vista Home Premium to Windows 7 Home Premium. I synchronize with a Palm Tx PDA. HP PalmOS customer support Chat helped me work through a compatibility issue that was preventing display of Address, Calendar, Memo and To Do items on my desk top computer via the Palm Desk Top 6.2 application. I now find that the address look up function does not work (although it worked fine when I was running Vista). Without success, I tried running the repair tool as well as reloading the software (both overlay and clean reinstall). I would appreciate any help or suggestions to fix?
Post relates to: Palm TXHi,
844869 wrote:
CREATE TABLE TEST_EMPLOYEES
FIRST_NAME VARCHAR2(26 CHAR),
GRADE VARCHAR2(5 CHAR)
INSERT INTO TEST_EMPLOYEES (FIRST_NAME, GRADE) VALUES ( 'William', 45 ); ...Thanks for posting the CREATE TABLE and INSERT statements; that's very helpful.
William&45 1
Robin 43 1
Raymond 43 1
Richard 43 1
Karen 28 1
Michelle 1
Jonathan 1
Mark 1
Ann 1You may have noticed that this site normally doesn't display multiple spaces in a row.
Whenever you post formatted text (such as query results) on this site, type these 6 characters:
\(small letters only, inside curly brackets) before and after each section of formatted text, to preserve spacing.
This is one of the many helpful things found in the forum FAQ {message:id=9360002}
Are the results above what you're getting with some existing query, or are they the results you want?
If those are your current results, post your query. In that case, what are the results you want? Do you want this?FIRST_NAME GRADE RNK
William 45 1
Robin 43 2
Raymond 43 2
Richard 43 2
Karen 28 5
Michelle 6
Jonathan 6
Mark 6
Ann 6
Edited by: Frank Kulash on Feb 21, 2013 2:39 PM
I see you've added the desired results to your original message.
Here's one way to do that:SELECT first_name
, grade
, RANK () OVER (ORDER BY grade NULLS FIRST) AS rnk
FROM test_employees
ORDER BY grade DESC NULLS LAST -
Recently upgraded to a new iMac running 10.9.4. Printing works well from this computer and all other devices (iPad, iPhone, etc.). However, the "scan to computer" function does not work. In the "Scan" section of HP Utility when I click on "Scan to Computer" the error message reads "Scan to Computer Cannot Be Enabled. The software required for Scan to Computer could not be located on this computer. Please download and install the latest HP recommended software for your device from http://www.hp.com/support, and then try again.
Of course I have done this... twice... still no luck. Also ran Software Update and there was an update, but it made no difference.Yes, did all that... in order. It did not resolve the problem. However, I did find what appears to be the answer. After re-installing the driver software DO NOT immediately follow the prescribed steps. Instead, quit the installer, restart the Mac, and an Apple software update will appear after restart. Install that software update, and even though the computer and software do not call for it, restart the Mac again. Only then add the printer and follow the balance of the steps. It works! Thank you for your help.
-
Radio button and associated functionality is not working!
Hi Pros,
I am facing the following problem:
1.I have an interactive PDF created in Acrobat 9 Pro.
2.PDF have few radio buttons, each radio buttons ahave assigned valus(eg: 1,2,3 etc)
3.I have a text box in which the value of selected radio button is displayed.
4.PDF is working fine on my machine.
5.Client is having Internet Explorer version 7.0.5 and Adobe reader:8.2.6
6.The radio buttons and associated functionality is not working on client's machine.
7.The text box shows '0' even if we a radio button with value 2 or 1 is selected.
What will be the problem? How can I fix this issue?
Please help.Thanks alot for helping me on this.
Thanks to u also ~graffiti -
AcroPDF ActiveX print functions are not working with Reader 9.2/9.3. Tried ActiveX print functions like printPages(), printAll(), printWithDialog(), none of them is working. Tried on platforms: XP 32 bit and Win7 32 bit. These print functions all work fine with Adobe Reader 9.1.0. or 8.2.0 or 8.1.0 on XP 32 bit or Win7 32 bit.
The way I have my setup: I have created a C/C++ project with AcroPDF MFC ActiveX classes. I have created an AcroPDF object in there, and then calling it's LoadFile() function passing a pdf file in the parameter. Then calling the printPages() or printAll() function. With Adobe Reader 9.1.0. or 8.2.0 or 8.1.0, printing is starting through the default printer without any problem. As soon as I update the reader version to 9.2 or more, the same code stops working.
Is anybody noticing any similar issue? Any info on this will be highly appreciated. Thank you!Unfortunately printWithDialog() is also not working. Actually none of the print functions like Print(), printWithDialog(), printPages(), printPagesFit(), printAll(), printAllFit() are working. All of them works fine though with older reader.
BTW, what security related changes are there for printPages() and printAll()? Can you please elaborate on that? Is there any workaround? -
Crystal Report for VS2010 - The Go To Page function does not work
When running a report into Crystal(VS2010), the Go To Page function does not work. Typing in a page number and pressing Enter does not take you to that page. The report remains on the current page. I'm not sure if there is suppose to be a button like the one in Crystal 8.5(VS2008).
As long as you are using the CR assemblies for VS .NET, the viewer (Win) should look like this:
Remember, the ActiveX viewer based on the Report Designer Component (RDC, referencing craxdrt.dll) is not supported in VS 2010.
- Ludek
Follow us on Twitter
Got Enhancement ideas? Try the SAP Idea Place
Share Your Knowledge in SCN Topic Spaces -
Save functionality is not working in adobe reader
hello,
i am designing layout for offline adobe forms in Adobe Live Cycle Designer ES version 8.1 and having adobe reader version 8.
i save form on PC. When i open it shows me save button after doing changes in form m not able to save it as save functionality is not working.....Kindly suggest me any solution..
Edited by: Gopal Khandelwal on Nov 22, 2011 12:21 PMMoved to LiveCycle Designer
-
The download function is not working....!! I don't use any add-ons like idm or dap,etc.... When I click on something like download a doc,pdf or any such file, the firefox just doesn't respond, and when I checked the download, i.e. cntrl+j, I don't find anything in the downloads... I am currently using Firefox 7.0.1....... Nothing is being downloaded, and I am forced to use IE8 for everything... I even tried re-installing, but doesn't help... I am using Windows 7
TonyE is correct the plugin version comes with Adobe's Reader X.
The failure in communication is two parted:
1. Reader X is not Acrobat (Mozilla Plugin Checker)
2. Acrobat is not mentioned in the Reader X download Page (Adobe)
therefore confused clients.
For readers '''CAUTION''' check the minimum requirements for Reader X.
Here: [http://www.adobe.com/products/reader/tech-specs.html Adobe's Reader X requirements link]
Do not waste the time to download (80+MB and Site is Slow) if your machine does not have the resources to execute it. ie. '''aging''' Hardware
Unfortunately the Adobe DLM only checks the requirements after it has
downloaded BEFORE the install occurs.
This is '''very expensive''' for both the sender and receiver
It might be why they called it READER X and READER 9 will not sense an update...
Another Software company pushing Hardware antiquity...
Maybe you are looking for
-
Tuxedo 10gR3 installation issue on Windows XP
Hi, Am trying to install tuxedo 10gR3(server) on Windows XP Professional. When I try to select C:\Oracle as ORACLE_HOME, it gives an error "Path should be absolute and have write Permissions!" and wont proceed further. I had to cancel the installatio
-
Data migrated from MS SQL Server 2k to Oracle8i is not the same :(
I'm trying to help a customer here who is trying to migrate a table from MS SQL Server 2000 with column WORD of type varchar (100) to Oracle8i (8.1.7.2) using Oracle Migration Workbench 1.4.0.1 using MS SQL Server 2000 plugin. That column has unique
-
Processing in STP causes out-of-sync in FCP
Mixing multitrack live band performances. After sending tracks to Soundtrack Pro for normalization, EQing, effecting etc. and round tripping back to FCP they now get out of sync with live performance video over the course of time. Doesn't happen if I
-
Can ImageSnapShot take images of a website on a certain location??
hey guys... so got a quick question, i need to make slides of a website, the only problem is all the snapshots i need to take are of swf's on the site, and the swf's get all the information from the site, so i was wondering if there was a way i could
-
RH7 upgrade to 7.0.1 prevents generate
After I install 7.0.1 upgrade I can't gernerate my project. Took me awhile to debug this but it is the 7.0.1 upgrade that causes my generate to lock up. No error during generation, it just dies. I can uninstall the upgrade and everything is back to n