Create Categories or Perspectives using PL/SQL?

Hi
Can you create Categories or Perspectives using PL/SQL?
I have had a look at the API's section on here but I cant seem to find anything.
Is it just a simple as adding it to the table?
Thanx
Craig

Here's what I run:
I ran the query you provided above and here are the results:
UNLIMITED TABLESPACE
CREATE TABLE
Here are the commands I run:
CREATE TABLE TEST_TABLE AS SELECT * FROM DUAL;CREATE TABLE succeeded.
DROP TABLE TEST_TABLE;DROP TABLE TEST_TABLE succeeded.
CREATE PROCEDURE TEST_PROC IS
BEGIN
EXECUTE IMMEDIATE 'CREATE TABLE TEST_TABLE AS SELECT * FROM DUAL';
END TEST_PROC;PROCEDURE TEST_PROC Compiled.
EXEC TEST_PROC; Error starting at line 1 in command:
EXEC TEST_PROC;
Error report:
ORA-01031: insufficient privileges
ORA-06512: at , line 4
ORA-06512: at line 1
01031. 00000 - "insufficient privileges"
*Cause:    An attempt was made to change the current username or password
without the appropriate privilege. This error also occurs if
attempting to install a database without the necessary operating
system privileges.
When Trusted Oracle is configure in DBMS MAC, this error may occur
if the user was granted the necessary privilege at a higher label
than the current login.
*Action:   Ask the database administrator to perform the operation or grant
the required privileges.
For Trusted Oracle users getting this error although granted the
the appropriate privilege at a higher label, ask the database
administrator to regrant the privilege at the appropriate label.
Does this mean I need the CREATE ANY TABLE priv?
Thanks again everyone!
-Joe
Edited by: Joe Bertram on Dec 2, 2009 12:07 PM

Similar Messages

  • Creating a text file using pl/sql

    how can one create a text file using pl/sql?
    Say for example abcd.txt in the d: drive
    (d:\abcd.txt)
    on a windows nt server

    <BLOCKQUOTE><font size="1" face="Verdana, Arial">quote:</font><HR>Originally posted by bhrigu nagal ([email protected]):
    thanks for your replies
    I had already set the utl_file_dir parameter
    I tried the utl package and wrote the following code but got some errors
    declare
    filehandler UTL_FILE.FILE_TYPE;
    begin
    filehandler:=UTL_FILE.fopen('d:/intel/','myfile.txt','w');
    utl_file.put_line(filehandler,'look masjdfgsd\n');
    utl_file.fclose(filehandler);
    exception when utl_file.invalid_path then
    raise_application_error(-20023,'bhrigu ,chk the path');
    end;
    the errors
    ERROR at line 1:
    ORA-06510: PL/SQL: unhandled user-defined exception
    ORA-06512: at "SYS.UTL_FILE", line 101
    ORA-06512: at "SYS.UTL_FILE", line 157
    ORA-06512: at line 4
    if u know what this is please tell me
    thanks bhrigu
    <HR></BLOCKQUOTE>
    U need :
    1) To have UTL_FILE_DIR param in the init file of the instance with the same directory (don't forget to stop and restart the base)
    2) Handled the exceptions listed in the utl_file package (Oracle_home\rdbms\admin\utlfile.sql) in your source.
    3) Turn set serveroutput on in SQL*Plus.
    Run your procedure and see the error message to debug.
    Good luck
    null

  • Can't create an MBO object using an SQL Server connection profile

    Hi all,
    I'm trying to create an MBO from an table using an SQL Server connection profile. The connection is fine but when i grag a table into Mobile Application Diagram in order to create an MBO i got the following exeption:
    I´ve already configured the necessary jar (sqljdbc4.jar) in the following directories:
    C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib
    C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337
    but i always get the same error.
    Any help, suggest would be apreciated
    thx,
    Nuno

    Hi Nuno,
    I just wanted you to verify the path where you have pasted JAR file. As you mentioned
    Path 1:
    C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib
    but as per doc it should be under:
    C:\Sybase\UnwiredPlatform\Servers\UnwiredServer\lib\3rdparty
    Path 2:
    C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337
    but as per doc it should be under:
    C:\Sybase\UnwiredPlatform\Unwired_WorkSpace\Eclipse\sybase_workspace\mobile\eclipse\plugins\com.sybase.uep.com.sqlserver_2.1.0.201109131337\lib
    Rgrds,
    JK

  • How to create dynamic HTML page using PL/SQL code in APEX.

    hello,
    I am woking on one APEX application in which i want to create one dynamic HTML page on button press using PL/SQL code.
    Thanks

    It is possible to create HTML page with dynamic content. One way would be creating hidden field (e.g. P1_HTML on page 1) with dynamic HTML and on button click you redirect to page 2 and pass P1_HTML item value to item P2_HTML on page 2. On page you must have PL/SQL region. You can then render your dynamic HTML with code:
    htp.p(:P2_HTML);
    Don use APEX URL for passing HTML value. Problem and solution is described here: http://blog.trent-schafer.com/2011/04/03/dont-pass-string-parameters-in-the-url-in-apex-its-a-bad-idea/
    Edited by: MiroMas on 3.2.2012 3:20

  • Want to create Ineractive report by using pl/sql block

    Hi,
    But If have to read different informations for different tables, how can I do ?
    For example:
    for s in (SELECT srv_sys_name,ddb_dbname
    FROM search_master
    WHERE ( ddb_dbname like '%'||:p7_ddb_dbname||'%' AND :p7_ddb_dbname IS NOT NULL ))
    loop
    apex_collection.add_member(p7_col, s.srv_sys_name, s.ddb_dbname );
    end loop;
    If I have an other table to look to get other informations, i don't know what to do ?
    It's my problem for now.
    Thanks in advance. Bye.

    HTML_DB 1.6 + Apex 4.0 + Hyperion user wrote:
    But If have to read different informations for different tables, how can I do ?
    For example:
    for s in (SELECT srv_sys_name,ddb_dbname
    FROM search_master
    WHERE ( ddb_dbname like '%'||:p7_ddb_dbname||'%' AND :p7_ddb_dbname IS NOT NULL ))
    loop
    apex_collection.add_member(p7_col, s.srv_sys_name, s.ddb_dbname );
    end loop;If I have an other table to look to get other informations, i don't know what to do ?Generally, perform a join combining the tables.
    Additionally, creating collections row-by-row is horribly inefficient. Use the <tt>APEX_COLLECTION.CREATE_COLLECTION_FROM_QUERY_B</tt> bulk methods instead.
    However in this case the the PL/SQL and collection-based approach is unnecessary. Base the IR on the query (plus joins to whatever other tables are necessary):
    select srv_sys_name,ddb_dbname
    from search_master
    where ddb_dbname like :p7_ddb_dbname_qryand compute hidden item <tt>p7_ddb_dbname_qry</tt> to include the value of <tt>p7_ddb_dbname</tt> and wildcard characters as required.
    Finally, note that <tt>LIKE</tt> searches using leading-edge wildcards on large data sets can be inefficient as this eliminates the possibility of using indexes on the searched column.
    (Always post code wrapped in tags<tt>\...\</tt> tags to preserve formatting and special characters.)

  • Creating tabs in excel using pl sql

    below is the procedure that i have written...
    i am currently spooling all the data into a single worsheet....
    i want to put data in seperate worksheets in the same excel files....
    how wud i go abt doing that?
    SELECT to_char(sysdate, 'DD-Mon-YYYY') today
    FROM dual;
    define spoolid= &xtoday
    DEFINE ext =.csv
    define outfile=d:\utility\DailyReport-&spoolid&ext
    spool &outfile
    -- Creating the Application input file records
    SELECT 'COLUMN_NAME,DATA_TYPE,NULLABLE,DATA_DEFAULT,COLUMN_ID,CONSTRAINTS,COMMENTS'
    FROM dual;
    DECLARE
    n_moduleid number;
    CURSOR Cur_TableNames(mId number) IS
    SELECT STRTABLENAME
    FROM MODULE_DATA
    WHERE NMODULEID = n_moduleid;
    rt_tbnames MODULE_DATA.STRTABLENAME%type;
    CURSOR Cur_TableData(Tbname MODULE_DATA.STRTABLENAME%type) IS
    SELECT a.COLUMN_NAME||','||
    a.DATA_TYPE || decode(a.DATA_TYPE,
    'NUMBER',
    '(' || a.DATA_PRECISION ||
    DECODE(a.DATA_SCALE, 0, '', ',' || a.DATA_SCALE) || ')',
    'DATE',
    '(' || a.DATA_LENGTH || ')') ||','||
    Decode(a.NULLABLE, 'Y', 'Yes', 'No') data1,
    a.DATA_DEFAULT data2,
    to_char(a.COLUMN_ID)||','||
    ''||','||
    b.COMMENTS data3
    FROM user_tab_columns a, user_col_comments b
    WHERE a.TABLE_NAME = Tbname
    AND a.TABLE_NAME = b.TABLE_NAME
    ANd a.COLUMN_NAME = b.COLUMN_NAME
    ORDER BY a.COLUMN_ID;
    rt_tbdata Cur_TableData%ROWTYPE;
    BEGIN
    SELECT NMODULEID
    INTO n_moduleid
    FROM MODULE
    WHERE STRMODULENAME = 'MOVEMENT';
    --dbms_output.put_line(n_moduleid);
    OPEN Cur_TableNames(n_moduleid);
    LOOP
    FETCH Cur_TableNames INTO rt_tbnames;
    EXIT WHEN Cur_TableNames%NOTFOUND;
    my_dbms_output.put_line(rt_tbnames);
    my_dbms_output.put_line('');
    FOR rt_tbdata in Cur_TableData(rt_tbnames)
    LOOP
    my_dbms_output.put_line(rt_tbdata.data1||','||rt_tbdata.data2||','||rt_tbdata.data3);
    END LOOP;
    my_dbms_output.put_line('');
    END LOOP;
    CLOSE Cur_TableNames;
    END;
    select text from my_dbms_output_view;
    SPOOL OFF;

    You may have to use VBA to split data up into separate tabs.
    Or put multiple CSV files together into a single workbook -- again with VBA.

  • Create OS filesystem Directory Using Apex, SQL commands of SQL worshop

    I am using Apex 3.0, Oracle Database 10g and IE 6.5
    Code Here:
    Create or replace Directory 'Data_Dir' as 'C:\temp\'
    Error Message:
    Insufficient Priveleges
    This code runs fine when I access server remotely. Our projec team has no APex experience. our workspace administrator does not know how to grant appropriate privileges to my user accounts.
    Please provide us step by step help immediately on 'How to create OS Directory from APEX'.
    Thank you very much.

    Please provide us step by step help immediately on 'How to create OS Directory from APEX'.Please bear in mind that most people in this forum are doing it in their own time, without any financial gain from it. If you have an urgent support issue that is critical to your business and you want it answered immediately you should contact Oracle support, otherwise remember that you may need to wait some time for someone to answer your question here (especially considering it's the weekend).
    However, in answer to your question, yes your DBA will need to grant 'create directory' or 'create any directory' to the user you've specified. If you're saying it runs fine when you access the server remotely (I'm assuming you mean via SQLPlus etc), that probably suggests your DBA has granted the right via a role which won't work while connected in the APEX environment (you will need to explicitly grant the permission to the user).
    Hope this helps.

  • Create a Multiple Files using PL-SQL

    Hi Experts,
    I have a table which contains 360 records and want to create multiple files with each file containing 12 records.
    I tried to use the below code, however was unsuccessfull..
    Please help!!!!
    DECLARE
       num      NUMBER             := 1;
       f_file   UTL_FILE.file_type;
       row_sm   NUMBER             := 0.00;
    CURSOR c_cur
       IS
          SELECT   customer_key, all_columns_concat
              FROM demo;
    c_rec    c_cur%ROWTYPE;
    BEGIN
       OPEN c_cur;
       LOOP
          FETCH c_cur
           INTO c_rec;
         EXIT WHEN c_cur%NOTFOUND;
          WHILE num = c_rec.file_num
          LOOP
             f_file := UTL_FILE.fopen ('DM_DIR', 'FILE_' || num, 'w', 3267);
             num := num + 1;
          END LOOP;
          UTL_FILE.put_line (f_file, c_rec.all_columns_concat);
          row_sm := c_rec.sum_row + row_sm;
       END LOOP;
       UTL_FILE.fclose (f_file);
      CLOSE c_cur;
    END;
    Regards,
    RaviR.

    Thanks Ramin,
    Your Code really helped. I am now not getting no errors and files are also being created. However, if I replace the UTL_FILE with DBMS_OUTPUT, I get below output. In your code i replaced 12 with 3. Hence its dividing after 3 rows. (with 1st row duplicated)
    Output
    1
    1
    2
    3
    ========================================
    4
    4
    5
    6
    ========================================
    7
    7
    8
    9
    ========================================
    10
    10
    11
    12
    ========================================
    13
    13
    14
    15
    ========================================
    16
    16
    Now my concern is that i my table I have a flag which determines the seperation...
    Column1
    File_Num
    1
    1
    2
    1
    3
    1
    4
    2
    5
    2
    6
    2
    7
    3
    8
    3
    9
    3
    10
    3
    11
    3
    Hence if the file_Num is 1 it will go to File1, file_num=2 will be written to File2 and so on.
    Please help me to get this logic.
    Thanks in advance.
    Regards,
    RaviR

  • How do I create a binary file using PL/SQL

    Hi
    Can you help me with writing a binary file in PL/SQL? I like to load binary data from data file, process in database then write to a new binary file.
    Thank you very much in advance.
    regrds
    Yongdong

    DBMS_LOB won't help you write a BLOB to disk.
    You need to an external procedure to do that. Eric K's java works great and he's helped me with his solution and probably about a thousand others.
    Doing a search on this forum will yield many discussions on this often regurgitated topic.

  • HELP WITH CREATING A VIEW USING PL/SQL

    Hello,
    I have two tables, one is simply an audit version of the other and anytime data is updated, modified, or deleted the data is copied to the audit table (via a trigger) and the audit table records who made the changes and when.
    Here is the description of one of the archive tables:
    AUD_OBLIGATION_ID NOT NULL NUMBER(10)
    OBLIGATION_ID NUMBER(10)
    COMMUNICATION_ID NUMBER(10)
    COMMUNICATION_ID_OLD NUMBER(10)
    OBL_DESC VARCHAR2(4000)
    OBL_DESC_OLD VARCHAR2(4000)
    OBL_TYPE VARCHAR2(20)
    OBL_TYPE_OLD VARCHAR2(20)
    ORIGINAL_TARGET_DATE DATE
    ORIGINAL_TARGET_DATE_OLD DATE
    TARGET_DATE DATE
    TARGET_DATE_OLD DATE
    ACTUAL_DATE DATE
    ACTUAL_DATE_OLD DATE
    STATUS VARCHAR2(20)
    STATUS_OLD VARCHAR2(20)
    DOCLINK VARCHAR2(200)
    DOCLINK_OLD VARCHAR2(200)
    SERIAL_NUMBER NUMBER(10)
    SERIAL_NUMBER_OLD NUMBER(10)
    REMARKS VARCHAR2(200)
    REMARKS_OLD VARCHAR2(200)
    CREATED_BY VARCHAR2(10)
    CREATED_BY_OLD VARCHAR2(10)
    CREATION_TS DATE
    CREATION_TS_OLD DATE
    MODIFIED_BY VARCHAR2(10)
    MODIFIED_BY_OLD VARCHAR2(10)
    MODIFICATION_TS DATE
    MODIFICATION_TS_OLD DATE
    UPDATED_BY VARCHAR2(10)
    UPDATED_TS DATE
    ACTION_TYPE VARCHAR2(10)
    I now need to create a view of this audit table, but do not want to list all the columns from the audit table, instead I would like it to look like this:
    Modification_TS ** Action_Type ** Updated_By ** CHANGES
    Where CHANGES would be a variable that stores the concatenated new & old values (if they are different).
    I assume I need to create a stored procedure using PL/SQL to find these values then insert the values into a view...but all of my efforts do not seem to work.
    Here is the procedure I've written:
    CREATE OR REPLACE PROCEDURE proc_AUD_OBLIGATIONS AS
    modData VARCHAR2(2000) :=' ';
    emp VARCHAR2(200);
    actType VARCHAR2(100);
    actDate DATE;
    obUser VARCHAR2(500);
    CURSOR cur_AUD_OBLIGATION IS
    SELECT o.UPDATED_TS, o.UPDATED_BY, o.OBLIGATION_ID, o.COMMUNICATION_ID,o.COMMUNICATION_ID_OLD,o.OBL_DESC,o.OBL_DESC_OLD,
    o.OBL_TYPE, o.OBL_TYPE_OLD, o.ORIGINAL_TARGET_DATE,o.ORIGINAL_TARGET_DATE_OLD,o.TARGET_DATE,o.TARGET_DATE_OLD,
    o.ACTUAL_DATE,o.ACTUAL_DATE_OLD,o.STATUS,o.STATUS_OLD,o.DOCLINK,o.DOCLINK_OLD,o.SERIAL_NUMBER,o.SERIAL_NUMBER_OLD,
    u.FNAME || ' ' ||u.LNAME AS EMPLOYEE,o.ACTION_TYPE
    FROM AUD_OBLIGATION o, TRAC_USER u, OBLIGATION_USER ou
    WHERE o.OBLIGATION_ID = ou.OBLIGATION_ID
    AND
    ou.TRAC_USER_ID = u.TRAC_USER_ID;
    i_AUD_OBLIGATION cur_AUD_OBLIGATION%rowtype;
    BEGIN
    for i_AUD_OBLIGATION in cur_AUD_OBLIGATION loop
    actType := i_AUD_OBLIGATION.ACTION_TYPE;
    actDate := i_AUD_OBLIGATION.UPDATED_TS;
    emp := i_AUD_OBLIGATION.UPDATED_BY;
    IF i_AUD_OBLIGATION.OBL_DESC != i_AUD_OBLIGATION.OBL_DESC_OLD
    THEN modData := 'OBL. DESC. was: ' || i_AUD_OBLIGATION.OBL_DESC_OLD
    || 'It is now: ' ||i_AUD_OBLIGATION.OBL_DESC;
    ELSE modData := modData;
    END IF;
    IF i_AUD_OBLIGATION.OBL_TYPE != i_AUD_OBLIGATION.OBL_TYPE_OLD
    THEN modData := modData || 'OBL. TYPE. was: ' ||i_AUD_OBLIGATION.OBL_TYPE_OLD
    || 'It is now: ' ||i_AUD_OBLIGATION.OBL_TYPE;
    ELSE modData := modData;
    END IF;
    IF i_AUD_OBLIGATION.ORIGINAL_TARGET_DATE != i_AUD_OBLIGATION.ORIGINAL_TARGET_DATE_OLD
    THEN modData := modData || 'ORIG.TRGT DATE was: ' || i_AUD_OBLIGATION.ORIGINAL_TARGET_DATE_OLD
    || 'It is now: ' ||i_AUD_OBLIGATION.ORIGINAL_TARGET_DATE;
    ELSE modData := modData;
    END IF;
    INSERT INTO vw_AUD_OBLIGATIONS VALUES
    (actDate,actType, emp,modData);
    END LOOP;
    END;
    Here is the view I've created, based on this procedure (it does not compile):
    CREATE OR REPLACE VIEW vw_AUD_OBLIGATIONS
    (Action_Date, Action_Type, Action_User, Modified_Data)
    AS
    SELECT actDate,actType, emp,modData
    FROM proc_AUD_OBLIGATIONS
    END;
    Any thoughts on how to make this work - it seems like such a simple concept....
    Thanks in advance
    Tony

    You have a couple of misconceptions here. First, you cannot SELECT from a procedure. You need to write a PROCEDURE that INSERTs these columns into a TABLE, then simply SELECT from the TABLE. There are of course many variations, but I hope you get the general idea here.
    Greg

  • Insert into external DB using native SQL

    Hi,
    Is there any easier way to insert data in to External DB using native SQL insert.
    there are 250 columns to be inesrted. table structures in SAP and ext db are same.
    Thanks in Advance
    Somesh

    Hi someswara,
    Creating a dynamic statements using Native SQL is a bit tough task. I don't think anyone might have tried it. Instead you can write down the all columns as it is one time activity only, and by the time you will find solution you will be ready with your queries :).
    Reward points if useful.
    Regards,
    Atish

  • How can I create an csv/excel file using pl/sql and then sending that file

    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.

    968776 wrote:
    How can I create an csv/excel file using pl/sql and then sending that file to a clients site using pl/sql?
    I know how to create the csv/excel file but I can't figure out how I would get it to the clients site.You are trying to do it at a wrong place..
    Whay do you want database (pl/sql) code to do these things?
    Anyhow, you may be interested in :
    {message:id=9360007}
    {message:id=9984244}

  • About using categories and perspectives for new user

    We are just beginning a conversion and upgrade project to convert our Web site to Oracle Portal. I'm trying to get a good handle on some different things we need to resolve as part of the project. One of the first decisions is using Categories and Perspectives.
    I'd like to ask users about how they have used categories and perspectives and some real-world examples of how these work and improve the site and user experience.
    About us
    We're a big nonprofit river authority and wholesale electric provider in Austin, Texas. Currently, we offer very limited online transaction capabilities. However, we are diverse organization and users come to us looking for every specific information, so these elements may be very helpful. I'm evaluating how we can use these and other elements to make recommendations. Some real-world examples and best practices would help a lot.
    Thank you, Charles Boisseau
    Web editor
    Lower Colorado River Authority
    [email protected]

    Continuing the thread...
    Perspectives and categories may be leveraged in custom search portlets, so that you can enter the content one time, in one place, and have selected content display in multiple places.
    Re: our "news" concept: our central communications group posts news stories tagged with one or more perspectives, such as which school is related to the story. This allows us to keep all of our news stories in one page group, but reuse the content elsewhere. For example, for the School of Nursing intranet, we can use a custom search portlet that automatically displays only that school's stories.
    You'll want to do some up-front planning regarding your classification scheme. One significant limitation of both categories and perspectives is the inability to change the hierarchy. Oracle Portal product team, if you're reading this, this is a serious pain! I might also recommend leaving your classification scheme relatively flat. Tagging content with perspectives becomes more difficult if the content contributor has to visually traverse a deep hierarchy of perspectives.
    Categories work similarly, but we mainly use them to visually sort items on a page using the "Group By" feature of a region.
    Hope this gets some gears turning.
    -John

  • How to create a counter using Oracle SQL Developer?

    Is there any way to create a counter using Oracle SQL Developer to create the below scenario. Meaning it will recorded down the name of user and ID and time and the date they login.
    Library portal home statistics shows how many users (outside and within the campus) visit the library portal.
    Page Access statistics is recorded on an hourly basis. Users may select the statistics by
    yearly (statistics displayed by all months in the selected year)
    monthly (statistics displayed by all days in the selected month)
    daily (statistics displayed by all hours in the selected day)

    I'm giving here one basic post - hope this will solve your problem --
    SQL>
    SQL>
    SQL> create table audit_info
      2   (
      3     usr        varchar2(50),
      4     log_time   timestamp(6)
      5    );
    Table created.
    SQL>
    SQL>
    SQL>  create table err_log
      2     (
      3       log_cd      varchar2(20),
      4       log_desc    varchar2(500)
      5     );
    Table created.
    SQL>
    SQL>
    SQL>   create or replace procedure ins_err(errcd   in  varchar2,
      2                                        errnm   in  varchar2)
      3    is
      4      pragma autonomous_transaction;
      5    begin
      6      insert into err_log values(errcd,errnm);
      7      commit;
      8    end;
      9  /
    Procedure created.
    SQL>
    SQL>
    SQL>   create or replace procedure ins_aud(ud   in varchar2,
      2                                        unm  in varchar2)
      3    is
      4      pragma autonomous_transaction;
      5    begin
      6      insert into audit_info values(ud,unm);
      7      commit;
      8    exception
      9      when others then
    10        ins_err(sqlcode,sqlerrm);
    11    end;
    12  /
    Procedure created.
    SQL>
    SQL>
    SQL>
    SQL> create or replace trigger log_odsuser1
      2   after logon on odsuser1.schema
      3   begin
      4     ins_aud('ODSUSER1',sysdate);
      5   exception
      6     when others then
      7       ins_err(sqlcode,sqlerrm);
      8   end;
      9  /
    Trigger created.
    SQL>
    SQL*Plus: Release 9.2.0.1.0 - Production on Tue Jun 12 12:21:09 2007
    Copyright (c) 1982, 2002, Oracle Corporation.  All rights reserved.
    Connected to:
    Oracle9i Enterprise Edition Release 9.2.0.6.0 - 64bit Production
    With the Partitioning, OLAP and Oracle Data Mining options
    JServer Release 9.2.0.6.0 - Production
    SQL>
    SQL>
    SQL>
    SQL> set serveroutput on
    SQL>
    SQL>
    SQL> select * from audit_info;
    USR
    LOG_TIME
    ODSUSER1
    12-JUN-07 12.00.00.00000000 AMHope this will solve your purpose.
    Regards.
    Satyaki De.

  • How to create a crystal Report using C# and SQL Server

    Hi, im new in creating crystal report using SQL Server, and im making a project.. and could someone help me how to connect your .sdf (SQL Server File) from the bin to your crystal report? thanks a lot.. i followed some instructions like this one (https://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?referrer=http://social.msdn.microsoft.com/Forums/vstudio/en-US/48c0dd48-5b23-49da-8601-878f8406125e/how-to-create-a-crystal-report-using-sql-server-visual-c?forum=csharpgeneral)
    but i got an error on the adding of server name and database portion.. thanks a lot in advance

    Hello,
    Crystal Reports are supported on
    http://scn.sap.com/community/crystal-reports.
    Karl
    When you see answers and helpful posts, please click Vote As Helpful, Propose As Answer, and/or Mark As Answer.
    My Blog: Unlock PowerShell
    My Book:
    Windows PowerShell 2.0 Bible
    My E-mail: -join ('6F6C646B61726C406F75746C6F6F6B2E636F6D'-split'(?<=\G.{2})'|%{if($_){[char][int]"0x$_"}})

Maybe you are looking for

  • Is there a way to connect 1 external thunderbolt display and 1 external HDMI display to a mid 2012 MBP (non-retina display)?

    I've had a 24" Asus HDMI montitor for a while, and just got a 27" Apple thunderbolt display. I was wondering if there was a way to connect both of these to my mid-2012 Macbook Pro (non-retina). I know you can daisy-chain 2 thunderbolt displays, so I

  • [Solved] Automount Generic MP3 Player with UTF-8 encoding

    Hello, everybody! Ubuntu refugee here. So far I'm going fine with Arch, I just have a couple of problems related to my Generic USB Mp3 player: 1) I want HAL to mount the player with UTF-8 encoding. Right now, it shows Arabic characters as ??????. 2)

  • Mac OSX 10.7.4 not recognising file types.

    .dmg files are coming up as a plain "document". I have changed the "open with" to diskimagemounter and clicked change all. This works until the computer is restarted, then reverting back to unkown file type or document. Any suggestions? Thanks.

  • Latest Patch Level in Sap HCM ECC 6.0

    What is the latest patch level that one should apply for Sap HCM ECC 6.0.? What are the disadvantges of not updating the patch levels?

  • Zoom Area... Oh man...

    For the next version of Captivate, can the development team allow captions (or any other type of animation or caption) to be placed over the zoom area? Putting it at the highest layer (per the Help file) really sucks. I'd like to be able to zoom into