SQL Editor in JSP

Hello,
I want to develop a Complete SQL Editor in JSP..
So please help me..
My mail id is [email protected]
Jeeva

Hello Freinds,
Thanks for ur reply..
Now
I have to develop a SQL Editior.
In this editor,
we have to add Tables,change the fields name,type in the particular table.. and executing all types of query(Select,Update) and etc..
I can execute all type of queries.. But haw can i add tables and change table field types dynamically..
it is possble in Coldfusion..But i dont know about JSP..
So,, U have any idea Plz help me..
jeeva

Similar Messages

  • Pl/sql editor navigation bar

    hi!
    Is it possible to have the navigation bar for pl/sql editor in Visual Studio inside an Oracle Database Project?
    The navigation bar is visible if I open a package body from server explorer, but not if I open the generated create script.
    The navigation bar option is disabled in Tools / Options / Text Editor / Oracle pl/sql
    Any hints?
    thx in advance,
    Balint

    Create an application item and select your real user name into it within the post authentication process (part of your authentication process). Reference &APP_ITEM. instead of &APP_USER.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • SQL query with JSP and WML-parameters

    Hey,
    Could you help me?
    I'm trying to do the following. WML deck card 1 send parameter to same WML deck's card help. I try to read the parameter with JSP in card help by putting the parameter to SQL query, but it doesn't work. I can read the parameter with WML in card help. I can also print the value of the parameter with JSP if I generate WML with JSP.
    /*parameter sending from card 1 to card help*/
    out.println("<go href='#helpcard'>");
    out.println("<setvar name='valittukurssi' value='$(valittukurssi)'/>");
    /*parameter read with WML in card help */
    <p>Valitse kurssi.
    $valittukurssi</p>
    /'parameter read with JSP by generating WML with JSP*/
    out.println("<p>$valittukurssi</p>");
    /* SQL query with JSP */
    ResultSet uudettulokset = uusilause.executeQuery("select * from kurssi where lyhenne='$valittukurssi'");
    Thanks,
    Rampe

    You're problem is easy to fix. You're confusing WML variables with JSP variables. See below:
    >
    /*parameter sending from card 1 to card help*/
    out.println("<go href='#helpcard'>");
    out.println("<setvar name='valittukurssi'
    value='$(valittukurssi)'/>");
    Above you set a var that will work on the phone, not in JSP.
    /*parameter read with WML in card help */
    <p>Valitse kurssi.
    $valittukurssi</p>
    Yes the above does display the parameter, because it is a client side WML var, but you cannot use this variable in the JSP code (that's why your SWL fails).
    /'parameter read with JSP by generating WML with
    JSP*/
    out.println("<p>$valittukurssi</p>");Here's you're problem, the above line is EXACTLY the same as the one before it. When the container parses through this JSP code it translates the above line to:
    <p>$valittukurssi</p> on the WML page and the CLIENT uses it's local variable to display it.
    What you need and want is to have a variable that can be used in JSP code and output to your WML page. Here's how it's done:
    out.println("<go href='#helpcard'>");
    String some_name = "valittukurssi";
    out.println("<setvar name='"+some_name+"'
    value='$("+some_name+")'/>");
    //note that you may have to escape the ( and ) with a \
    //so we displayed the variable above into the WML page, now we can use it in the SQL query:
    /* SQL query with JSP */
    ResultSet uudettulokset =
    uusilause.executeQuery("select * from kurssi where
    lyhenne='"+some_name+"'");//the end of the command is: " ' " ) ;
    Frank Krul
    Got Node?

  • How to make a file to be opened in PL-SQL Editor of SQL Developer

    How to open a package file (.pkg) in sql Developer's PL-SQL Editor?
    Tried creating a new file type with Extension as .pkg and file type as PlSqlNode.
    Could open the file and found some of the features of plsql editor, such as find, compile... but could not differentiate the font colors.
    How should we go about in having the file opened with different font colors (for identifier, builtin....?
    Thanks.
    K.Nataraja Suthan,

    I guess you're running into another known bug in this file-based battlefield.
    Opening files won't colour the code until having opened some code from the DB first. Can you try that?
    On a sidenote, I've had really bad experiences with external files (both compiling to DB and saving to file incorrectly, not showing errors, etc.). In the end the only safe thing to do is work directly on the DB, saving your progress now and then to file.
    Regards,
    K.

  • PL/SQL error in JSP Reports

    Hi,
    I am trying to create a simple PL/SQL in a JSP report thar returns a column's value as below:
    Return :RES_COM_CODE ;
    I am getting an error as below:
    javax.servlet.jsp.JspException: REP-0724: Cannot get the value of Column 'RES_COM_CODE' here. REP-1401: 'cf_1formula': Fatal PL/SQL error occurred.
    Can someone please tell me how to solve the error above? The CF_1 is in the same group as 'RES_COM_CODE' .
    Thank you in advance.
    Cheers,
    Tan

    it seems to be a bug in oracle.
    you need to apply the patchset 9.0.4.1 to get this issue resolved.
    .0.4.1 3240140 This fix will solve the REP-0724 error (and engine crash/hang) which you web only report and formula column accessing database columns in the group

  • How to change the font and colour of the PL/SQL Editor in forms

    Hi All,
    I am fed of viewing the small fonts in the PL/SQL Editor. I am feeling stress
    in my eyes daily...Please any body help me how to change the color and font
    of the PL./SQL editor in oracle forms 6i..Thanks in Advance...

    Hi
    Thanks for the reply..
    But I personally feel that Oracle people should have done this since
    any editor should allow us to change the font and colour...any way lets
    hope that in the future releases that may happen...
    Raghu

  • How to define the tab space in the PL/SQL editor with Oracle Forms 4.5?

    When I use the PL/SQL editor with Oracle Form Builder, I found the tab space is very long that affects my programs readability quite a lot. Then, I tried to use Textpad to type my program. It looks fine with Textpad. However, when i tried to 'cut and paste' my code back to the PL/SQL editor, all tab spaces (approx. 8-character) are detected and the program looks awful again ~~ Would any one help me to solve my mentioned problem?
    Thanks for any advices!

    In 4.5 you cannot change this. In Forms 5.0 and above there is a registry value DE_PREFS_TABSIZE which allows you to set a value for the tabsize.

  • Call PL/SQL packages in JSP

    I would like to call PL/SQL packages in JSP. I am new in Java world. So, kindly tell code about to call packages from oracle. I will be thankful to all those experts who will help a student such as me.
    I will be anxious to your response.
    plz
    plz

    Dear sir,
    I am really thankful to you. I have to verify password in oracle.
    Id and password verification is writting in package's function. Id and password are oracle users. Like scott in Oracle. I think it is possible.
    Kindly assist me.
    If u feel easy then kindly contact me at [email protected] or tell me your email address. Plz

  • SQL*Loader in JSP

    SQL LOADER in JSP i know Oracle 10g have a utility sqlldr
    Can i submit file(CSV) from a remote client to server which can be than upload into Oracle DB.
    i know how to upload file into root directory
    How can i use JSP to run sqlldr on server so that the process become automatic.
    I know how to give command sqlldr in Command prompt but what is the scripting on JSP so that sqlldr can run and csv file get uploaded.
    where from i can info about it please let me know if you have any idea
    thanks
    Message was edited by:
    UDAY

    Hi
    Can you please check that is it possible to execute OS commands in JSP ??
    If possible then you can very well execute SQLLDR in JSP .
    thanks
    Note : This is Oracle database general forum.

  • SQL editor with tree view

    We are working on some extraordiary long SQL stored procedure. Due to the shear size and IF/ELSE nesting it is very tedious to understand the logic .
    What I am looking for is an SQL editor with tree view, where we can see IF/ ELSE, LOOP etc block as nodes. For example expand a node and see all blcoks of code within it.
    + IF block 1
    expand---
    -IF blcok 1
    +IF block 1.1
    +IF block 1.2
    further expand
    -IF blcok 1
    +IF block 1.1
    -IF block 1.2
    IF block 1.2.1

    Do some Google searches for a text editor that supports "folding".

  • Changing Font in Oracle Forms 9i PL/SQL Editor

    Hi,
    My fonts in PL/SQL Editor(Where we write code for triggers and Program Units) got changed some how and now the font is very very small and it is very difficult to read. i want to restore the original font !!! Please mail how i can change the font.
    Kind regards,
    Vincent

    did you change the properties of the desktop/videocard? Like resolution and big/small fonts in advanced settings of the desktop.

  • 30EA3: F3 (find next) not working in PL/SQL editor

    F3 (find next) appears not to be working in PL/SQL editor - works in worksheet, though.

    I am on Win7Pro(32bits). F3 works with 2.1, worked with 3EA2. On 3EA3, even though it showed in "shortcut keys", I still had to "override" it (in effect, confirm) in the preferences before it worked. Weird...

  • SQL problem with JSP

    In sql statements with JSP. Heres the deal:
    Access database:
    Tablename: EVENT
    FieldName: event_id
    DataType: Number
    I want to compare the event_id to an integer variable called "var" in a WHERE clause in an SQL statement through a JSP.
    String query = "SELECT * FROM EVENT WHERE EVENT.event_id = 'var' ";
    It says "Data type mismatch in criteria expression."
    Any Suggestions? I thought this should be straight forward! am i missing something?

    if i am reading correctly "var" is an int variable correct? If this is the case then the following will work;
    String query = "SELECT * FROM EVENT WHERE EVENT.event_id = " + Interger.toString(var) ;
    Hope that helps ( and i hope i read your problem correctly)

  • BUG: Unit Testing Process Validations SQL editor - extra spaces appended

    There is a bug in the SQL editor used by Unit Testing Process Validations.
    To re-create:
    Create a Validation with some multi-line SQL and save:
    select *
    from DUAL
    where 1=1
    Click on a different Validation, and then click back onto the Validation just created. SQL Developer will have appended a space to all the lines except the last one. Edit the Validation and save:
    select *
    from DUAL
    where 1=2
    When you navigate to a different validation and back, SQL Developer will have appended an extra space to each line. This can be repeated - each time an extra space will be added.

    There is a bug in the SQL editor used by Unit Testing Process Validations.
    To re-create:
    Create a Validation with some multi-line SQL and save:
    select *
    from DUAL
    where 1=1
    Click on a different Validation, and then click back onto the Validation just created. SQL Developer will have appended a space to all the lines except the last one. Edit the Validation and save:
    select *
    from DUAL
    where 1=2
    When you navigate to a different validation and back, SQL Developer will have appended an extra space to each line. This can be repeated - each time an extra space will be added.

  • Error on using CLOB in Report's PL/SQL Editor

    Hi Guys,
    I am using the Reports 9i (2.9.0.1.0) and using a field in Format Trigger to check is null or not. Field's datatype is CLOB. I am getting error on using this field in PL/SQL Editor otherwise data is showing on Layout Editor nicely.
    Does CLOB is not support in PL/SQL in Report Writer? Any Solution or work around?
    Thanks in Adv.

    I see Scott,
    well, the tricky bit is in that one must guess the maximum number of elements as one cannot just truncate the string somewhere because it is made up of html tags.
    What is the maximum string length permitted inside substitution strings?
    May be I can work around the problem by using substitution strings placed inside the "custom heading", instead of using the PL/SQL heading.
    That would also make the heading easier to maintain, by separating each column logically.
    At any rate, I'd say that CLOBs are a possible alternative that you should be willing to support in a future release of HTML DB.
    Thanks and bye,
    Flavio

Maybe you are looking for

  • How do you clone the install disk?

    i was reading in another post about installing the OS over a network and the solution given was to install to an Ext. Firewire drive and clone the installed OS to the firewire drive then clone it again onto the target mac. this solution may not work

  • Need to get the file name at the time of polling

    Hi... I am transferring the data from csv file to database. I put the file in a directory. File adapter will read that file for every 2 minutes. I have a column name in database to which I need to map the incoming file name. Here my requirement is: h

  • Problems for iTune gifts to be redeemed easily,safely and swiftly

    It is very hard to hunt for the paid iTune apps all the day long.I have received iTune gifts from my brother from London and it can not be redeemed from Pakistan. Since there exists no facility in Pakistan to buy apps directly and I have to use the l

  • How to exclude # for a Characteristic Varible

    Hello , I am working on BI 7.0  BEx. I have a Profit Center object in the query and a variable is also present on it. Now the issue is User do not want the # to be displayed while executing the query in the values of Profit Center. I tried to put Pro

  • Can't find saved slide show

    I created a slide show in Photoshop Elements.  Saved it as "Untitled Slide Show."  The message said in order to retrieve the project, go to media browser and use the date the slide show was created.  I don't know where to find Media Browser.  Help!