How can i do to_nymber on top of to_char?
Hello
For formatting a number column, I am doing the following in my query:
select ...
to_char(col1,'999,999,999,999,999.999')....
This gives me the formatted output in my query.
However, this returns a character. How can I do to_number on top of this? I am not sure if I can. If I do so, I get the following error:
error signalled in parallel query server. Invalid number.
It´s a configuration of SQL Plus.
Look:
SQL> set numwidth 10
SQL> select to_number(to_char(999999999999999.999,'999,999,999,999,999.999'), '999,999,999,999,999.999') from dual;
TO_NUMBER(TO_CHAR(999999999999999.999,'999,999,999,999,999.999'),'999,999,999,999,999.999')
1,0000E+15
SQL> set numwidth 20
SQL> select to_number(to_char(999999999999999.999,'999,999,999,999,999.999'), '999,999,999,999,999.999') from dual;
TO_NUMBER(TO_CHAR(999999999999999.999,'999,999,999,999,999.999'),'999,999,999,999,999.999')
999999999999999,999Miguel
Similar Messages
-
How can I sync ONLY the top photo in the stack?
I sync various Aperture photo albums to my IPad and iPhone. The problem is that when I have 'stacked' images (eg. one image showing in the album and two other copies 'hidden' underneath), all of the photos in the stack are copied to the ipad and iPhone. So instead of seeing just one version of an image, I see as many as are in the stack. How can I sync ONLY the top photo in the stack?
Thanks for your help!I solved my own problem.
The sync problem seemed to only occur on smart albums. There is a new check box option in Aperture 3 when making a smart album: "sync stack pick only." One click and the problem is solved! -
When I click on Safari Icon it opens,but under the Desktop picture.How can I get it on top,so I could see it?
I would open a guest account and see if the problem persist in this new enviroment.
Boot into Safe Boot Mode and see if the problem is present, this turns off third party plug-in's and extentions.
This will give us something to go on and recommend the next step. -
How can I programically make a top level VI panel invisible?
How can I programically make a top level VI panel invisible?
You can use VI Server's 'Close FP' method to close the front-panel. You will need a reference to that VI to invoke the method. One easy way is to launch the VI with the VI Server and hold on to its reference.
See the attached diagram -- the top-level.vi is launched and run, we wait for 5 seconds, and then close its front-panel.
Hope this gives you some ideas.
Khalid
Attachments:
close_fp.png 38 KB -
I have updated to the latest form of Mozilla Firefox, and the top of the screen is altered so that it occupies far more space than it used to do, leaving far less space for what I want to look at. Why are there spaces between bars? Why are the tabs deeper than they used to be or need to be? How can I eliminate the pointless top bar which merely duplicates the information in the tab bar? Is there any way of simply restoring the previous arrangement?
Okay, I accept that this is just how it is, and there is nothing to be done about it, because no-one except me thinks that the icons and toolbars should be organised to take up minimum space in order to allocate maximum space to the page.
The crowning irony of all this is that, having updated to the latest Mozilla Firefox and consequently having this arrangement at the top of the page which I don't like, the middle of the page now comes up with its old message, 'You are not on the latest version of Firefox. Upgrade now.'
Computers are very odd. :( -
How can i text over the top of photos
how can i text over the top of photos
I do not understand you question. Do you want to add text to a photo?
-
How can I return to the top of an array indicator
I have in my UI a 1D array indicator that I will navigate to and populate with different lists of items depending on other selections. Always text elements.
I have limited the number of visible rows to 20 max even though some lists will contain dozens if not hundreds of elements while others may have less than 10. Problem is, if I scroll down the list for one population, then come back and the next list happens to have only 10 elements, the scroll bar is still way down where I had scrolled to earlier. It is basically showing unpopulated positions in the array. (Not blank list items)
How can I return the scroll position back up to the first element in the array when I populate it with a new list? I looked through every property node and could find nothing. Seems like there should be a method to refresh the display or it should go back to the top when you write a new value to it.
Any thoughts?
Thanks
Doug
"My only wish is that I am capable of learning each and every day until my last breath."Index Values, I think, is the property you are looking for. Set the index to 0 to be at the top.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines -
How can I change the order (top to bottom) of toolbars
I've just upgraded to FX31. I have Classic Theme Restorer installed, and nothing too drastic has occurred. However, the order (top to bottom) of my Add-on toolbars has changed. How can I correct this ? I have tried disabling and restoring them, both singly and together but to no avail.
The toolbars are: Google Bar and Web Developer. I want Web Developer under Google Bar like it was before the upgrade, please.
I notice that although the Google Bar is listed on 'View > Toolbars' it makes no difference whether it's checked or not: it's always displayed unless I disable it as an add-on.
A minor matter, perhaps, but it's intensely irritating to have these things arbitrarily changed when there's an upgrade. I know I'm not alone in this.
Regards,
Tim DawsonYes, thank you, that did work.
I was a bit flummoxed at first because the extensions.ini file showed the extensions with unhelpful ID names like 'c45c406...........xpi'. But then I noticed that they were all listed in the Troubleshooting information with both plain text and ID, so it was possible to pick out the two that needed swapping.
I use my Fx browser a lot for web development and it's really irritating when the layout gets savaged by an upgrade, particularly when the upgrade itself seems to offer no benefits (except perhaps a security fix). -
How can i connect mac desk top to my iphone 5c
I know i can connect my iphone 5c to my apple desk top to see what kids are doing on it even when at work. could ay one tell how to do this please
KathleeniPhone 5cAny errors?
Is the media in a format supported by the iPhone? -
How can I get rid of Top Arcade Hits virus/malware?
I noticed on the past month or two that on certain sites a little bar appears with thumbnails of things thtx are somewhat similar to what I have on screen. I figured it was just annoying adware. l I googled it and it seems the stuff is a virus or malware of some sort. I saw a posting somewhere on this site that Top Arcade Hits can easily be removed by deleting it from the Add-ons. However, my Firefox Add-ons contain nothing about this. Oddly, this intrusion does not appear consistently. I tried to get a screen capture by reopening the site where it pops u but I can't get it to show up in Firefox. However, I opened that site in IE and there it was! I made a screen shot but can't figure out how to attach it. I see that a troubleshooter of some sort (window below) says I have "GreatArcade Hits" Add-on so I seem to have it even though it does not show up on the Add-ons--probably not a good sign.
See this - http://malwaretips.com/blogs/remove-toparcadehits-virus/
-
How can I use the property 'top left visible cell' in a table?
Hi! I use a table in my program and I want to show the top left cell of the table every time when the user clicks a button .I don't know how to do this. If I use a multicolumnListbox I can select the property 'top left visivle cell'. Is it possible with a table ?
Thanks for any help.Yes, it's possible - use the "index value" property to set top-left cell for arrays and tables. See example attached.
Attachments:
Index_value_ex.vi 30 KB -
How can I find out what top level VI TestStand cannot find a sub-VI for?
I am trying diligently to build a TestStand deployment and keep getting errors. TestStand is telling me that an error has occurred because it cannot find a sub-VI in a certain path. The problem is it does not tell me what VI it cannot find a sub-VI for. It just gives me the path that it is trying to find the sub-VI in. Is there any way I can tell what top level VI in a sequence TestStand is trying to find the sub-VI for? Thanks in advance for any help.
Josh - I did not have any disbale diagram structures in the sub-VIs that were giving me trouble. Nor did I have any read only VIs. I mass compiled my entrire directory structure...twice. I had no choice but to go through every single sequence and open every VI. Once opened there were three that did not have the correct directory for a sub-VI and need saved. There were no errors due to a Labview mismatch. For some reason these three VIs did not save the sub-VIs new directory therefore causing trouble during my TestStand deployment build process. The thing I find odd about this is there are hundreds of other VIs that use these same sub-VIs in the same new directory that mass compiled fine. I am continuing my TestStand deployment build process and I will see how it goes from here. I definitely got further, after finding these three errros, than I have before. Thanks for the help.
-
How can I have text on top of an image?
say i want to do something like this for my site:
http://www.whspconsumercare.com/images/RxDesign.jpg
what would be the best way to have those colored rounded
boxes in the background, and be able to type or place an image over
it? I tried having it as the background image, and putting the text
in a <div>, but this way the text is not always positioned
properly depending on how large the browser window is, etc.
any suggestions?quote:
Originally posted by:
Newsgroup User
http://www.html.it/articoli/niftycube/index.html
ATTN Alan Smithee (or anyone else who has used the Nifty
Corners site above or just knows a lot about CSS/html) -
I have still not been able to figure out the problems I'm
having with my rounded boxes:
http://www.whsprx.com/indexRcorners.html
mostly, you'll see the orange box on top is messed up right
below the image. I'm not sure why, because the other boxes that
have images look fine. Help please?
(let me know if there's any additional info I can provide
that might help) -
How can i place button on top right hand corner of the tabbed pane
Hi all,
i want to place button on top right hand corner of the tabbed pane, just run the code below, i have add button(it going to insert tab into tabbedpane), i want to place that tab into top right hand corner of the tabbedpane (not inside the tab itself). if i set tab policy setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT), it will give two button at right hand corner along with those buttons i want to and one more add button.
please suggest so that i can move forward.
Thanks in advance
import java.awt.Dimension;
import java.util.HashMap;
import javax.swing.JPanel;
import javax.swing.JTabbedPane;
* @author Dayananda.BV
public class TabpaneDemo extends javax.swing.JFrame {
/** Creates new form TabpaneDemo */
HashMap<Integer, tabpanel> panelMap = new HashMap<Integer, tabpanel>();
public TabpaneDemo() {
initComponents();
createFloorPlan();
getContentPane().setPreferredSize(new Dimension(400,400));
jTabbedPane1.setTabLayoutPolicy(JTabbedPane.SCROLL_TAB_LAYOUT);
/** This method is called from within the constructor to
* initialize the form.
* WARNING: Do NOT modify this code. The content of this method is
* always regenerated by the Form Editor.
// <editor-fold defaultstate="collapsed" desc=" Generated Code ">
private void initComponents() {
jTabbedPane1 = new javax.swing.JTabbedPane();
add_tab_button = new javax.swing.JButton();
setDefaultCloseOperation(javax.swing.WindowConstants.EXIT_ON_CLOSE);
add_tab_button.setText("+");
add_tab_button.setMargin(new java.awt.Insets(0, 0, 0, 0));
add_tab_button.addActionListener(new java.awt.event.ActionListener() {
public void actionPerformed(java.awt.event.ActionEvent evt) {
add_tab_buttonActionPerformed(evt);
javax.swing.GroupLayout layout = new javax.swing.GroupLayout(getContentPane());
getContentPane().setLayout(layout);
layout.setHorizontalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 400, Short.MAX_VALUE)
.addGroup(javax.swing.GroupLayout.Alignment.TRAILING, layout.createSequentialGroup()
.addContainerGap(308, Short.MAX_VALUE)
.addComponent(add_tab_button, javax.swing.GroupLayout.PREFERRED_SIZE, 25, javax.swing.GroupLayout.PREFERRED_SIZE)
.addGap(67, 67, 67))
layout.setVerticalGroup(
layout.createParallelGroup(javax.swing.GroupLayout.Alignment.LEADING)
.addGroup(layout.createSequentialGroup()
.addComponent(add_tab_button)
.addGap(8, 8, 8)
.addComponent(jTabbedPane1, javax.swing.GroupLayout.DEFAULT_SIZE, 292, Short.MAX_VALUE))
pack();
}// </editor-fold>
private void createFloorPlan(){
tabpanel floorplan_Panel = new tabpanel(panelMap.size()+1);
panelMap.put(floorplan_Panel.getTabIndex(), floorplan_Panel);
jTabbedPane1.add(floorplan_Panel, floorplan_Panel.getTabName());
jTabbedPane1.setSelectedIndex(jTabbedPane1.getTabCount()-1);
private void add_tab_buttonActionPerformed(java.awt.event.ActionEvent evt) {
createFloorPlan();
* @param args the command line arguments
public static void main(String args[]) {
java.awt.EventQueue.invokeLater(new Runnable() {
public void run() {
new TabpaneDemo().setVisible(true);
// Variables declaration - do not modify
private javax.swing.JButton add_tab_button;
private javax.swing.JTabbedPane jTabbedPane1;
// End of variables declaration
class tabpanel extends JPanel{
private int tabIndex = 0;
private String tabName ;
public tabpanel(int tabIndex) {
this.tabIndex = tabIndex;
if(tabIndex >= 10) {
tabName = "Floor Map"+tabIndex;
} else{
tabName = "Floor Map"+tabIndex+" ";
public int getTabIndex(){
return tabIndex;
public String getTabName(){
return tabName;
}Thanks
Dayananda B VThis part of tabbed pane is not customizable as it lies in the ComponentUI(TabbedpaneUI) portion of the tabbedpane.
But I can point out the place u can change to bring the desired feature into effect.
U can find an Inner class called ScrollableTabSupport
Look for the methods createButtons where u can create extra buttons and add to the tabbed pane.
The Inner class also implements actionListener where u can implement the action for the button u added.
By this method U have to use your own extended TabbedPaneUI which u cant escape from.
Hope this will help u. -
I have an iPod Classic 4th Generation and my click wheel connection is broken and so does not work. I can still play music on my Bose dock station but I cannot choose which album I want to play because I cannot scroll down the playlists. I can just play the first tune in the list or from where I last paused a tune. Is there a way to scroill down the list, including the top menu list, without using the click wheel?
Index Values, I think, is the property you are looking for. Set the index to 0 to be at the top.
There are only two ways to tell somebody thanks: Kudos and Marked Solutions
Unofficial Forum Rules and Guidelines
Maybe you are looking for
-
New columns in Enjoy Preq (ME51N/ME52N/ME53N) overview ALV
Hi all, I want to add some new columns in the overview subscreen of the Enjoy Purchase Requisition transactions (ME21N/ME22N/ME23N). I've added some fields on item level of the PReq, via the enhancement MEREQ001 (in the Customer include CI_EBANDB). I
-
Add row not working when creating tabular form manually
Hi friends, I am trying to create a manual tabular form( with the help of Denes's example). When adding a new row by clicking the add button new row is added and i can enter data in that row. This works fine when there is only one page. Now i have 30
-
Best dual DVI video card for 2009 MP running Windows
Sorry if this question has been posted before, or if I'm in the wrong forum. I searched the Windows Compatibility forum and didn't find the answer. I have a 2009 Mac Pro (8 core) running Windows Server 2008 64 bit. I would like to upgrade the stock G
-
Iphone displaying music sign and USB cord a box pops up iTunes has detected an Iphone in recovery mode You must restroe this Iphone before it can be used w/iTunes...did that 3 different times and still no results...
-
Saving a new .pdf doc that is (a)chapter(s) of a large doc
Is there a way to save only certain chapters from a .pdf doc? These documents have chapters. http://support.spss.com/ProductsExt/SPSS/Documentation/Manuals/16.0/SPSS%20Base%20User's%2 0Guide%2016.0.pdf There is an index on the left. It is possible to