Please help me to create the table

How may Long column will create in the table
any restriction on this

Longs are deprecated. Oracle actively discourages using long in any new application, in part because there are huge deficiencies. Better to go with LOB (CLOB, BLOB or BFILE) if at all possible.

Similar Messages

  • Please help me to create the index

    hi gurus,
    i have one table with one raw datatype column. It will stores encrypted data.
    I created a view which shows decryted data of the above table. I need create an index on decrypted data for avoiding full table scan. Please help me to create the index.
    thanks in advance..

    Perhaps you could create a function-based index, although if you're going to make it so easy to read the decrypted version I'm not sure why you want to encrypt it in the first place.

  • Please help me to find the table for fields where the descriptions are give

    please help me to find the table for fields where the descriptions are given below
    Customer Support Administrator
    first line Support indicator

    You could also try table DD01T. In se 16,put in the description thats needed,you will get to know the respective data elements.
    Then you can use DD03L to find the respective table. This would work if the data element is not generic.
    Regards,
    Anubhav.

  • Please help me to know the tables which contain details of APD and Open hub destination

    Hi experts,
    I need to know the list of APDs that have been created in our system. So can you please let me know the table name (if there is any) which contains the name of the APD and as well as the status (active / inactive) of the APD.
    Thanks ,
    Shalini

    Hi Shalini,
    Go to RSANWB  T-code and select any analysis process. Then press the "monitor" button. On the monitor screen, you can see the selection criteria in a table on the right. Now double-click on the table and a popup will come up where you can set the selection criteria. in particular, you can set the time frame and the analysis process selection.
    Hope it 'll help you..........
    Regards,
    Mukesh

  • Please help me to create the BAPI

    I AM CREATING CUSTOM BAPI  IN sap BOR.
    IN THE FUNCTION MODULE I HAVE USED ONE ITERNAL TABLE AND ONE WORK AREA.
    I HAVE CREATED THE STRUCTURE OF THE ITAB ASSOCIATED WITH THE FUNC MODULE.
    dO I NEED TO CREATE THE STRUCTURE OF THAT WORKAREA ALSO ?
    IF SO  HOW ?

    Hi,
    You can follow these links.
    BAPI-step by step
    http://www.sapgenie.com/abap/bapi/example.htm
    just refer to the link below
    http://www.sapmaterial.com/?gclid=CN322K28t4sCFQ-WbgodSGbK2g
    list of all bapis
    http://www.planetsap.com/LIST_ALL_BAPIs.htm
    for BAPI's
    http://www.sappoint.com/abap/bapiintro.pdf
    http://www.sappoint.com/abap/bapiprg.pdf
    http://www.sappoint.com/abap/bapiactx.pdf
    http://www.sappoint.com/abap/bapilst.pdf
    http://www.sappoint.com/abap/bapiexer.pdf
    http://service.sap.com/ale
    http://service.sap.com/bapi
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCMIDAPII/CABFAAPIINTRO.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/CABFABAPIREF/CABFABAPIPG.pdf
    http://help.sap.com/printdocu/core/Print46c/en/data/pdf/BCFESDE8/BCFESDE8.pdf
    http://www.planetsap.com/Bapi_main_page.htm
    http://www.topxml.com/sap/sap_idoc_xml.asp
    http://www.sapdevelopment.co.uk/
    http://www.sapdevelopment.co.uk/java/jco/bapi_jco.pdf
    Also refer to the following links..
    www.sap-img.com/bapi.htm
    www.sap-img.com/abap/bapi-conventions.htm
    www.planetsap.com/Bapi_main_page.htm
    www.sapgenie.com/abap/bapi/index.htm
    Checkout !!
    http://searchsap.techtarget.com/originalContent/0,289142,sid21_gci948835,00.html
    http://techrepublic.com.com/5100-6329-1051160.html#
    Thanks
    Sarada

  • Please Help me in giving the tables of PS Modules?

    Hi all,
    Please Give me all PS module Tables. And especailly the table where the total cost of that Particular WBS element are stored?
    Thanking you all in advance,
    SAP ABAPer

    Hi,
    This is the 'official' list of tables for queries in PS:
    <b>Master Data:</b>
    PROJ Project definition
    PRPS WBS elements
    PRTE Scheduling data
    PRHI WBS hierarchy
    AUFK Orders/networks headers
    AFKO Production Orders/networks
    AFVC Network activities
    AFVU Network activities
    AFVV Network activities
    RESB Network Components
    MLST Milestones
    <b>Transaction data and totals:</b>
    RPSCO Project info database (cost, revenues)
    RPSQT Project info database (quantities)
    COSP Cost totals for external postings
    COSS Cost totals for internal postings
    COSB Total variances/result analysis
    COEP Line items, actuals
    COOI Line items, commitments
    COEJ Line items, planned orders
    BPGE Budget, overall cost
    BPJA Budget, annual values
    QBEW Project stock valuation
    MSPR Project stock (incl. non-valuated)
    <b>Refer the link for table realation:-</b>
    http://www.erpgenie.com/sap/abap/tables_ps.htm
    http://www.sapgenie.com/abap/tables_ps.htm
    Regards
    Sudheer

  • Please Help me for creating BexReport.

    HI Experts,
    Please help me to create the below report.
              < 5 days or less      6-10 days          11-15 days      16-20 days     > 20 days
    No of Orders     3          5               2                          10                       20
    *** %                   7.50%        20%             25%                50%                           100%
    where <5days or less is the count of age(present date - order on date) of the Orders which falls under respective bucket.
    Thanks and regards
    KPS Moorthy.

    space       I< 5 days or less  I     6-10 days              I  11-15 days     I 16-20 days  I     > 20 days
    No of Orders     I   3      I   5                I 2I     10     I 20
    *** %I     7.50%     I20%     I25%   I     50%I     100%I
    i differenciated every column by "I".
    Shanbhu: Thanks for Reply.
    for AGE: if we do in backend  start routine the time wen we execute the DTP that day date is taken for age calculation.But we want the age calculation as present date(time wen the report is executing)-Create on order date.
    Thanks and regards\
    KPS moorthy

  • How to access the activities created by an enduser especially when the enduser has left the organization?Please help me out with the possible solution

    How to access the activities created by an end user especially when the end user has left the organization?Please help me out with the possible solution

    Hi Ramesh,
    In the web UI we have business role IC_manger where you can search the activities based on employee responsible and you can use business transaction assignment functionality to assign those activities to any  other end user or team.
    Else you can also use Agent inbox functionality if you have configure the agent inbox for those activity.
    Hope this helps solving your query

  • Please help me to visible the create event menu in workflow administrator.

    Hi All,
    please help me to visible the create event menu in workflow administrator.
    (select workflow administrators responsibility navigate to administrator workflow -->
    Business events-->events-->here i am seeing only search options,but i required create event,subscriptions.... )
    Regards
    Gopinath

    Hi,
    please help me to visible the create event menu in workflow administrator.
    (select workflow administrators responsibility navigate to administrator workflow -->
    Business events-->events-->here i am seeing only search options,but i required create event,subscriptions.... )You should find "Create Event" and "Create Events Groups" buttons in the same page under "Results : No Search Conducted".
    Regards,
    Hussein

  • HELP!! just finished a 20pages report and when trying to create the table of contest I lost EVERYTHING... there is nothing left of my work. WHY????

    HELP!! just finished a 20pages report and when trying to create the table of contest I lost EVERYTHING... there is nothing left of my work. WHY????

    Hi Peter,
    Yes I'am in 5.2, I did mention it right after.
    This is wonderful Peter, great advice. I got to have my latest version before I created my table of contents.
    In Pages > Menu > File > Revert
    and see what you get.
    Peter
    Thank you so much!!
    Have a wonderful day

  • How to create the Table of Content (TOC) in WEB

    Dear Sir
    Please help me
    How to create the Table of content (TOC) in Web Intelligence Report,
    Thanks
    Gnanasekarn.K
    Edited by: Gnanasekaran Kandasamy on Nov 20, 2008 11:12 AM

    Hi Gnanasekarn,
    You can create TOC in webi using Open Document, You can create link on the TOC and you can connect that link to open new report .
    With the help of open document you can open the specific portion of report.
    So you can achive your requirement using URL reporting or Open Document.
    Regards,
    Chaitanya Deshpande

  • PLEASE HELP ME TO FIND THE SOLUTION REGARDING "LOGICAL SYSTEM CHANGED"

    HAI EVERYBODY,
    PLEASE HELP ME TO FIND THE SOLUTION REGARDING "LOGICAL SYSTEM CHANGED" during the material master replication by using middleware parameters.
    step1 : i have taken SRM client 810 and named it as CHINNISRM
    step2 : i  have taken r3 client 810 and named it as CHINNIR3
    step3: During material master replication i maintained tables like crmconsum,crmrfcpar,crmparoltp in   r3   and smofparsfa in srm client and filtered the objects and loaded the objects through r3ac3,r3ac1,r3as.
    step4 : And later i have checked in r3 queues to activate the objects,but i have seen a message like  "LOGICAL SYSTEM CHANGED:SEE 588701".according to the oss instructions i have checked in CRMPRLS table in se16 in R3 .there i found out there is one logical client  named with T90CLNT810.
    oss :588701
    Solution
    There are different cases in which different forms of processing are
    required or where several options exist:
    - The logical system name of an R/3 Backend client was changed in
    current operation. In this case, the data hangs in the outbound
    queues of the R/3 Backend system as specified under point 1 of
    the symptom. In this case, the logical system name must be
    changed back to the original value. Then the outbound queues
    can be reactivated. If no data was transferred to the EBP/CRM
    server before the change, also a correctioin of the check table
    is possible.
    - The same logical system name was used again in a new client of
    an R/3 Backend system that was linked to the EBP/CRM server. In
    this case, the data is in the inbound queue of the EBP/CRM
    server with the exception GUID_FOR_LOGSYS_CHANGED. In this
    case, the queue entries which have status SYSFAIL must be rejected, however, not the entire queues. If the new client of  the R/3 Backend system you have linked has exactly the same
    data as the old client and if it is meant to replace the old
    client (that is, this was deactivated), also a correction of
    the check tables is possible. In this case, the inbound queues
    can be reactivated after the correction.
    oss:765018
    1. If the situation in your system corresponds to the situation described
    under "Reason and Prerequisites" and if symptom 1 occurs, you can
    delete the table entry from table CRMPRLS table (there is just one
    entry). Since there is no maintenance dialog for this table and you
    cannot maintain it using transaction SE16, you must use a report to
    delete it. This report is attached to this note as correction
    instructions.
    Create the report ZZ_DELETE_CRMPRLS in your system and copy the source
    code from the correction instructions. You cannot implement this
    source code using transaction SNOTE.
    You can use the report in every plug-in or plug-in basis system, even
    if it is not specified in the validity section.
    After you have run the report, you can trigger existing queues again
    in transaction SMQ1.
    2. If the situation in your system corresponds to the situation described
    under "Reason and prerequisite" and if symptom 2 occurs, you can
    delete the entry from table CRMMLSGUID (there is just one entry).
    Since there is no maintenance entry for this table and you cannot
    maintain it using transaction SE16, you must use a report to delete
    it. This report is attached to this note as correction instructions.
    If they do not yet exist, add the following messages to message class SMOF in your logon language:
    Message Message short text
    303 User &1 is not allowed to change table &2.
    304 User &1 IS not allowed to display table &2.
    305 Logical system &1 was not found in table &2.
    306 System error! The current client was not
    found in table T000.
    Create the report ZZ_DELETE_CRMMLSGUID in your system and copy the
    source code from the correction instructions. You cannot implement
    this source code using transaction SNOTE.
    You can use the report for every release of the CRM system, even if it
    is not specified in the validity section. The only exceptions are CRM
    releases with Support Package versions that are too low such as CRM
    Release 3.0 with Support Package 12.
    After you have run the report, you can trigger existing queues again
    in transaction SMQ1 of the R/3 back-end system or transaction SMQ2 of
    the CRM system.
    so what should i do to do the replication.please suggest me .untill and unless i solve my problem i cant move to the further activity.i hope you people can solve my problem.thanks in advance.
    thanks and best regards,
    n.chakradhar

    Hi chakradhar,
    Did you find a solution to your issue? We are facing a similar issue and looking to figure out how this can be resolved.
    BR// 420

  • Please help me to close the IF blocks.

    HI EXperts,
    Please help me on closing the IF blocks properly in the below procedure.
    CREATE OR REPLACE PROCEDURE sums_proc
                    Id INTEGER,
      mtrname VARCHAR2
                    mtrtype INTEGER,  
    AS
    state  VARCHAR2(10);
    accesslevel INTEGER;
    asts NUMBER;
    mtrtypesql LONG;
    sumsql LONG;
    BEGIN 
    SELECT st_name INTO state FROM states_info WHERE st_name  = 'KARNATAKA';
    SELECT acc_level INTO accesslevel FROM level_table WHERE level_id  = 4;
    IF (accesslevel = 4) THEN 
    BEGIN 
    asts :=4;
    END; 
    ELSIF (accesslevel = 3)  THEN
    BEGIN 
    IF (OBJECT_ID('CANN_TABLE') IS NOT NULL)  THEN
    BEGIN 
    EXECUTE IMMEDIATE 'DROP TABLE CANN_TABLE'; 
    END;
    EXECUTE IMMEDIATE 'CREATE TABLE CANN_TABLE'; 
    END;
    ELSE
    BEGIN  
    IF OBJECT_ID('MANN_TABLE') IS NOT NULL  THEN
    BEGIN 
    EXECUTE IMMEDIATE 'DROP TABLE MANN_TABLE'; 
    END;
    EXECUTE IMMEDIATE 'CREATE TABLE MANN_TABLE';
    END; 
    IF (mtrname IS NULL OR mtrname = '')  THEN
    mtrname := ''; 
    ELSE 
    mtrname := 'DEFAULT';
    IF (mtrtype > 2) THEN
    mtrtypesql := ' AND (mtr = 1) ' ; 
    ELSE  
    mtrtypesql := ' AND (mtr = 2) '; 
    END IF;
    IF (mtrtype = 1) THEN 
    BEGIN 
    mtrtypesql := 'SELECT SUM(amount) as amount FROM sales_table WHERE sales_type=''SALES''||mtrtypesql'; 
    END; 
    ELSIF (mtrtype = 2)
    mtrtypesql := 'SELECT SUM(amount) as amount FROM margin_table WHERE margin_type=''MARGIN''||mtrtypesql';  
    END; 
    IF (mtrtype = 4  OR mtrtype = 3) THEN
    BEGIN  
    mtrtypesql := 'SELECT SUM(amount) as amount FROM margin_table WHERE margin_type=''MARGIN''||mtrtypesql';
    END; 
    ELSIF (mtrtype = 10 OR mtrtype = 15) THEN
    BEGIN    
    mtrtypesql := 'SELECT SUM(amount) as amount FROM revenue_table WHERE revenue_type=''REVENUE''||mtrtypesql';
    END;        
    ELSE 
    BEGIN 
    mtrtypesql := 'SELECT SUM(amount) as amount FROM revenue_table WHERE all_type=''ALL''||mtrtypesql';
    END;
    sumsql := ' SELECT SUM(amount) FROM salesum_table';
    EXECUTE IMMEDIATE mtrtypesql || ' UNION all ' ||sumsql ;
    IF OBJECT_ID('CANN_TABLE') IS NOT NULL THEN
    BEGIN 
    EXECUTE IMMEDIATE 'DROP TABLE CANN_TABLE'; 
    END;
    END IF; 
    IF OBJECT_ID('MANN_TABLE') IS NOT NULL  THEN
    BEGIN 
    EXECUTE IMMEDIATE  'DROP TABLE MANN_TABLE'; 
    END;
    END;
    Please help me.
    Thanks.

    Hi,
    Thanks for your help.
    Please help on the error.
    ORA-24338: statement handle not executed
    CREATE OR REPLACE PROCEDURE sums_proc(
        p_Id      INTEGER,
        mtrname VARCHAR2 mtrtype INTEGER,
        P_out OUT SYS_REFCURSOR
    AS
      state       VARCHAR2(10);
      accesslevel INTEGER;
      asts        NUMBER;
      countval   NUMBER :=0;
      mtrtypesql LONG;
      sumsql LONG;
      v_query LONG;
      BEGIN
      SELECT st_name INTO state FROM states_info WHERE st_name = 'KARNATAKA';
      SELECT COUNT(*) INTO countval FROM  level_table WHERE level_id = p_id;
    IF countval = 0 THEN
    RETURN;
        ELSE
            SELECT access_id INTO accesslevel  level_table WHERE level_id = p_id;
        IF (NVL(accesslevel, 0) = 0)  THEN
        RETURN;
        END IF;
    END IF;
      IF (accesslevel = 4) THEN
      asts :=4;
      ELSIF (accesslevel = 3) THEN
        IF (OBJECT_ID('CANN_TABLE') IS NOT NULL) THEN   EXECUTE IMMEDIATE 'DROP TABLE CANN_TABLE';
         ELSE EXECUTE IMMEDIATE 'CREATE TABLE CANN_TABLE(SM NUMBER)';
        END IF;
      ELSE
       IF OBJECT_ID('MANN_TABLE') IS NOT NULL THEN   EXECUTE IMMEDIATE 'DROP TABLE MANN_TABLE';
        ELSE  EXECUTE IMMEDIATE 'CREATE TABLE MANN_TABLE(SM NUMBER)';
       END IF;
       IF (mtrname IS NULL OR mtrname = '') THEN  mtrname := '';
       ELSE
          mtrname      := 'DEFAULT';
         IF (mtrtype   > 2) THEN
            mtrtypesql := ' AND (mtr = 1) ' ;
          ELSE
            mtrtypesql := ' AND (mtr = 2) ';
         END IF;
         IF (mtrtype = 1) THEN
            mtrtypesql := 'SELECT SUM(amount) as amount FROM sales_table WHERE sales_type=''SALES'''||mtrtypesql;
          ELSIF (mtrtype = 2)
            mtrtypesql := 'SELECT SUM(amount) as amount FROM margin_table WHERE margin_type=''MARGIN'''||mtrtypesql;
          ELSIF (mtrtype = 4 OR mtrtype = 3) THEN
              mtrtypesql := 'SELECT SUM(amount) as amount FROM margin_table WHERE margin_type=''MARGIN'''||mtrtypesql;
          ELSIF (mtrtype = 10 OR mtrtype = 15) THEN
              mtrtypesql := 'SELECT SUM(amount) as amount FROM revenue_table WHERE revenue_type=''REVENUE'''||mtrtypesql;
          ELSE
              mtrtypesql := 'SELECT SUM(amount) as amount FROM revenue_table WHERE all_type=''ALL'''||mtrtypesql;
          END IF;
          sumsql := ' SELECT SUM(amount) FROM salesum_table';
          v_query :=||mtrtypesql || ' UNION all ' ||sumsql ||';
          OPEN P_out FOR v_query;
          COMMIT;
        END;
    My requirement is
    IF accesslevel = 0 or IF accesslevel is not existed the program should come out.
    SO that I have included the below code
    SELECT COUNT(*) INTO countval FROM  level_table WHERE level_id = p_id;
    IF countval = 0 THEN
    RETURN;
        ELSE
            SELECT access_id INTO accesslevel  level_table WHERE level_id = p_id;
        IF (NVL(accesslevel, 0) = 0)  THEN
        RETURN;
        END IF;
    END IF;
    I want to send the result set to front so that I have replaced the below statement with
    EXECUTE IMMEDIATE 'BEGIN INSERT INTO CANN_TABLE '||mtrtypesql || ' UNION all ' ||sumsql ||';
    OPEN P_out FOR v_query;
    If I get accesslevel as 0 I am getting error when executing thic procedure.
    ORA-24338: statement handle not executed
    Please help me.
    Thanks.

  • Please help me to solve the issue in my query.

    Hi All,
    Please help me to understand the mistake what i did in below query and help to resolve that.
    Actually i am trying to create a query to filter the records from db based on my input parameter.
       If my input parameter is 1(@showallrecords) then i need to show all the records which has the IsLatest as 1
       If my input parameter is 0(@showallrecords) then i need to show all the records which has the IsLatest as 0
    select * from tabel1 INNER JOIN tabel2    
    ON tabel1.KeyId = tabel2.KeyId 
    and (@showallrecords = 1 and tabel1.IsLatest = 1 )
    and (@showallrecords = 0 and tabel1.IsLatest = 0 )
    when i am executing the above query with the parameter @showallrecords = 1 ,db is returning 0 rows.If i am executing the above query after removed the last line and (@showallrecords = 0 and tabel1.IsLatest = 0 ) then records are coming.
    i understand that 1=0(last line) and the condition is not true.So its affecting the result.
    Please help me to solve this.

    select * from tabel1 INNER JOIN tabel2
    ON tabel1.KeyId = tabel2.KeyId
    WHERE (tabel1.IsLatest = @showallrecords Or @showallrecords=0)

  • Error in creating the table by code

    Hi All,
    When i creating the table by a code then i get the error code,
    Plz Help...
    Regards
    Vikas

    Hi Vikas,
    When u create a table so after creating the table you have to remove the both object,table object and field object.
    I think it ll helpful for you.
    Regards
    Yogesh

Maybe you are looking for

  • Podcasts are without video after iTunes 702 update !!

    After updating to iTunes 702, my previously downloaded podcasts are not viewing any video, just the audio. Anyone has the same problem ??

  • Battery meter reads only 0-1%, or 99%.

    OK, well this a little hard to explain but I'll try my best: Basically, one day a couple weeks ago I took my PowerBook to school and had it in class and basically drained the battery completely to 0%, managing to still continue working about 30-35 mi

  • HUGE problem with the updater (i think)

    Ok, So last month my computer crashed and i lost all of my songs. The songs are still on the i-pod though, so is there any way to stop i-tunes from erasing all of my songs when i plug it in again.

  • Safari won't open in Yosemite on imac

    Safari is not opening on my imac on Yosemite (10.10) Im receiving failure reports which give me this message (top bit only of this message, there was pages of it) Process:               Safari [506] Path:                  /Applications/Safari.app/Con

  • Changing status of Task created by system in Notification.

    I am facing a problem while changing status of "Task" in Notification to "Complete". Actually I want that if system is cretating a Task automatically in Notification, this Task should have status "Complete" instead of release. For this to happen I di