Simple Question Please URGENT

Hello All,
I'm having a little problem in witting an SQL statement.
I'm sure there is a simple solution for it but its just not clicking with me!.
Anywayz,
I'm trying to write a statement that in the FROM clause, there is a formula, and i would like to assign conditions to this formula in the WHERE Clause
Ex:
SELECT DateValue(FLD_AS_STRING) FROM Table1 WHERE ???
I want the statement to convert the FLD_AS_STRING field (which is in string format) to Date format, and in the same time i want to only view fields that it's FLD_AS_STRING is greater than today's date (after it is converted to Date)?
How can i do that in this statement?
Thanks in advance,
Best Regards

who do you mean "we"?Forum members that are quite fed up with people declaring their matters (more) urgent then other people's questions. I'm also one of them.
I just wanted to grab people's attention for helpA simple thread with an appropriate subject line that describes the problem in short and a message that includes enough information to develop a solution for said problem would suffice.
in the same time, it IS urgent, because my work is
based on the solution for this issue...So what about everybody's else work? Not as important as your task?
BTW, i dont see how rude that could be, could you plz
explain!?Just imagine if everyone that wants to grab attention in this forums uses urgent in the subject line. Do you really consider that the way to go?
C.

Similar Messages

  • A simple question please help.

    Hi
    I have 2 textfields and a button. I want to input a number( diameter) in the first textfield  ( inputField) and by clicking on the button (myButton), I want to get the result (circonference) in the second textfield ( inputField1). diameter*3.14. I know it is a simple question, but it comes from a very simple mind. So have mercy on me.
    import flash.display.Sprite;
    import flash.text.TextField;
    import flash.text.TextFieldAutoSize;
    import flash.text.TextFormat;
    import flash.text.TextFormatAlign;
    import flash.events.MouseEvent;
    var inputField:TextField = new TextField();
    var myFormat:TextFormat = new TextFormat();
    myFormat.size = 44;
    inputField.defaultTextFormat = myFormat;
    inputField.restrict = "0-9";
    inputField.maxChars = 6;
    inputField.multiline = false;
    inputField.textColor = 0x000000;
    inputField.border = true;
    inputField.width = 150;
    inputField.height = 50;
    inputField.x = 75;
    inputField.y = 50;
    inputField.borderColor = 0xFF0000;
    inputField.type = "input";
    addChild(inputField);
    var inputField1:TextField = new TextField();
    var myFormat1:TextFormat = new TextFormat();
    myFormat1.size = 44;
    inputField1.defaultTextFormat = myFormat;
    inputField1.maxChars = 1;
    inputField1.multiline = false;
    inputField1.textColor = 0x000000;
    inputField1.border = true;
    inputField1.width = 150;
    inputField1.height = 50;
    inputField1.x = 275;
    inputField1.y = 50;
    inputField1.borderColor = 0xFF0000;
    addChild(inputField1);
    myButton.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_2);
    function fl_MouseClickHandler_2(event:MouseEvent):void
       trace("Mouse clicked");

    use:
    import flash.display.Sprite;
    import flash.text.TextField;
    import flash.text.TextFieldAutoSize;
    import flash.text.TextFormat;
    import flash.text.TextFormatAlign;
    import flash.events.MouseEvent;
    var inputField:TextField = new TextField();
    var myFormat:TextFormat = new TextFormat();
    myFormat.size = 44;
    inputField.defaultTextFormat = myFormat;
    inputField.restrict = "0-9";
    inputField.maxChars = 6;
    inputField.multiline = false;
    inputField.textColor = 0x000000;
    inputField.border = true;
    inputField.width = 150;
    inputField.height = 50;
    inputField.x = 75;
    inputField.y = 50;
    inputField.borderColor = 0xFF0000;
    inputField.type = "input";
    addChild(inputField);
    var inputField1:TextField = new TextField();
    var myFormat1:TextFormat = new TextFormat();
    myFormat1.size = 44;
    inputField1.defaultTextFormat = myFormat;
    inputField1.maxChars = 1;
    inputField1.multiline = false;
    inputField1.textColor = 0x000000;
    inputField1.border = true;
    inputField1.width = 150;
    inputField1.height = 50;
    inputField1.x = 275;
    inputField1.y = 50;
    inputField1.borderColor = 0xFF0000;
    addChild(inputField1);
    myButton.addEventListener(MouseEvent.CLICK, fl_MouseClickHandler_2);
    function fl_MouseClickHandler_2(event:MouseEvent):void
    inputField1.text=String(Math.PI*Number(inputField.text));

  • Help with Forte: very simple question, please help!

    I recently downloaded the community version of Forte (Sun One) but can't seem to get any new empty class programs to execute properly. I know something is probably not set up right, which is why I really need a little help to get started. Regardless of the code I try to execute, the output error is always:
    "java.lang.NoClassDefFoundError: (name of program)
    Exception in thread "main" "
    Please let me know what I'm not doing right. I would really appreciate anybody's thoughts on this problem because I would love to get Forte working so I can start learning Java. Thanks for your input!

    I would tell you that Forte is not a tool for the beginner. you should look at something simpler. Forte is a fully integrated development environment. I would look at a simple editor like emacs, available at gnu.org. The commands of this editor are quite difficult to get use to.
    As for setting the class varialbe. It depends on the O/s that you are using. win98/me is different than NT/xp. Need to know one or the other before explaining.
    email me if you have question. email address is in my profile.

  • Real simple question, please!

    I want to record podcasts on my G5 (with or without the built in mike) but want to use theme music which I own (purchased, commissioned) as an intro and then again at the end when I'm done.
    Is there an idiot proof software that lets me do this with no learning curve to speak of? I saw the tutorial on Garage Band and it seemed easy if you use the built in music loops, but what about mp3 files I own that are currently on itunes?
    Can anyone tell me the best way to make these kinds of simple podcasts?
    Thanks so much!
    dr. Jonny

    The text will be in the template file somewhere.
    I assume you are searching the elements on the stage, try
    searching the elements in the library. Double check the
    actionscript as well just in case the text is dynamically produced
    through that. Rest assured, the text will be there somewhere.
    Good luck.

  • Simple Question -- Please reply

    I have a web page where i have to upload test.jpg evey time. So instead of
    giving <input type=file name=filnename> & browse the file
    everytime i wrote
    < input type =file name=filename value="c:\test.jpg> but is it not working.
    Still i have to browse the c:\test.jpg for uploading.
    so is there any way to set the value (as a string or whatever) to <input type=file name=filename value="test.jpg">
    please help
    amitindia

    You are posting in the wrong forum. This is a java forum not a htm/javascript/any other.
    Besides that, you should not use uri pointing to local hard drivers for the could will run in the cliente machine where you do not know where things are.
    May the code be with you.

  • Simple question please

    Hi All
    I'm new to Generics but not new to Java.
    Let A and B represent classes or interfaces
    why the following is true:
    A<B's subclass> is subclass of A<? super B>
    I don't udnderstand why the above is correct
    please help me
    Thank u in advance

    JAddicted wrote:
    A<B's subclass> is subclass of A<? super B>It's not, who says so?
    Easy check (let C <: B):
    A<? super B> a = new A<C>();won't compile.
    Concrete example that does not compile:
    ArrayList<? super Number> a = new ArrayList<Integer>();What is true, though: If C <: B, then A<B> <: A<? super C>
    More on subtypes in Generics:
    http://www.angelikalanger.com/GenericsFAQ/FAQSections/TechnicalDetails.html#Which%20super-subset%20relationships%20exist%20among%20wildcards?

  • Simple question, please help

    I just need to know right now can SSL be used for secure FTP to send commands and data over separate channels, and if so, how? I want to replace a simple FTP socket connection with a secure one, nothing fancy. I don't want to use HTTP unless I absolutely have to. Any advice would be appreciated.

    Has anyone evaluated all the different options available and found the better alternatives? I have found SSH Communications Security's SSH Secure Shell, RSA Security's BSafe SSL-J, ValiCert's SecureTransport (a.k.a. FileDrive) and others. I haven't compared them in detail yet and was hoping to get some advice from others out there who are doing the same sort of thing.

  • Help with a simple question-please

    Forgive me if this has been covered already, it seems like such a simple request but I can not find any simple answers...
    I am currently using the trial version of acrobat 9.. I am considering buying. I want to create fillable PDF forms(for personal use). When I fill them them out I want to be able to email the filled out form, and save a copy of the filled out form. Can I do this? If yes how?
    Basically, i want to take all my personal forms that I now send out via snail mail(some are order forms, some are claim forms that I send to my insurance co, etc...). I want to make them into fillable pdf's so i can fill them out on my computer and then email them to whoever I choose. Can I do this? How?

    Do you want them to be filled0in with Reader, or Acrobat? To create a form in the first place, you'll need Acrobat. Once you've added the fields and entered the form data, you just have to save it as a new document. You can then attach the document to an email as you would any other type of file. You can also set up a "submit" type button to partially automate the process of saving and attaching a document to an email.
    If you want to create a form that Reader users can fill-in and save, you will have to Reader-enable the document. In Acrobat 9, you do this by opening the document in Acrobat and selecting "Advanced > Extend Features in Adobe Reader...".
    Regarding locking the document, you cannot do it securely with Reader, but you can set up the form so that the fields are set to read-only after it is filled-in but before it is saved. This may require a bit of programming in JavaScript, but it's not too complicated.
    George

  • A very simple question, please help.

    How would I output/print out a string in color rather then the standard black?
    If anyone can help me or point me in the right direction would be greatly appreciated.
    For example for extra clarification, if I want to print out a string "Hello World", how can I print it out in different colors such as in blue or red.
    Output to a JApplet ( TextArea)
    Thanks!
    Edited by: ff4930 on Nov 30, 2007 9:18 AM

    You can change the colour of all the text in a JTextArea by setting its foreground property:
    yourComponent.setForeground.setColor(Color.RED);If you just want have multiple colors in one JTextArea, that's not possible. You will have to use a more advanced component, like JEditorPane or JTextPane:
    http://java.sun.com/docs/books/tutorial/uiswing/components/editorpane.html
    In basic cases, if the text doesn't have to be editable by the user, you can use a JLabel and pass it simple html:
    String text = "<html><font color='red'>red text</font> " +
    "<font color='green'>green text</font> " +
    "<font color='blue'>blue text</font></html>";
    yourLabel.setText(text);

  • html:select and html:options simple question  - please help

    Hi Friends,
    I am having a problem, please help me .I want to run a query and display all the lastnames of all the users in my database.Here are my files:
    UserForm.java
    public class UserForm extends ActionForm{
         private name firstName;
         private name lastName;
         //all getter and setters
    viewuser.jsp
    <html:select property="lastName">
        <html:options collection="users" property="lastName" labelProperty="lastName" />
    </html:select>
    and my Java Utility class method
    public ArrayList getusers() throws Exception {
             ArrayList aList = new ArrayList();     
              Connection con = ConnectionUtil.getConnection();
              PreparedStatement stmt = null;
              try {
                   stmt = con.prepareStatement("select last_name from USERS);     
                   ResultSet rs = stmt.executeQuery();
                      if (rs.next()) {
                          aList.add(rs.getString(1));
                      }else {
                           return null;
                      rs.close();
                      return aList;
              } catch (SQLException e) {
                   e.printStackTrace();
                   throw new ServiceProcessingException(e.getMessage());
              } finally {
                   ConnectionUtil.closeStatement(stmt);
                   ConnectionUtil.closeConnection(con);
         }My problem is what i need to do in my Action class,so that it sets the "users" variable
    properly and i would be able to read that variable in my jsp and display the lastname
    of all the users.I am tryin this but failing badly:
    public class UserAction extends Action{
      ArrayList userssList = Utility_class_obj.getUsers();
      request.getSession().getServletContext().setAttribute("users", usersList);Please Please help,I would really appreciate your help.
    Thanks

    Thanks a lot friend...this time i made it work my style,next time i will use tha mehod.But I think I am not doing it the right way,please correct me:
    This is the method in my utility class where i run the query and I doubt I am not doing it right here:
    PreparedStatement stmt = null;
    ViewForm vForm = null;
    try {
    stmt = con.prepareStatement("SELECT LAST_NAME FROM   USERS_ADD");     \
    ResultSet rs = stmt.executeQuery();          
    while(rs.next()) {
           vForm = new ViewForm(rs.getString(1));          
          aList.add(vForm);          
       rs.close();
       return aList;          }
    }And I made this constructor in my viewForm class:
    public ViewForm(String lastName){          this.setLastName(lastName);     }I do this in my Action class then:
    ArrayList pList = csDAO.getUsers();  
         if(pList  != null){         
         request.getSession().getServletContext().setAttribute("plist", pList);      
    }And finally this in my jsp:
        <html:select property="lastName"> 
        <html: options collection="plist" property="lastName" labelProperty="lastName" /> And it works,but i don't think I can keep adding constructors to my form class like that,and moreoever if I want to search by first name ,there would be a conflict between 2 constructors,so can someone please tell me the right way to do this.
    Thanks
    Mick

  • Auto-re-action method Question (Please Urgent)

    Hi, all
    I have very quick question about Auto-re-action method CCMS, I setup method for "server dialog response time" and changed threshold value to become red and alert create, when I double click on it it shows 10 Alerts with status "Action_Faled" its suposed to be "Action Required" or Action-Running...
    Background job has been created, do you know how do i trace that why it does't work
    Even SMTP works fine, and internal mail works fine...
    Thanks a lot

    please let me know where should I post it
    i am working XI 3.0

  • Simple Question - Need URGENT Answer! II

    What is the cheapest hard drive from this search that's 10GB or higher and would work in a Powerbook 145 or 160?
    Link

    OK, I have decided and this is my shopping list? I think it'll work, right?
    Hard Disk:
    http://cgi.ebay.com/20GB-Hitachi-Travelstar-2-5-Laptop-Hard-Drive_W0QQitemZ32007 0395450QQihZ011QQcategoryZ99248QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
    Powerbook:
    http://cgi.ebay.com/Apple-PowerBook-1400cs-Microsoft-Office-Holds-Charge_W0QQite mZ110077445586QQihZ001QQcategoryZ4606QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
    Ethernet Adapter:
    http://cgi.ebay.com/ASANTE-ETHERNET-TO-LOCALTALK-BRIDGE-FOR-MAC_W0QQitemZ1300670 54134QQihZ003QQcategoryZ25436QQssPageNameZWDVWQQrdZ1QQcmdZViewItem
    SCSI adapter to connect the 1400cs to my AppleCD 300e to install OS8:
    http://cgi.ebay.com/Apple-HDI-SCSI-Adapter-for-G3-Powerbooks_W0QQitemZ2900672130 57QQihZ019QQcategoryZ80052QQrdZ1QQssPageNameZWD1VQQcmdZViewItem
    [366mhz Graphite iBook SE with OS X 10.2.8/9.2.2. Dual Boot] [eMac OS 10.3.9]     [2GB White iPod Nano] [Power Macintosh 4400 OS 8.1] [Mac LC III OS 7.6.0]

  • Simple Question - Need URGENT Answer!

    Would this hard disk work in a PowerBook 1400cs/113 considering that I would divide it into partitions of 8GB and use the left over space for one more partition? And is it the right kind of drive?
    Link to the drive:
    http://tinyurl.com/yboc7t

    I would say no. That looks like a desktop hard drive. The specifications say it's 1 inch tall.
    http://www.samsung.com/Products/HardDiskDrive/SpinPointVSeries/HardDiskDriveSpinPointVSeries_SV3002Hsp.htm
    You need an IDE laptop drive with a maximum height of 17mm. Also keep in mind that the mounting screws on most modern drives will be in the wrong place for your mounting tray. There is a company that sells a drive sled with the correct mouning holes for newer drives.
    http://www.insanely-great.com/features/020121.html
    You are correct about partitioning. You need partitions of less than 8.2 GB. If you're running OS 8.6 or later, you don't need to worry about this size limitation.

  • I am a new in jbuilder 4, a simple question, please help me.

    I want to combine the scroll bar with textarea. I mean that If the content in textarea is very large, I can scroll bar to see it.
    I write the code like this:
    JTextArea jTextArea1 = new JTextArea();
    JScrollBar jScrollBar1 = new JScrollBar(jTextArea1); But the error message is :"Frame1.java": Error #: 300 : constructor JScrollBar(javax.swing.JTextArea) not found in class javax.swing.JScrollBar at line 21, column 32
    The following is the full code:
    public class Frame1 extends JFrame {
      JPanel contentPane;
      BorderLayout borderLayout1 = new BorderLayout();
      JTabbedPane jTabbedPane1 = new JTabbedPane();
      JPanel jPanel1 = new JPanel();
      JPanel jPanel2 = new JPanel();
      JPanel jPanel3 = new JPanel();
      BorderLayout borderLayout2 = new BorderLayout();
      JTextArea jTextArea1 = new JTextArea();
      JScrollBar jScrollBar1 = new JScrollBar();
      JPanel jPanel4 = new JPanel();
      JButton jButton1 = new JButton();
      BorderLayout borderLayout3 = new BorderLayout();
      JTextArea jTextArea2 = new JTextArea();
      JScrollBar jScrollBar2 = new JScrollBar();
      JPanel jPanel5 = new JPanel();
      JButton jButton2 = new JButton();
      /**Construct the frame*/
      public Frame1() {
        enableEvents(AWTEvent.WINDOW_EVENT_MASK);
        try {
          jbInit();
        catch(Exception e) {
          e.printStackTrace();
      /**Component initialization*/
      private void jbInit() throws Exception  {
        //setIconImage(Toolkit.getDefaultToolkit().createImage(Frame1.class.getResource("[Your Icon]")));
        contentPane = (JPanel) this.getContentPane();
        contentPane.setLayout(borderLayout1);
        this.setSize(new Dimension(513, 399));
        this.setTitle("File Integrity Check Tool");
        jPanel1.setLayout(borderLayout2);
        jButton1.setToolTipText("");
        jButton1.setText("Register Files");
        jButton1.addActionListener(new java.awt.event.ActionListener() {
          public void actionPerformed(ActionEvent e) {
            jButton1_actionPerformed(e);
        jPanel2.setLayout(borderLayout3);
        jButton2.setText("Check Files");
        jButton2.addActionListener(new java.awt.event.ActionListener() {
          public void actionPerformed(ActionEvent e) {
            jButton2_actionPerformed(e);
        jTextArea1.setEditable(false);
        jTextArea1.setMaximumSize(new Dimension(513, 399));
        jTextArea2.setEditable(false);
        contentPane.add(jTabbedPane1, BorderLayout.CENTER);
        jTabbedPane1.add(jPanel1, "Register Checkfile");
        jPanel1.add(jTextArea1, BorderLayout.CENTER);
        jPanel1.add(jScrollBar1, BorderLayout.EAST);
        jPanel1.add(jPanel4, BorderLayout.SOUTH);
        jPanel4.add(jButton1, null);
        jTabbedPane1.add(jPanel2, "Check Files");
        jPanel2.add(jTextArea2, BorderLayout.CENTER);
        jPanel2.add(jScrollBar2, BorderLayout.EAST);
        jPanel2.add(jPanel5, BorderLayout.SOUTH);
        jPanel5.add(jButton2, null);
        jTabbedPane1.add(jPanel3, "Help");
      /**Overridden so we can exit when window is closed*/
      protected void processWindowEvent(WindowEvent e) {
        super.processWindowEvent(e);
        if (e.getID() == WindowEvent.WINDOW_CLOSING) {
          System.exit(0);
      }

    yes, I done like this:
    package untitled1;
    import java.awt.*;
    import java.awt.event.*;
    import javax.swing.*;
    public class Frame1 extends JFrame {
      JPanel contentPane;
      BorderLayout borderLayout1 = new BorderLayout();
      JTabbedPane jTabbedPane1 = new JTabbedPane();
      JPanel jPanel1 = new JPanel();
      BorderLayout borderLayout2 = new BorderLayout();
      JTextArea jTextArea1 = new JTextArea();
      JScrollPane jScrollPane1 = new JScrollPane( jTextArea1);
      JPanel jPanel2 = new JPanel();
      JButton jButton1 = new JButton();
      /**Construct the frame*/
      public Frame1() {
        enableEvents(AWTEvent.WINDOW_EVENT_MASK);
        try {
          jbInit();
        catch(Exception e) {
          e.printStackTrace();
      /**Component initialization*/
      private void jbInit() throws Exception  {
        //setIconImage(Toolkit.getDefaultToolkit().createImage(Frame1.class.getResource("[Your Icon]")));
        contentPane = (JPanel) this.getContentPane();
        contentPane.setLayout(borderLayout1);
        this.setSize(new Dimension(400, 300));
        this.setTitle("Frame Title");
        jPanel1.setLayout(borderLayout2);
        jTextArea1.setText("jTextArea1");
        jButton1.setText("jButton1");
        contentPane.add(jTabbedPane1, BorderLayout.CENTER);
        jTabbedPane1.add(jPanel1, "jPanel1");
        jPanel1.add(jTextArea1, BorderLayout.CENTER);
        jPanel1.add(jPanel2, BorderLayout.SOUTH);
        jPanel2.add(jButton1, null);
        jPanel1.add(jScrollPane1, BorderLayout.EAST);
      /**Overridden so we can exit when window is closed*/
      protected void processWindowEvent(WindowEvent e) {
        super.processWindowEvent(e);
        if (e.getID() == WindowEvent.WINDOW_CLOSING) {
          System.exit(0);
    }But it is still not show the scroll bar on the right of textarea.
    what is the problem.

  • Simple question but urgent help needed....

    I am using Sqlplus i need help on one query. I have got table with 34,000 rows and i would like to findout the frequency frm that table...can anyone help me plz how shud i do it?
    I have all this field in my table ( PROD_ID CUST_ID TIME_ID PROMO_ID QUANTITY_SOLD AMOUNT_SOLD)
    I need to find out the frequency for quantity sold column can some1 help me plz.
    Message was edited by:
    user562879

    SQL> create view v as select column_value as item from table(integer_tt(17, 17, 14, 16, 15, 24, 12, 20, 17, 17, 13, 21, 15, 14, 14, 20, 21, 9, 15, 22, 19, 27, 19));
    View created.
    SQL> select * from v;
          ITEM
            17
            17
            14
            16
            15
            24
            12
            20
            17
            17
            13
            21
            15
            14
            14
            20
            21
             9
            15
            22
            19
            27
            19
    23 rows selected.
    SQL> @count item v
          ITEM      TOTAL    %
             9          1    4
            12          1    4
            13          1    4
            14          3   13
            15          3   13
            16          1    4
            17          4   17
            19          2    9
            20          2    9
            21          2    9
            22          1    4
            24          1    4
            27          1    4
    13 rows selected.
    SQL> @cardinality item v
    Occurrences Groups with this cardinality   Total rows Proportion
               1                            7            7         30
               2                            3            6         26
               3                            2            6         26
               4                            1            4         17
                                                        23        100
    4 rows selected.

Maybe you are looking for

  • Receiver Determination Problem In Mail to File Scenario.

    Hi All, I am trying to do Mail to File Scenario. I defined two business systems, one s/w component in SLD and in IR I defined a DataType , MessageType and Two MessageInterfaces. In ID these are mail adapter settings I gave :- Message Protocol :- POP3

  • Album by Artist Sort Column

    If you are trying to sort using the ALBUM column, and it appears as ALBUM BY ARTIST, which mine did, you will notice that compilation albums will scatter throughout the column. The album will not be grouped as it should be like a normal album. here's

  • Acrobat replacement?

    I'm tired of the compromises that I have made over the years for features of Acrobat Standard that don't work. I am using version 9.4.5. My current problems are: 10 to 15 seconds to open a PDF file;  frequent crashing of the program; Acrobat freezing

  • Not able to start managed server

    Hi All, soa_suite 11.1.3.0, While starting managed server i am getting below errror, Caused By: oracle.security.jps.JpsRuntimeException: JPS-01538: The default polic y provider was not found.         at oracle.security.jps.internal.policystore.Policy

  • Error while Upgrading to 9.2.0.8

    Hi Experts, I'm trying to upgrade my current version of oracle "9.2.0.1" which is running on a Solaris box, to "9.2.0.8" not able to succeed. Can any body help me to solve my problem???? Thnx & Regards Sunil