How to store  tree nodes in data base

i am creating a tree with create node and delete node dynamically
how can i store the tree nodes in the data base and how can i retrive them from data base to tree and tree table

Thank s for replay
I am tring to the tree nodes and Dynamically creating and removing the nodes from the tree that tree structure have to store in the data base and after wards retrive the tree structure from the database and display as the tree

Similar Messages

  • How to store .doc file in data base

    which datatype in MS SQl should i use to store word file

    Thank s for replay
    I am tring to the tree nodes and Dynamically creating and removing the nodes from the tree that tree structure have to store in the data base and after wards retrive the tree structure from the database and display as the tree

  • How to store the flat file data into custom table?

    Hi,
    Iam working on inbound interface.Can any one tell me how to store the flat file data into custom table?what is the procedure?
    Regards,
    Sujan

    Hie
    u can use function
    F4_FILENAME
    to pick the file from front-end or location.
    then use function
    WS_UPLOAD
    to upload into
    AT SELECTION-SCREEN ON VALUE-REQUEST FOR p_file.
      CALL FUNCTION 'F4_FILENAME'   "Function to pick file
        EXPORTING
          field_name = 'p_file'     "file
        IMPORTING
          file_name  = p_file.     "file
      CALL FUNCTION 'WS_UPLOAD'
       EXPORTING
         filename                       = p_file1
        TABLES
          data_tab                      = it_line
    *then loop at it_line splitting it into the fields of your custom table.
    loop at it_line.
              split itline at ',' into
              itab-name
              itab-surname.
    endloop.
    then u can insert the values into yo table from the itab work area.
    regards
    Isaac Prince

  • How to store and retrieve blob data type in/from oracle database using JSP

    how to store and retrieve blob data type in/from oracle database using JSP and not using servlet
    thanks

    JSP? Why?
    start here: [http://java.sun.com/developer/onlineTraining/JSPIntro/contents.html]

  • How Many  NUMBER Fields Can SINGLE DATA BASE TABLE CONTAIN

    How Many  NUMBER Fields Can SINGLE DATA BASE TABLE CONTAIN

    Hi
    One Database table contain 249 Fields.
    Rewards Points if useful..
    Regards
    Nikunj Shah
    Edited by: Nikunj Shah on May 13, 2008 1:08 PM

  • How can I insert images in data base?

    Hi!!
    I don't know what i need to do.
    My problem is that I need to save images in the data base but I don't know how. The images are from autopart catalogues.
    Thanks for your help

    Hi,
    Here is the example which uses dbms_lob utility to insert an image into the database.
    Create a table to store the blobs:
    create table blobs
    ( id varchar2(255),
    blob_col blob
    Step 2.
    Create a logical directory in the database to the physical file system:
    create or replace directory MY_FILES as 'c:\images';
    Step 3.
    Create a procedure to load the blobs from the file system using the logical
    directory. The gif "aria.gif" must exist in c:\images.
    create or replace procedure insert_img as
    f_lob bfile;
    b_lob blob;
    begin
    insert into blobs values ( 'MyGif', empty_blob() )
    return blob_col into b_lob;
    f_lob := bfilename( 'MY_FILES', 'aria.gif' );
    dbms_lob.fileopen(f_lob, dbms_lob.file_readonly);
    dbms_lob.loadfromfile( b_lob, f_lob, dbms_lob.getlength(f_lob) );
    dbms_lob.fileclose(f_lob);
    commit;
    end;
    Regards
    Anand
    null

  • Tree node retrieving data for the 1st node only for 3 data blocks ?!

    Hello alllll
    i have 3 DATA BLOCKS MAster-Detail-Detail ; GL_TYPES -< GL_ACCOUNTS -< GL_COMPANIES
    The Rel between 1 & 2 is
    GL_ACCOUNTS.TYPE_ID = GL_TYPES.TYPE_IDThe Rel between 2 & 3 is
    GL_COMPANIES.ACCOUNT_ID = GL_ACCOUNTS.ACCOUNT_IDi also have a Treewhich is retrieving data in the opposite data blocks the following code used in WHEN-TREE-NODE-SELECTED Trigger and it works fine but not for every node ;
    the node selected shows data for the first node only; Say Assets but if i selected any other node it doesn't return any data ?
    could any boady pls explain to me why is that happening ?
    The following code is:
    DECLARE
            htree ITEM;
            NODE_VALUE VARCHAR2(100);
    BEGIN
    IF :SYSTEM.TRIGGER_NODE_SELECTED = 'TRUE' THEN 
    -- Find the tree itself.
    htree := FIND_ITEM ('BL_TREE.IT_TREE');
      NODE_VALUE := FTREE.GET_TREE_NODE_PROPERTY( htree, :SYSTEM.TRIGGER_NODE ,  Ftree.NODE_VALUE );
      GO_BLOCK ('GL_ACCOUNTS');
       set_block_property('GL_ACCOUNTS', DEFAULT_WHERE, 'GL_ACCOUNTS.ACCOUNT_ID = '  ||
       ftree.get_tree_node_property('BL_TREE.IT_TREE', :SYSTEM.TRIGGER_NODE, FTREE.NODE_VALUE));
    EXECUTE_QUERY;
    END IF;
    END;
    Regards,
    Abdetu...

    Hello Ammad Ahmed
    Thanks really for reply ,i appreciate... :)
    Can you explain little more what is the meaning of this?a tree block on canvas beside 3 data blockS out of 2 tables as follows
    SQL> desc GL_ACCOUNTS
    Name                                      Null?    Type
    ACCOUNT_ID                                NOT NULL NUMBER(10)
    TYPE_ID                                   NOT NULL NUMBER(1)
    ACCOUNT_NAME                              NOT NULL VARCHAR2(100)
    IS_CLOSED                                 NOT NULL NUMBER(1)
    ACCOUNT_ID_PARENT                                  NUMBER(10)
    SQL> desc GL_COMPANY_COA
    Name                                      Null?    Type
    ACCOUNT_ID                                NOT NULL NUMBER(10)
    COMPANY_ID                                NOT NULL NUMBER(2)only table GL_ACCOUNTS has a self rel so on data blocks on forms i have out of these 2 tables 3 data blocks in the following order
    GL_ACCOUNTS_PARENT on GL_ACCOUNTS has a where clause on it's property;
    account_id in ( select distinct account_id_parent from gl_accounts ) on GL_ACCOUNTS_PARENT block i am displaying on 1 row:
    1. the account_id ,
    2. the account
    3. name and account_type_name in a LOV
    on the second block GL_ACCOUNTS depending on the GL_ACCOUNTS table also am displaying muti rows :
    1. the account_id ,
    2. the account
    and a relation on form
    GL_ACCOUNTS.TYPE_ID = GL_ACCOUNTS_PARENT.TYPE_ID AND
    GL_ACCOUNTS.ACCOUNT_ID_PARENT = GL_ACCOUNTS_PARENT.ACCOUNT_IDon the third block GL_COMPANY_COA depending on the table GL_COMPANY_COA
    am displaying the company_id & company_name in multi_rows
    GL_COMPANY_COA.ACCOUNT_ID = GL_ACCOUNTS.ACCOUNT_ID
    how the data will be looking in data blocksam using the following link -> Large trees - using partial tree population
    http://andreas.weiden.orcl.over-blog.de/article-29307730.html
    PROCEDURE PR_FILL_TREE IS
        CURSOR crTop IS
          SELECT ACCOUNT_ID VALUE,
                 ACCOUNT_NAME LABEL
            FROM GL_ACCOUNTS
           WHERE ACCOUNT_ID_PARENT IS NULL
           ORDER BY type_id, ACCOUNT_id;
        nd FTree.NODE;
      BEGIN
          Ftree.DELETE_TREE_NODE(itTree, FTree.ROOT_NODE);
          FOR rec IN crTop LOOP
              nd:=FK_ADD_NODE(Ftree.ROOT_NODE, rec.VALUE , rec.LABEL);
              PR_QUERY_DETAILS(nd, rec.VALUE);
          END LOOP;
      END;
      if any unclear... pls notify me...!
    Regards,
    Abdetu...

  • How to store this value in date variable?

    Hi sir,
    i am having one query which is
    select to_char(date '1900-01-01' + 1439/(24*60),'DD/MM/YYYY HH24:MI:ss')from dual;
    when i am running this query i am getting this value: 01/01/1900 23:59:00
    and this value i am inserting in one variable which has date datatype.
    here i am storing like this:
    v_nshiftmax := to_char(date '1900-01-01' + 1439/(24*60),'DD/MM/YYYY HH24:MI:SS');
    while storing getting error: not a valid month
    how to store it in this variable?
    thanks

    964430 wrote:
    why using TO_DATE (), to improve performance avoid function calling if you can do without it, just use v_nshiftmax := date '1900-01-01' + 1439/(24*60); remove TO_CHAR() function only, as you already converted it to date.Please prove to us that TO_DATE(...) is slower that using DATE '...'
    Both are internal functions that take a string and turn it into a date.

  • How to check the validation at data base level as well as current user ente

    Dear all
    i have creation page in that item code will not enter the duplicate values
    in that creation page contains advanced table
    user will click on create 15 blank records using add another row
    suppose in first row user will enter LAPTOP assume this item code
    in this case i need to raise exception through databse level
    in second row also user enter LAPTOP1 in this case exception will not raise becaause data is not there at databse
    in third row user will enter LAPTOP1 in this case item is not there in data base but it is there in second row in this case
    i need to raise exception
    how to achieve this
    Thanks in Advance
    Sreekanth

    You can validate this in form submission.
    1. Call a method in AMImpl.java
    2. loop the ViewObjects and check the values
    3. If you find a match, throw the error
    --Prasanna                                                                                                                                                                                                                                                                                                                                                                   

  • How to store and retrieve clob data fields

    Hai al l,
    How to sotre resumes of a Jobseekers in Oracle Data Base.Which version is enough(8i or 9i) and CLOB or BLOB is Preferable.
    Now my requirement is to insert the all the Attachments into Oracle database. I have little bit knowledge on inserting image file into DB. Now I want to insert More than 1000000 resume Attachments (all are .doc or .rtf files).Can you suggest me on this with a sample program .I am really thankful to all of our Members support and Valuable doubt clarifications.
    I am waiting for your valueble reply
    thanks in advance
    Kanchnaa
    I am really thankful for your support and Valuable doubt clarifications.

    CLOBs and BLOBs are physically stored just like any other Oracle data type, in the data files that make up the database, the .dbf files. They're not stored as seperate files that you can use outside of Oracle.
    Oracle has a seperate special data type for binary objects stored outside the database, the BFILE data type. However, this type is read-only from a database connection (and therefore from JDBC); the files have to be placed on the Oracle server some other way and the BFILE object is created as a pointer to that external resource. I think built-in stored procedures are used to actually read the data from the binary object.
    I've never used this datatype and can't tell you much more about it. See the documentation:
    http://download-east.oracle.com/docs/cd/B19306_01/server.102/b14200/sql_elements001.htm#sthref175

  • How to store variable length of data in data dictionary table

    hi friends
        i want to store variable length of text in one of field of table which is created in data dictionary.
        i tried it by declaring table field type as string,
    include that table using table statement and try to insert data in abap program . but it gives error something
    "cannot use table having deep structure " i don't remember it exactly.
          can you help me how to insert variable length of data in text data dictionary table.

    Hi,
        define field with type LRAW in your table to store
        string more than 255 characters.
          LRAW                                                                               
    Uninterpreted byte string of arbitrary length, but with a minimum                   
          length of 256. Fields of this type must be located at the end of                    
          tables and must be preceded by a length field of type INT2. LRAW                    
          fields cannot be used in the WHERE condition. LRAW is functional from               
          Release 3.0.                                                                        
    Regards
    amole

  • How to highlight Tree node with a diff color

    I have created tree node and want to highlight Selected node with a different background color. Any Ideas how can we achieve that? -R

    It's an item on page 4 of the application that the blog example is taken from. The tree query:
    SELECT EMPLOYEE_ID AS ID
         , MANAGER_ID  AS PID
         , CASE
             WHEN EMPLOYEE_ID = :P4_EMPLOYEE_ID THEN
                 '<span style="color:white;background-color:blue;">'||
                 LAST_NAME||
                 '</span>'
             ELSE
                 LAST_NAME
           END AS NAME
         , 'f?p=&APP_ID.:4:'||:SESSION||'::NO::P4_EMPLOYEE_ID:'||EMPLOYEE_ID AS LINK
         , NULL        AS A1
         , NULL        AS A2
      FROM #OWNER#.EMPLOYEESgenerates leaf nodes that link to page 4, setting the value of P4_EMPLOYEE_ID. When page 4 is rendered, P4_EMPLOYEE_ID contains the ID of the clicked node, the page displays details of the employee with this ID, and the case expression in the tree query causes the corresponding display value to be highlighted.
    See the sections Managing Session State Values and Using f?p Syntax to Link Pages in the documentation to understand how to set session state values using URLs.
    http://download.oracle.com/docs/cd/E14373_01/appdev.32/e11838/concept.htm

  • How to store ,retreive and edit  data from an xml file

    I am new to XML. I am creating a phone book in JSP with backend as an XML file.How can I store retrieve and edit datas from a jsp file.
    Please provide me with examples.I dont want to use bean.
    Please provide examples

    You will have to do some leg-work yourself. You will probably want to use DOM to parse and manipulate your XML data. Xerces (xml.apache.org) is a good open source parser. There are extensive examples on their site.
    - Saish

  • How to create Decision Node in Data Flow diagram under Process Model

    Hi,
    I am starting a new project and would like to use Oracle Data Modeler for my data flow diagrams and logical/relational diagrams. Could you please guide me how can I ask Decision question in data flow diagram. Ideallly i would like to create a Decision Node (diamond) in Data Flow diagram under Process Model with yes or no option.
    Thanks in advance
    JM

    Hi JM,
    may be you are looking for other notation. There is no dedicated decision node in data flow diagramming.
    Philip

  • How i can import  MS access Data base in Oracle 9i

    Dear ALL,
    i am feacing problem in import data base from MS ACCESS to Oracle 9i the procedure was very simple in oracle 8.0.5 but dont know what is in Oracle 9i pls i am in big tribble just boz of this problem pls tell me the solution of this prob with brief Steps would be very thank full to you
    Nauman Mirza

    Naumann,
    Have you checked out the Oracle Migration Workbench? You will find a lot of infromation about it here on OTN.
    Donal

Maybe you are looking for

  • IPad Notepad / iCloud Notes

    In Notepad / iCloud Notes, I have three accounts:  All Notes, my personal notes and iCloud.  How do I get ALL three of these accounts to sync OR how do I move notes from one account to another?  Right now, only notes that I place on iCloud or sync'd.

  • APPCRASH EXCEL.EXE LCID: 1033

    Has anyone encounter this issues before: Problem signature:   Problem Event Name:                        APPCRASH   Application Name:                             EXCEL.EXE   Application Version:                           14.0.6126.5003   Application

  • Sensor Edge BAM Integration through Sensor Edge Streams and AQ

    I'm trying to integrate Sensor Edge and BAM through Sensor Edge Streams. I successfully created the Sensor Edge Streams and am able to dispatch my events to Oracel AQ through Streams Dispatcher. Now I'm trying to connect BAM to the Sensor Data Stream

  • HT201365 I have brought a second hand phone and cant activate it because i can not seem to get in contact with the previous owner.

    I sold my iphone 4s and added some money to buy a second hand Iphone 5, i can't get into the phone because i need the previous owners apple Id and password and theres absolutely no way I can cintact the previous owner because i had thier number on my

  • Thank you from an iOS 6 user and a question

    Thank you for sorting out the problem for iOS 6 users. All my work documents are on there and I nearly had a coronary when they had disappeared. Is there any way I can back up docs saved in the app on my PC or is this done through iTunes?