US specific tables in HR/HCM

Hi,
Can someone list all the US specific HR tables.
regards,
Naveen.

Welocme TO SDN.
There are as such no country specific tables in HR.
They are infotypes, mainly related to payroll.
Check for IT 0195, 0196, 0207,0208,0209,0210, 0216, 0234,0235, etc.as for there tables chck with suffix PA with each infotypes.
Regards,
Amit
Note - To give more visibility to your query mark it as a question.

Similar Messages

  • Error while running query for a specific table

    Hi All,
    I need your help please.
    I've configured everything correctly in my SCCM environment. And i used to connect the CAS database from a separate box(same domain) which has SSMS console installed in it. Now the problem is, whenever i try to run a query in CAS database locally, it runs
    successfully. But when i connect the CAS database remotely and run the same query with the same login i used in CAS, it says the below error. This is happening from past 2 days only. :'(
    Query ran :
    select top 100 * from v_GS_WORKSTATION_STATUS
    Error :
    Msg 18456, Level 14, State 1, Line 1
    Login failed for user 'NT AUTHORITY\ANONYMOUS LOGON'.
    OLE DB provider "SQLNCLI11" for linked server "abc.domain.com" returned message "Invalid connection string attribute".
    I checked the SQL connection authentication information it says authenticated by kerberos using below query :
    SELECT 
        s.session_id
      , c.connect_time
      , s.login_time
      , s.login_name
      , c.protocol_type
      , c.auth_scheme
      , s.HOST_NAME
      , s.program_name
    FROM sys.dm_exec_sessions s
      JOIN sys.dm_exec_connections c
        ON s.session_id = c.session_id
    where s.host_name='servername'
    Result:
    136 2015-01-30 17:50:29.277 2015-01-30 17:50:29.280 domain\user TSQL KERBEROS servername Microsoft SQL Server Management Studio
    But, another wierd information is i can successfully run the below query in remote.
    select * from vSMS_R_System
    I think that specific table is not working in remote. Pleaseeeeeeee helppp me......
    Regards,
    Jay

    Hi JaySmiley,
    According to your description, you get the logon issue when connecting to CAS database remotely and execute query. Right?
    In this scenario, this error can happen when the SPN account is registered without setting 'trusted for delegation' property. Account must be trusted for delegation in order for Kerberos delegation to succeed. Here's a blog talking about your scenario, please
    refer to the link below:
    http://blogs.technet.com/b/umairkhan/archive/2013/10/19/the-distributed-views-do-not-get-created-in-configmgr-2012-sp1-because-of-the-login-issue.aspx
    If you have any question, please feel free to ask.
    Simon Hou
    TechNet Community Support

  • How To Restric all kind of access to 2 specific tables in SQL Server for all Users.Instead of table we would like users to go through View.

    Hi All,
    I am looking at an Technical solution for Restricting the direct access some specific tables in my data base  to all the users(Except admins and few Service accounts). However views created on top of these tables would be exposed to all Users.
    Could any one help me with the best solution.
    Thanks in advance,
    Regards,
    Raja Suri

    Hello,
    You can try to create a new role "Client_User" in the database and deny access to the new role on the specify tables. And then add all user which you want to restricting the direct access the specific tables to the database role.
    For example:
    Use Database
    CREATE ROLE [Client_User] AUTHORIZATION db_securityadmin;
    DENY SELECT ON OBJECT::schema.table TO [Client_User] ;
    EXEC sp_addrolemember 'Client_User', 'username';
    Regards,
    Fanny Liu
    Fanny Liu
    TechNet Community Support

  • How to get search help tables of a specific table

    Hello Guru,
    I've a problem.
    I'm looking for a way to find out how many "search help" tables exist in a specified Check Table.
    Well, when I look for a check table of a field like MARD-LGORT
    I got as a check table T001L, now when I read the data from it, using the function module RFC_READ_TABLE I got all the data that I need, except now that I don't know which fields are actually displayed in the search help table of the field LGORT
    This what I want, in my case, the field that I need in the table T001L are : LGOBE LGORT WERKS
    All the others, are not so important.
    Please let me now, if you have an idea to find this.
    The search help table is for LTGORT : H_T001L
    Best Regards,
    Kais

    hi ,
    try this
    in the F4 value..
    call funtion '  HELP_VALUES_GET'                                                                               
    DISPLAY        =   "Text u want to display                                                                      
    FIELDNAME       = "Field name in specific table                                                                     
    INPUT_VALUE    = "Any default value                                                                       
    TABNAME           =   "Table name           
    Exporting
    SELECT_VALUE     = "The selcted vale in pop=up
    SELECT_INDEX      = "selected Index.
                Regards,
    prabhudas

  • Manual Exporting of BLOB specific table to text file

    Hi,
    Our application is having 60000 record in a BLOB specific table.
    My requirement is to export the entire table data to text files .
    When I tried converting BLOB to sting and writing to file, it took almost 3 mins for 100 records, if so, will take so much of time in exporting data from BLOB specific table.
    I am using the following logic,
    byte[] bdata = blob.getBytes(1, (int)blob.length());
    String data1 = new String(bdata);
    buffer.append(data1);
    Can anyone please tell me how can I speed up the operation.

    >
    Our application is having 60000 record in a BLOB specific table.
    My requirement is to export the entire table data to text files .
    >
    Welcome to the forum!
    If you are looking for a pure Java solution you should post this question in the JDBC forum.
    https://forums.oracle.com/forums/category.jspa?categoryID=288
    Unless your BLOB data is located inline you are going to use Oracle to read 60,000 files, one at a time, and then use Java to write 60,000 files one at a time.
    That will be a very slow process.
    Also - your Java code is only going to read the LOB locator and inline BLOB data since you are not getting and processing the actual stream.
    See 'Reading and Writing BLOB, CLOB and NCLOB Data' in the JDBC Dev Guide for details
    http://docs.oracle.com/cd/B28359_01/java.111/b31224/oralob.htm#sthref756

  • Disable Statistics for specific Tables

    Is it possible to disable statistics for specific tables???

    If you want to stop gathering statistics for certain tables, you would simply not call DBMS_STATS.GATHER_TABLE_STATS on those particular tables (I'm assuming that is how you are gathering statistics at the moment). The old statistics will remain around for the CBO, but they won't be updated. Is that really what you want?
    If you are currently using GATHER_SCHEMA_STATS to gather statistics, you would have to convert to calling GATHER_TABLE_STATS on each table. You'll probably want to have a table set up that lists what tables to exclude and use that in the procedure that calls GATHER_TABLE_STATS.
    Justin
    Distributed Database Consulting, Inc.
    http://www.ddbcinc.com/askDDBC

  • SQLPS - Checking for a specific table

    I am trying to check for a table existence in each database.  Any ideas why this does not work?
    Import-Module
    "sqlps" -DisableNameChecking
    $SQLServer
    = "wobdslezberg2"
    Set-Location
    SQLSERVER:
    $dbArray
    = Get-ChildItem
    -name -Exclude
    "tempdb*",
    "master*",
    "model*",
    "msdb*" |
    Sort-Object
    foreach ($DatabaseName
    in $dbArray)
    $instance =
    $DatabaseName
    #write-host  $instance
    if (test-path
    "SQLSERVER:\SQL\wobdslezberg2\DEFAULT\Databases\$instance\Tables\eConfig") {write-host
    "exists"}
    else {write-host
    "not exists"}

    I am trying to iterate through all the databases on the server and check for the existence of a specific table in each database. 
    Actually that line does work fine because if I comment out the if test-path line, I get results as expected.  and I get list of tables like this
    dbo.SRC04_TABLES
    How do I put in the schema (dbo) in the test-path?
    The test-path does not seem to work as I get this message
    Test-Path : Cannot retrieve the dynamic parameters for the cmdlet. SQL Server PowerShell provider error: The number of keys specified does not match the number of keys required to address this object. The number of keys required are: Name.
    At line:19 char:9
    +     if (test-path "SQLSERVER:\SQL\wobdslezberg2\DEFAULT\Databases\$instance\Tabl ...
    + ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
        + CategoryInfo          : InvalidArgument: (:) [Test-Path], ParameterBindingException
        + FullyQualifiedErrorId : GetDynamicParametersException,Microsoft.PowerShell.Commands.TestPathCommand
    Thanks
    Scott

  • How can I identify reports that use specific tables

    Hi, is there a way that I can identify the reports that select from specific tables?  We have 3,000 reports in business object enterprise XI R2 SP5. and we're trying to identify all the reports that use a specific table.

    Or if you have a developer in Java or .NET available you can write one. Fairly simple to get the info.
    In .NET you would open each report, write the name of the report to a log file with the output of the SQL Statement:
    Using RAS as the report engine.
                GroupPath gp = new GroupPath();
                string tmp = String.Empty;
                rptClientDoc.RowsetController.GetSQLStatement(gp, out tmp);
                MessageBox.Show(tmp, "Data Source Set and SQL Statement", MessageBoxButtons.OK, MessageBoxIcon.Information);
    If you want more details is is available with a few more lines of code. The above would only show you what is used in the report.
    I don't believe there is a BOE tool that can do this but they may have one.
    Here's a link to the BOE Admin forum: BI Platform
    Thank you
    Don

  • Asigning Reports, specific tables and Url links to the Role

    Hello Gurus,
    could you please tell me the procedure of asigning Reports, specific tables and Url links in the role.actually i know the process of assigning T-Codes to the role but i dont know the procedure for reports and url links and tables...
    i hope u people will respond positively.
    Cheers.......
    srinivas.korva

    Hi Srinivas,
    "i want to add only one particular table not all tables", you can do this using a Custom Transaction Code, the following are the steps to do it:
    1) goto se93, give a unique name, say zxxx
    2)Enter SE16 into the transaction field and select the flag the ‘skip initial screen’ field:
    3)On the lower portion of the screen, enter the following information:
    Name of screen field: DATABROWSE-TABLENAME
    Value: Enter the name of the table you want to browse with
    4)save it.
    5) Now add the transaction zxxx in th role, and assign it to the user.
    With this, when user executes the transaction, he/she will be able to see only the perticular table you added.
    "in PFCG what is the use of Exper mode for profile generation. what is the difference between general profile generation and expert mode profile generation".
    Expert mode has 3 options:
    1) Delete and recreate profile and authorizations---This will completely delete the old profile and add only  the new once.
    2) Edit old status----It will edit the old values
    3) Read old status and merge with new data----This will add the new values aithout actually disturbing the old ones.
    Hope it helps.
    Please award points if it is useful.
    Thanks & Regards,
    Santosh

  • How can I get list of columns used of specific table in all stored procedure?

    How can I get used column list of a specific table in among all stored procedure?
    Suppose that,
    I have a table(VendorMaster) which has 100 columns just I want to know how many columns used in among all stored procedure.

    We have solved by below query...
    IF OBJECT_ID('tempdb.dbo.#SPDependencyDetails') IS NOT NULL
    DROP TABLE #SPDependencyDetails
    CREATE TABLE #SPDependencyDetails
     Or_Object_Database NVARCHAR(128)
    ,Or_Object_Name NVARCHAR(128)
    ,Ref_Database_Name NVARCHAR(128)
    ,Ref_Schema_Name NVARCHAR(128)
    ,Ref_Object_Name NVARCHAR(128)
    ,Ref_Column_Name NVARCHAR(128)
    ,Is_Selected BIT
    ,Is_Updated BIT
    ,Is_Select_All BIT
    ,Is_All_Columns_Found BIT
    DECLARE @database_name VARCHAR(100)
    DECLARE database_cursor CURSOR
    FOR
    SELECT name
        FROM sys.databases
        WHERE database_id =8
    OPEN database_cursor
    FETCH NEXT FROM database_cursor
    INTO @database_name
    WHILE @@FETCH_STATUS = 0 --Outer Loop begin
    BEGIN
        DECLARE  @WholeLotofSQL NVARCHAR(MAX) =       '
        DECLARE @object_name VARCHAR(150)
        ,@sqlstatement NVARCHAR(2500)
        DECLARE object_cursor CURSOR --Inner cursor, iterates list of objects that match type
        FOR
            SELECT name
                FROM '+@database_name+'.sys.objects AS o
                WHERE o.type = ''P'' --Change Object type to find dependencies of Functions, Views and etc.
                ORDER BY 1    
        OPEN object_cursor
        FETCH NEXT FROM object_cursor INTO @object_name
        WHILE @@FETCH_STATUS = 0  --Inner Loop Begin
            BEGIN
                SET @sqlstatement = ''USE '+@database_name+';
                                    INSERT INTO #SPDependencyDetails
                                    SELECT DB_NAME() AS Or_Object_Database
                                            ,'''''' + @object_name + '''''' AS Or_Object_Name
                                            ,CASE WHEN referenced_database_name IS NULL THEN DB_NAME()
                                                    ELSE referenced_database_name
                                            END AS Ref_Database_Name
                                            ,referenced_schema_name AS Ref_Schema_Name
                                            ,referenced_entity_name AS Ref_Object_Name
                                            ,referenced_minor_name AS Ref_Column_Name
                                            ,is_selected
                                            ,is_updated
                                            ,is_select_all
                                            ,is_all_columns_found
                                        FROM sys.dm_sql_referenced_entities(''''dbo.'' + @object_name + '''''', ''''OBJECT'''');''
                EXEC sys.sp_executesql @sqlstatement
                FETCH NEXT FROM object_cursor INTO @object_name
            END      
        CLOSE object_cursor
        DEALLOCATE object_cursor'
        EXEC sys.sp_executesql @WholeLotofSQL
        FETCH NEXT FROM database_cursor INTO @database_name
    END
    CLOSE database_cursor;
    DEALLOCATE database_cursor;
    SELECT Or_Object_Database as 'Database'
    ,Or_Object_Name as 'Procedure'
    ,Ref_Object_Name as 'Table'
    ,Ref_Column_Name as 'Column'
    FROM #SPDependencyDetails

  • RFC-enabled authorization checks for specific tables?

    I am developing an Excel application which calls several BAPIs and RFC-enabled FMs, most notably RFC_READ_TABLE.  While I will provide security at the FM level by checking S_RFC for these FMs, I need to find a way of restricting access for users to specific tables based on certain table fields?  Is there any SAP-delivered FM/BAPI that will let me do this?
    My understanding is that although RFC_READ_TABLE does check S_TABU_DIS, it only checks tables based on their belonging to a particular table class—It is not checking authorization for an individual table. What this means is that users will need to have access to the table class or classes to which the table or tables belong, for any tables that are being read by RFC_READ_TABLE.
    Please correct me if I am wrong in my understanding, or if there is a standard solution for a situation like this.

    Hi john,
    1. What this means is that users will need to have access to the table class or classes to which the table or tables belong, for any tables that are being read by RFC_READ_TABLE.
    U are perfectly right.
    2. The users will have to be given rights
       NOT TABLE WISE,
       But authorisation group wise.
    3. Note : S_TABU_DIS
       The main purpose of this authorisation object
       is for standard tools like sm30 only.
       Its also used in the FM RFC_READ_TABLE .
    regards,
    amit m.

  • Export specif tables

    I need to export specific tables from a schema in database
    Eg: select table_name from dba_tables where owner='ANALYTICS' and table_name like 'W_%'
    This query returns around 1500 tables.
    How can I take export of these 1500 tables (Passing these 1500 tables one by one is not an easy task)
    So need to have some tool, where all these tables are retrieved with a " , " and in one liine

    The INCLUDE parameter has a limit of 4000 bytes. Pl see these related threads for a solution
    exp datapump problem
    Re: expdp - tables
    HTH
    Srini

  • Can I run a Unix shell when insert some record on a specific table?

    Can I run a Unix shell when insert some record on a specific table?
    I need to run a Unix shell when a record be insert on a table. Is there a way in order to do that?
    THanks,
    Carlos.

    1. Make a backup of the extproc.c file in the c:\orant\rdbms80\extproc
    directory.
    2. Create a file called extern.c in the c:\orant\rdbms80\extproc directory.
    The "extern.c" file :
    #include <oci.h>
    #define NullValue -1
    #include<stdio.h>
    #include<string.h>
    long __declspec(dllexport) OutputString(context ,
                             path , path_ind ,
                             message , message_ind,
                             filemode , filemode_ind ,
                             len , len_ind )
    char *path;
    char *message; 
    char *filemode;
    int len;
    OCIExtProcContext *context;
    short path_ind;
    short message_ind;
    short filemode_ind;
    short len_ind;
    FILE *file_handle;
    int i ;
    char str[3];
    int value;
    /* Check whether any parameter passing is null */
    if (path_ind == OCI_IND_NULL || message_ind == OCI_IND_NULL ||
    filemode_ind == OCI_IND_NULL || len_ind == OCI_IND_NULL ) {
    text initial_msg = (text )"One of the Parameters Has a Null Value!!! ";
    text *error_msg;
    /* Allocate space for the error message text, and set it up.
    We do not have to free this memory - PL/SQL will do that automatically. */
    error_msg = OCIExtProcAllocCallMemory(context,
    strlen(path) + strlen(initial_msg) + 1);
    strcpy((char *)error_msg, (char *)initial_msg);
    /*strcat((char *)error_msg, path); */
    OCIExtProcRaiseExcpWithMsg(context, 20001, error_msg, 0);
    /* OCIExtProcRaiseExcp(context, 6502); */
    return 0;
    /* Open the file for writing. */
    file_handle = fopen(path, filemode);
    /* Check for success. If not, raise an error. */
    if (!file_handle) {
    text initial_msg = (text )"Cannot Create file ";
    text *error_msg ;
    /* Allocate space for the error message text, and set it up.
    We do not have to free this memory - PL/SQL will do that automatically. */
    error_msg = OCIExtProcAllocCallMemory(context,
    strlen(path) + strlen(initial_msg) + 1);
    strcpy((char *)error_msg, (char *)initial_msg);
    strcat((char *)error_msg, path);
    OCIExtProcRaiseExcpWithMsg(context, 20001, error_msg, 0);
    return 0;
    i = 0;
    while (i < len)
    /* Read the hexadecimal value(1). */
    str[0] = message;
         i++;
    /* Read the hexadecimal value(2). */
    str[1] = message[i];
    /* Convert the first byte to the binary value. */
    if (str[0] > 64 && str[0] < 71)
    str[0] = str[0] - 55;
    else
    str[0] = str[0] - 48;
    /* Convert the second byte to the binary value. */
    if (str[1] > 64 && str[1] < 71)
    str[1] = str[1] - 55;
    else
    str[1] = str[1] - 48;
    /* Convert the hex value to binary (first & second byte). */
    value = str[0] * 16 + str[1];
    /* Write the binary data to the binary file. */
    fprintf(file_handle,"%c",value);
              i++;
    /* Output the string followed by a newline. */
    /* fwrite(message,len,1,file_handle); */
    /* Close the file. */
    fclose(file_handle);
    3. Use the make.bat available in the c:\orant\rdbms80\extproc directory. You
    need to run vcvars32.bat file before running this batch file. This will
    create a dll file.
    4. Configure the tnsnames.ora and the listener.ora files.
    The tnsnames.ora should contain the following entries.
    extproc_connection_data.world =
    (DESCRIPTION =
    (ADDRESS =
    (PROTOCOL = IPC)
    (KEY = ORCL)
    (CONNECT_DATA = (SID = extproc)
    The listener.ora should contain the following entries.
    # P:\ORANT\NET80\ADMIN\LISTENER.ORA Configuration File:p:\orant\net80\admin\listener.ora
    # Generated by Oracle Net8 Assistant
    LISTENER8 =
    (ADDRESS = (PROTOCOL = TCP)(HOST = winnt_nsc)(PORT = 1521))
    SID_LIST_LISTENER8=
    (SID_LIST =
    (SID_DESC =
    (GLOBAL_DBNAME = winnt_nsc)
    (SID_NAME = ORCL)
    (SID_DESC =
    (SID_NAME = extproc)
    (PROGRAM = extproc)
    5. Login from sqlplus and issue the following statements.
    create library externProcedures as 'C:\orant\RDBMS80\EXTPROC\extern.dll';
    Create or replace PROCEDURE OutputString(
    p_Path IN VARCHAR2,
    p_Message IN VARCHAR2,
    p_mode in VARCHAR2,
    p_NumLines IN BINARY_INTEGER) AS EXTERNAL
    LIBRARY externProcedures
    NAME "OutputString"
    With context
    PARAMETERS (CONTEXT,
    p_Path STRING,
    p_path INDICATOR,
    p_Message STRING,
    p_message INDICATOR,
    p_mode STRING,
    p_mode INDICATOR,
    p_NumLines INT,
    p_numlines INDICATOR);
    This is the pl/sql block used to write the contents of the BLOB into a file.
    Set serveroutput on before running it.
    SQL> desc lob_tab;
    Name Null? Type
    C1 NUMBER
    C2 BLOB
    lob_tab is the table which contains the blob data.
    declare
    i1 blob;
    len number;
    my_vr raw(10000);
    i2 number;
    i3 number := 10000;
    begin
    -- get the blob locator
    SELECT c2 INTO i1 FROM lob_tab WHERE c1 = 2;
    -- find the length of the blob column
    len := DBMS_LOB.GETLENGTH(i1);
    dbms_output.put_line('Length of the Column : ' || to_char(len));
    -- Read 10000 bytes at a time
    i2 := 1;
    if len < 10000 then
    -- If the col length is < 10000
    DBMS_LOB.READ(i1,len,i2,my_vr);
    outputstring('p:\bfiles\ravi.bmp',rawtohex(my_vr),'wb',2*len);
    -- You have to convert the data to rawtohex format. Directly sending the buffer
    -- data will not work
    -- That is the reason why we are sending the length as the double the size of the data read
    dbms_output.put_line('Read ' || to_char(len) || 'Bytes');
    else
    -- If the col length is > 10000
    DBMS_LOB.READ(i1,i3,i2,my_vr);
    outputstring('p:\bfiles\ravi.bmp',rawtohex(my_vr),'wb',2*i3);
    dbms_output.put_line('Read ' || to_char(i3) || ' Bytes ');
    end if;
    i2 := i2 + 10000;
    while (i2 < len ) loop
    -- loop till entire data is fetched
    DBMS_LOB.READ(i1,i3,i2,my_vr);
    dbms_output.put_line('Read ' || to_char(i3+i2-1) || ' Bytes ');
    outputstring('p:\bfiles\ravi.bmp',rawtohex(my_vr),'ab',2*i3);
    i2 := i2 + 10000 ;
    end loop;
    end;

  • Size of a specific table on disk? Queries over multiple (2) tablespaces?

    I am looking for a way to find out (for Oracle 9.2.0.1.0).
    How much space does each or a specific table require on disk?
    (whether with indices or without is the other question).
    And how much "payload" data is in each or a specific table?
    Another question - of my team leader - is:
    Is it possible to make queries over multiple (2) tablespaces?
    I assume - no - am I right?
    Thank you for precise answers as well as links to other threads in this forum (where I did not find it until now),
    and chapters in online documentation - or other sources.
    PS: I know SQL, PL/SQL a bit.
    We have Oracle Enterprise Manager console and SQL*Plus console.

    >
    The table size can not be found in bytes precisely, but in number of blocks of a certain size allocated for this table (index etc.).
    select segment_type,segment_name, Sum(Bytes)/1024 as kB from DBA_EXTENTS
    where tablespace_name = 'xyz' group by segment_type,segment_name;
    There are more blocks allocated for a table than space is needed by the current data amount.
    I guess, that this table was once bigger and has been emptied a bit.
    >
    A table grows in extents that get filled then with new rows. The columns
    blocks and bytes of user_tables get populated from dba_stats.
    In below example, the table rows have filled up to MB_TABLE the extents:
    SQL> select table_name,blocks*8/1024 as mb from user_tables order by 1;
    TABLE_NAME                   MB_TABLE
    CUSTOMERS            11.6015625
    SALES                 278.96875
    SQL> select segment_name,bytes/1024/1024 as mb from user_segments order by 1;
    SEGMENT_NAME                 MB_SEGMENT
    CUSTOMERS                    12
    SALES                       285If you later on delete again from the tables, that does not deallocate extents nor remove the high water mark unless you reorganize the table:
    SQL> select count(*) from customers;
      COUNT(*)
         55500
    SQL> delete from customers where rownum<25000;
    24999 rows deleted.
    SQL> commit;
    Commit complete.
    SQL> select segment_name,bytes/1024/1024 as mb from user_segments order by 1;
    SEGMENT_NAME                 MB
    CUSTOMERS                    12
    SALES                       285
    SQL> select table_name,blocks*8/1024 as mb from user_tables order by 1;
    TABLE_NAME                   MB
    CUSTOMERS            11.6015625
    SALES                 278.96875
    SQL> exec dbms_stats.gather_table_stats('ADAM','CUSTOMERS')
    PL/SQL procedure successfully completed.
    SQL> select table_name,blocks*8/1024 as mb from user_tables order by 1;
    TABLE_NAME                   MB
    CUSTOMERS            11.6015625
    SALES                 278.96875
    SQL> alter table customers enable row movement;
    Table altered.
    SQL> alter table customers shrink space;
    Table altered.
    SQL> exec dbms_stats.gather_table_stats('ADAM','CUSTOMERS')
    PL/SQL procedure successfully completed.
    SQL> select segment_name,bytes/1024/1024 as mb from user_segments order by 1;
    SEGMENT_NAME                 MB
    CUSTOMERS                6.4375
    SALES                       285
    SQL> select table_name,blocks*8/1024 as mb from user_tables order by 1;
    TABLE_NAME                   MB
    CUSTOMERS             6.2265625
    SALES                 278.96875Kind regards
    Uwe
    http://uhesse.wordpress.com

  • Restrict specific tables from SE16/SE11

    Dear Experts,
    We have a requirement of lock from view of some specific tables in SE16/SE11. Please provide the solution.
    Regards
    Shishir

    Create a new authorization group from SE54.
    Go to SE54, then select Authorization group and click create / change.
    Here create a new authorization object by clicking the new entries.
    Then note the authorization group and assign the authorization group to table.
    Go to SE11, enter the table name, click display. Then select Utilities - Assign Authorization Group.
    Then click edit and enter the authorization group (which is created earlier)
    Then in PFCG, for authorization object S_TABU_DIS enter the authorization group.
    Now check the tables in SE16.

Maybe you are looking for

  • Error Message after updating to 7.2

    Just installed iTunes 7.2 and I get an error message: An unhandled win32 exception occurred in iTunes.ese [3568] Just-In-Time debugging this exception error with the following error: No installed debugger has Just-In-Time debugging enabled. In Visual

  • Internet only works on WIFI - 4g icons etc disappeared

    Hi guys, I have had a dig around online and can't seem to find a solution to my problem. My Sony Experia Z3 Compact had been working fine (probably for around 5 months) until recently. For some reason I can only access the Internet if I connect to WI

  • HPE-390t RAID 1 HDD - SSD ??

    My HPE-390t machine currently has 2 x 1 TB regular HDD's in them in a RAID 1 configuration (so I get total space of around 1 TB only).  I'd like to move to SSD's since it will give me a big performance boost on this 4-5 year old machine, but am not s

  • I hear noise clicks writing to a SourceDataLine

    Hello: I have taken out the main code of my program because it contains and error that I can't solve. I try to write a sine wave to a SourceDataLine and trying with different values for the buffer's line lenght, array lenght and I don't know why happ

  • Error in creating an Oracle WebLogic Server domain

    Hi Everyone,                     Am getting this following error when I tried to create a Weblogic Server Domain,Kindly help.I displayed the screen shot below,