Single table recovery from hotbackup?
In oracle 9i, accidently one of table has dropped, is it possible to recovery single table from the hotbackup without any downtime, to the user session..
Hi
No, you can't make it possible , you have to restore your whole database and perform the incomplete recovery to get your table back.however you can go for tablespace point in time recovery , where you only need to restoter the perticular tablespace datafile , without distrurbing the rest of the operation. hi alok,you should verify ur answer before posting here.because we can use TSPITR for recovery of drop table.
As per Oracle Documentation
User-managed TSPITR is most useful for recovering the following:
An erroneous DROP TABLE or TRUNCATE TABLE operation
An erroneous DROP TABLESPACE operation
A table that is logically corrupted
An incorrect batch job or other DML statement that has affected only a subset of the database
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96572/ostspitr.htm#421341
Thanks and Regards
Kuljeet Pal Singh
Similar Messages
-
Is it possible to recover a single table in oracle instead of the entire database?
We lost all of our data in just one table by mistake.
Please let me know..user517674 wrote:
We will have to go back atleast 3 or 4 days to recover. Wehn I run it for timestamp - 4 I get:
ORA-01555: snapshot too old: rollback segment number 33 with name "_SYSSMU33$" too small
IS there any other option available?Was it that the rows were deleted or was the table dropped?
If it was dropped, you may (if you're lucky) stand a chance of getting it back with flashback...
SQL> select * from t1;
X Y
1 11
2 12
3 13
4 14
5 15
6 16
7 17
8 18
9 19
10 20
10 rows selected.
SQL> drop table t1;
Table dropped.
SQL> select * from t1;
select * from t1
ERROR at line 1:
ORA-00942: table or view does not exist
SQL> flashback table t1 to before drop;
Flashback complete.
SQL> select * from t1;
X Y
1 11
2 12
3 13
4 14
5 15
6 16
7 17
8 18
9 19
10 20
10 rows selected.
SQL> -
Reg the Simultaneous entry in a Single Table
Hi,
If we enter the Data to Single table simultaneously from One from by multiple user what will happen?
Does table will get lock when we click the new button or system will alow concurrent entry by multiple user from different location....
Becaz i developed one form for Production.This form is used by the around 5 persons simultaneously... so that i need to confirn the above issue...
Pl help me on my clarification....
Thanks in Advance,
Suresh RHi Suresh
The system should managed this issues for the correct insert on each data entry.
The DocEntry is generated when you created a document (if 5 user add several document at the same time.. the system assing diferent docEntry to each new register which have been added)
I hope explain fine and help you!
Kinds Regards -
How to display data from 2 different groups in a single table
Hi,
Following is the requirement:
The XML Content is below
ListOf_ssAssetMgmtAsset>
-<ssAssetMgmtAsset>
<ssAccountName>1-1D09-83031</ssAccountName>
<ssAccountPrimaryCountry>USA</ssAccountPrimaryCountry>
<ssAssetNumber>13111027</ssAssetNumber>
<ssNaiAssetNumber>123</ssNaiAssetNumber>
<ssNaiGrantNumber>ABC</ssNaiGrantNumber>
<ssNaiProductType>System Security Software</ssNaiProductType>
<ssNaiSuperceded>123</ssNaiSuperceded>
<ssProductDescription>Upgrade extract local DB</ssProductDescription>
<ssProductName>1-1M5H-296</ssProductName>
<ssStatus>ABC</ssStatus>
<ssId>1X-ZY</ssId>
<ssCreated>01/01/1980</ssCreated>
<ssUpdated>01/01/1980</ssUpdated>
<ssCreatedBy>1X-ZY</ssCreatedBy>
<ssUpdatedBy>1X-ZY</ssUpdatedBy>
-<ListOf_ssAgreementEntitlement>
-<ssAgreementEntitlement>
<ssEntitlementEndDate>16/12/2009</ssEntitlementEndDate>
<ssEntitlementStartDate>16/11/2009</ssEntitlementStartDate>
<ssEntitlementType>Services</ssEntitlementType>
<ssNaiQuantity>2</ssNaiQuantity>
</ssAgreementEntitlement>
</ListOf_ssAgreementEntitlement>
-<ListOf_ssAgreementEntitlement>
-<ssAgreementEntitlement>
<ssEntitlementEndDate>10/12/2009</ssEntitlementEndDate>
<ssEntitlementStartDate>10/11/2009</ssEntitlementStartDate>
<ssEntitlementType>ServicePortal</ssEntitlementType>
<ssNaiQuantity>1</ssNaiQuantity>
</ssAgreementEntitlement>
</ListOf_ssAgreementEntitlement>
</ssAssetMgmtAsset>
</ListOf_ssAssetMgmtAsset>
The data needs to be displayed in the below manner where first grouping is by Account Country, then by Account Name. Then the table with 9 columns where in the first 5 columns are from first group and the next 4 are from second group.
Account Country
Account Name
ProductType Grant # Asset # Product SKU Product Name Entitlement Type Quantity /Nodes EntitlementStart Date Entitlement EndDate
I have the coding as
first for loop: <?for-each-group:ssAssetMgmtAsset;./ssAccountPrimaryCountry?>
second for loop: <?for-each-group:current-group();./ssAccountName?>
third which is for the table : <?for-each:current-group()?>
I close the above grp after product description.
One table with the first 5 columns and below second table is placed adjacent to the first to display the 4 columns with the grp <?for-each:ssAgreementEntitlement?>
how do I get all the 9 columns in a single row in a single table.
Any help is appreciated.
thanksWhat is the lnk between the two
ssAssetMgmtAsset and ssAgreementEntitlement ?
you want to display all the ssAgreementEntitlement for every ssAssetMgmtAsset group ?
there shud be a link between them, you have link them and display. -
How to restore a single table from a DP Export from a different schema?
Environment:
Oracle 11.2.0.3 EE on Solaris
I was looking at the documentation on DP Import trying to find the correct syntax to import a single table from a DP Export of a different schema.
So, I want to load table USER1.TABLE1 into USER2.TABLE1 from a DP Export.
Looking at the REMAP_TABLE options:
REMAP_TABLE=[schema.]old_tablename[.partition]:new_tablename
OR
REMAP_TABLE=[schema.]old_tablename[:partition]:new_tablenameI can't see where to specify the target schema name. The examples had the new table name residing in the same schema with just a new name.
I looked at the REMAP_SCHEMA but the docs say that will import the entire schema into the new schema and I only want one (1) table.
Any suggestions are most welcome!
-garyI thought I tried that combination and it seemed to me that the REMAP_SCHEMA somehow over-rode the TABLES= parameter >and started loading all the objects.If it does fail (and it should not) then please post the details here and I will try to see what is happening.
Let me get back into the sandbox and try it again. I admit I was in a bit of a hurry when I did it the first time.We are all in a hurry, no worries. If it fails, please post the details and the log file.
Does it make any sense that one parameter would override another?No, this should never happen. We have tons of checks to make sure the job can't have multiple meanings. For example, you can't say
full=y schemas=foo --- Which do you want, a full export or a list of schema exports, etc.
Your suggestion was the first thing I thought would work.This should work. If not, please post the log file with the command and the results.
Dean
Thanks again for the help and stay tuned for my new attempt.
-gary -
Urgent : Making heirarchy report by fetching data froma single table
Hi,
I am making a report in which i hae to display the data like this:-
If there is a material and it contains batch and that batch furhter conatins sub-batches of it.
The problem is dat all the data which is to be displayed is from the table CHVW and i am not able to display the data in hierarchy by fetching it from a single table.
plzz guide me how to do dis as it is really urgent and points will be deinftely rewarded.
help me out.
reagrds,
ric.s
Edited by: ric .s on Apr 30, 2008 10:31 AMHi,
Check the sample Report.
REPORT z_alv_hierseq_list.
Program with FM REUSE_ALV_HIERSEQ_LIST_DISPLAY *
TYPE-POOLS: slis. " ALV Global types
CONSTANTS :
c_x VALUE 'X',
c_gt_vbap TYPE slis_tabname VALUE 'GT_VBAP',
c_gt_vbak TYPE slis_tabname VALUE 'GT_VBAK'.
SELECTION-SCREEN :
SKIP, BEGIN OF LINE,COMMENT 5(27) v_1 FOR FIELD p_max. "#EC NEEDED
PARAMETERS p_max(02) TYPE n DEFAULT '10' OBLIGATORY.
SELECTION-SCREEN END OF LINE.
SELECTION-SCREEN :
SKIP, BEGIN OF LINE,COMMENT 5(27) v_2 FOR FIELD p_expand. "#EC NEEDED
PARAMETERS p_expand AS CHECKBOX DEFAULT c_x.
SELECTION-SCREEN END OF LINE.
TYPES :
1st Table
BEGIN OF ty_vbak,
vbeln TYPE vbak-vbeln, " Sales document
kunnr TYPE vbak-kunnr, " Sold-to party
netwr TYPE vbak-netwr, " Net Value of the Sales Order
erdat TYPE vbak-erdat, " Creation date
waerk TYPE vbak-waerk, " SD document currency
expand TYPE xfeld,
END OF ty_vbak,
2nd Table
BEGIN OF ty_vbap,
vbeln TYPE vbap-vbeln, " Sales document
posnr TYPE vbap-posnr, " Sales document
matnr TYPE vbap-matnr, " Material number
arktx TYPE vbap-arktx, " Material description
netwr TYPE vbap-netwr, " Net Value of the Sales Order
waerk TYPE vbap-waerk, " SD document currency
END OF ty_vbap.
DATA :
1st Table
gt_vbak TYPE TABLE OF ty_vbak,
2nd Table
gt_vbap TYPE TABLE OF ty_vbap.
INITIALIZATION.
v_1 = 'Maximum of records to read'.
v_2 = 'With ''EXPAND'' field'.
START-OF-SELECTION.
Read Sales Document: Header Data
SELECT vbeln kunnr netwr waerk erdat
FROM vbak
UP TO p_max ROWS
INTO CORRESPONDING FIELDS OF TABLE gt_vbak.
IF gt_vbak[] IS NOT INITIAL.
Read Sales Document: Item Data
SELECT vbeln posnr matnr arktx netwr waerk
FROM vbap
INTO CORRESPONDING FIELDS OF TABLE gt_vbap
FOR ALL ENTRIES IN gt_vbak
WHERE vbeln = gt_vbak-vbeln.
ENDIF.
END-OF-SELECTION.
PERFORM f_display.
Form F_DISPLAY
FORM f_display.
Macro definition
DEFINE m_fieldcat.
ls_fieldcat-tabname = &1.
ls_fieldcat-fieldname = &2.
ls_fieldcat-ref_tabname = &3.
ls_fieldcat-cfieldname = &4. " Field with currency unit
append ls_fieldcat to lt_fieldcat.
END-OF-DEFINITION.
DEFINE m_sort.
ls_sort-tabname = &1.
ls_sort-fieldname = &2.
ls_sort-up = c_x.
append ls_sort to lt_sort.
END-OF-DEFINITION.
DATA:
ls_layout TYPE slis_layout_alv,
ls_keyinfo TYPE slis_keyinfo_alv,
ls_sort TYPE slis_sortinfo_alv,
lt_sort TYPE slis_t_sortinfo_alv," Sort table
ls_fieldcat TYPE slis_fieldcat_alv,
lt_fieldcat TYPE slis_t_fieldcat_alv." Field catalog
ls_layout-group_change_edit = c_x.
ls_layout-colwidth_optimize = c_x.
ls_layout-zebra = c_x.
ls_layout-detail_popup = c_x.
ls_layout-get_selinfos = c_x.
IF p_expand = c_x.
ls_layout-expand_fieldname = 'EXPAND'.
ENDIF.
Build field catalog and sort table
m_fieldcat c_gt_vbak 'VBELN' 'VBAK' ''.
m_fieldcat c_gt_vbak 'KUNNR' 'VBAK' ''.
m_fieldcat c_gt_vbak 'NETWR' 'VBAK' 'WAERK'.
m_fieldcat c_gt_vbak 'WAERK' 'VBAK' ''.
m_fieldcat c_gt_vbak 'ERDAT' 'VBAK' ''.
m_fieldcat c_gt_vbap 'POSNR' 'VBAP' ''.
m_fieldcat c_gt_vbap 'MATNR' 'VBAP' ''.
m_fieldcat c_gt_vbap 'ARKTX' 'VBAP' ''.
m_fieldcat c_gt_vbap 'NETWR' 'VBAP' 'WAERK'.
m_fieldcat c_gt_vbap 'WAERK' 'VBAP' ''.
m_sort c_gt_vbak 'KUNNR'.
m_sort c_gt_vbap 'NETWR'.
ls_keyinfo-header01 = 'VBELN'.
ls_keyinfo-item01 = 'VBELN'.
ls_keyinfo-item02 = 'POSNR'.
Dipslay Hierarchical list
CALL FUNCTION 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
EXPORTING
i_callback_program = sy-cprog
i_callback_user_command = 'USER_COMMAND'
is_layout = ls_layout
it_fieldcat = lt_fieldcat
it_sort = lt_sort
i_tabname_header = c_gt_vbak
i_tabname_item = c_gt_vbap
is_keyinfo = ls_keyinfo
i_save = 'A'
TABLES
t_outtab_header = gt_vbak
t_outtab_item = gt_vbap
EXCEPTIONS
program_error = 1
OTHERS = 2.
IF sy-subrc <> 0.
MESSAGE ID sy-msgid TYPE sy-msgty NUMBER sy-msgno
WITH sy-msgv1 sy-msgv2 sy-msgv3 sy-msgv4.
ENDIF.
ENDFORM. " F_LIST_DISPLAY
Form USER_COMMAND *
FORM user_command USING i_ucomm TYPE sy-ucomm
is_selfield TYPE slis_selfield. "#EC CALLED
DATA ls_vbak TYPE ty_vbak.
CASE i_ucomm.
WHEN '&IC1'. " Pick
CASE is_selfield-tabname.
WHEN c_gt_vbap.
WHEN c_gt_vbak.
READ TABLE gt_vbak INDEX is_selfield-tabindex INTO ls_vbak.
IF sy-subrc EQ 0.
Sales order number
SET PARAMETER ID 'AUN' FIELD ls_vbak-vbeln.
Display Sales Order
CALL TRANSACTION 'VA03' AND SKIP FIRST SCREEN.
ENDIF.
ENDCASE.
ENDCASE.
ENDFORM. " USER_COMMAND
END OF PROGRAM Z_ALV_HIERSEQ_LIST ******************
Regards,
Raj. -
Exporting a single table from an acrobat created form
I created a 5 page document InDesign (CS5.5), On one page I created a table that is 4 columns x 25 rows (with the first row being a header), using the table feature. I then exported to pdf and finalized the form in Acrobat 9.2 Pro. After running the Form Field Recognition the table was populated with the appropriate fields. I finalized the form and distributed. When the form is returned to me, I am trying to export JUST the information in this table to a spreadsheet (employee name, title, phone, email, ) and do not seem to be able to do so. Is this possible from a form? It doesn't seem like the pdf recognizes this table as a table any longer. It is a list of attendees, so I want to take this list from each returned form and combine them all into a master list.
With the selection tool I have tried to select all the text > right click > Open Table in Spreadsheet and only the header rows appear. If I choose just the text and not the headers, then nothing appears. If I export the entire document then each cell of the table is its own column in excel, which makes sense since they all have different field names, but this doesn't make the spreadsheet useful. The only thing I have been able to do is select all the cells, copy into notepad, place a tab between each piece of information > save and open that document in excel. I am hoping there is an easier way. Basically all I am trying to do is have that table appear in excel as it does the pdf. I have searched several websites and have not been able to find anything that specifically deals with exporting a single table from a completed form.
Perhaps I need to set the table field names differently? Any assistance would be greatly appreciated.The "table" idea here is just a design idea, the identity as a table no longer exists in a PDF. The feature you're trying to use is for tables which are part of the regular PDF, not form fields.
You can export form data. All fields, but then process to exclude the ones you don't want. -
Getting last year column value from a single table
I am having the following columns in my table
BRANCH_CD
YYMM
VNDR#
VGROUP#
SALES_TRGT_AMT
SALES_ACTL_AMT
CUM_TRGT_AMT
CUM_ACTL_AMT
i need to get sales_actl_amt from this year and sales_actl_amt from last year from a single table
pls help
thank you
Edited by: 960991 on Nov 19, 2012 11:13 PMHi ashish,
but i can't use unions in my reports.
once view my query :
select t.branch_cd,b.branch_e_name,t.vndr#,v.vndr_name,
sum(nvl(t.sales_actl_amt,0)) sales_actl_amt
from inv_sales_trgt_val t,branches b,vendor v where
t.branch_cd=b.branch_cd and
t.vndr#=v.vndr# and
(t.yymm between :fiscal_month and :fiscal_month2) and
(:fiscal_month<>trunc(:fiscal_month2,-2)) and :fiscal_month2<>trunc(:fiscal_month2,-2)) and t.branch_cd between :from_branch and to_branch and
t.vndr# between :from_vndr and :to_vndr
group by t.vndr#,v.vndr_name,t.branch_cd,b.branch_e_name
order by t.vndr#,t.branch_cd;
how can i get last year sales_actl_amt . -
Taking data from two different server in a single table
Hi All,
can u plz tell me i want take a data from a two different server in a single table
Thanks,
Bell.Again, you have written the same sentence. I have 2 servers Server1 and Server2 and one table called my_table (You or God knows where this table is).
Now tell us what you want to do ?
Sidhu
http://amardeepsidhu.blogspot.com -
Numbers: Copy/Paste from multiple tables into 1 single Table?
I would appreciate some guidance in creating a copy/paste script from multiple numbers tables into a different single table within the same numbers document.
The columns in the source table are in different positions to the destination table.
So for example, i would want to copy…
Sheet 1, Table 1 Cell A3 copy to Sheet 2 Table Z Cell B2
Sheet 1, Table 1 Cell B3 copy to Sheet 2 Table Z Cell C2
Sheet 1, Table 1 Cell C3 copy to Sheet 2 Table Z Cell E2
Sheet 1, Table 1 Cell D3 copy to Sheet 2 Table Z Cell F2
Sheet 1, Table 1 Cell E3 copy to Sheet 2 Table Z Cell G2
Sheet 1, Table 1 Cell G3 copy to Sheet 2 Table Z Cell I2
Sheet 1, Table 1 Cell J3 copy to Sheet 2 Table Z Cell H2
and repeat the copy/paste on subsequent rows of each table until there is an empty row in Sheet 1 Table 1 (or if this is difficult, say set the repeat to a max of 30 rows).
The script would then need to move on to Sheet 1 Table 2, and do the same copying to Sheet 2 Table Z (from where the previous copy/paste finished in Table Z).
Repeat process would finalise with Sheet 1 Table 6.
The Paste part would need to be pasting values, as the cells in the source tables do contain some formulas.
At the moment this is all done manually and does take some to to undertake.
If anyone can help, i would be very grateful.
Thanks,
ColinInterceptor,
are you trying to aggregate data from severl tables into a single table? If so you whould be able to do this without a script. The function indirect() will allow you to construct the proper formula, which you may fill over (in the same row) to the appropriate cells, then fill down.
Here is a small example:
There are three data tables ("Table 1", "Table 2", and "Table 3"). And a summary "Table Z"
In table Z make the first row a header (as shown):
Use column A to enter the Sheet name and colomn B to enter the table name.
In row 1 (the header), enter the cells you want to get
in cell C2 type (or copy and paste from here) the formula:
=INDIRECT($A2&"::"&$B2&"::"&C$1)
now select cell C2, copy now select cell C2 thru H2, paste
now select the cells C2 thu H2, hover the corsor over the bottom edge of the selection, and drag the yellow cirlc down as needed to fill the formula down.
Update the sheet and table names as needed for each row -
Export single table from Production
Dear Experts
I have to export a single table from Production and import that into Quality. In SCC8 we have a option in expert mode (SingleCopy option tables) will this help me in exporting the data of a single table if yes but which profile do we select?
or do we have any other method for this.
Thanks & Regards
Amit PaithanakrThe fastest and easiest way is to ask your SAP Basis administrator to perform an export/import via R3trans.
Kind regards,
Mark -
Is it Possible to make a join from a single table
Hi all,
Is it Possible to make a join from a single table
Suppose HR_ALL_ORGANIZATION_UNITS table
can we make a join in the following way
HR_ALL_ORGANIZATION_UNITS.ORGANIZATION_ID =HR_ALL_ORGANIZATION_UNITS.BUSINESS_GROUP_ID
Thanks in advanceHi
Yes you can join,
Like below =- it is called self join -
Slect a.oersson_id,a.employee_numebr, b.full_name
form
hr_all_organization_units a,
hr_all_organization_units b
where
a.person_id = b.person_id and
sysdate between a.effective_start_date and a.effective_end_date and
sysdate between b.effective_start_date and b.effective_end_date
914618 wrote:
Hi all,
Is it Possible to make a join from a single table
Suppose HR_ALL_ORGANIZATION_UNITS table
can we make a join in the following way
HR_ALL_ORGANIZATION_UNITS.ORGANIZATION_ID =HR_ALL_ORGANIZATION_UNITS.BUSINESS_GROUP_ID
Thanks in advance -
Recover a single table from a complete rman
Hi
I need to restore a single table from a complete rman backup, but it seems like this backup is divided into datafiles and this table is allocated together with others.
I use a library for make backups.
Does anybody know how can I get this unique table's information from my rman backup?Hi
Which version of Oracle are you using?
If you are using 9i you must restore the database with another name and dann export/import the needed tables.
If you are using10g you can try with the SQL-command: FLASHBACK TABLE
Bye, Aron -
Unable to join dimensions & measures from 2 diff context in single table
Hello,
I am a newbie in the BO & Webi arena and have an issue in merging dimensions & measures from two different contexts(in universe) in a single table.
I tried using ForceMerge but dint work out.
Heres my scenario,
query 1- Fiscal Yr, Month, Physician,Metric,Rate
query 2- Fiscal Yr, Month,Metric,Rating Scale,lower limit,upper limit
So, i have to ceate a report involving Fiscal Yr, Month, Physician,Metric,Rate & Rating Scale.
For each 'Metric' there is specific range which defines its 'Rating Scale'.
Ex. Tetanus Vaccine(Metric) has a the following scale
Lower limit Upper Limit Rating Scale
0 69 0
70 89 1
90 90 2
91 95 3
95 100 4
The value of 'Rate' lies in between these values and accordingly it should get the scale.
So, the report should be like
fiscal yr Month Physician Metric Rate Scale
Any help will be highly appreciated!
Thanks in advance.Hi Vicky,
From what I have read in the above posts, you have merged Fiscal Yr, Month and Metric objects as they are the common dimensions. I assume "Physician" is the only other dimension among all the objects that you have listed.
In your report, you need to use the merged dimension for Fiscal Yr, Month and Metric. For Physician, you can use the dimension from query 1, as there are no other dimensions that you are planning to display.
If the above things are right, then your calculation should work correctly.
If it is not working correctly, I have a feeling that you have not merged Metric object. In case if you have any other dimensions than what is listed above, let me know.
Regards,
Srivatsa -
How to get the data from multiple tabes into single table
hi all,
here i am having 10 data base tables,how to get the data into a single table.
regards,
subba reddyhi,
non XI/PI related
Regards,
Michal Krawczyk
Maybe you are looking for
-
App Downloads to more than 1 playbook
how do I purchase an app for one of my playbooks but download to all three I own. Each Playbook is bridged to three different phones. All phones are connected to one wireless billing account
-
Any suggestions?
-
How do I select a spy menu from inside an AP div?
Hi, I'm new to dreamweaver (2nd day) and am having trouble manageing to select my menu so I can assign links to it in the properties section. I can click on the AP div, which I put it in, and I can click inside each menu button and I can click to hig
-
SRM recipient role restricted to plants
Hi In SRM the organizational levels available in authorizations to the 'Recipient role' consist of 'Purch.org' and 'Purch.grp'. How do I restrict the role to certain plants? I tried adding the authorization object M_BBP_IM_1 to restrict actions accor
-
String scalar Function in ms sql2005
Can someone help me with a function? I have some sql: SELECT depositReceivedCurrency ,SUM(depositReceivedAmount) AS currencyAmount FROM dbo.tbTrades WHERE clientID = 1 AND depositReceivedCurrency IS NOT NULL GROUP BY depositRec