How to export Tables along with Data and also Tables without data
Hi All,
I have a strange situation here. I have a 2 existing schema's under one database. Now the client wants to have 4 more schema's to incorporate the new branches of his company.
I want to know whether is it possible for me to run an expdp command by which i can have the data from the mentioned tables and only table structure of the remaining along with remaining database objects (procedure,functions,triggers,views,sequences etc).
Since there are some 32 Master tables, whose data i need to capture in db dump in order to run the batch under new schema and the remaining tables will be populated with data from the new branch employees hence the need is for table’s structure only.
Hi,
you should run two different import comand.
The first import with only metadata, just to recreate the structure.
With the second import you will import data only for the tables you need.
I think this is the simplier solution.
Acr
Similar Messages
-
How to export subreports along with main reports in crystal reports 2008
Hi
I am having serious issues in Crystal Reports 2008. While I was trying to export one of my reports(having 3 subreports) in to a pdf file,well only the main report data is getting exported.
My subreports are ON DEMAND SUBREPORTS.
Kindly help me in resolving this issue.
Thanks in advance
Sam_dwhThanks Debi for your answer.
Well now I am thinking of publishing the reports which I have generated ,so that client need not have to install crystal reports individually in their computers.But I don't have BO portal as such for publishing.
What will I do? -
Copying tables along with their indexes between databases
I use sql server management studio express. I have a database that has some questionable schemas, roles, etc, so I decided to create a new database, with just tables, stored procedures, and user-functions.
So I used the "import data" feature, which allowed me to select several tables, that were copied along with their data.
Then, I scripted out all the user-functions and stored procedures from the original database, and pasted them into a query window for the new database, and executed the create statements for each.
Then I got a message that I was lacking a full-text index.
I then started examining some tables, and even regular tables with an integer primary key that is supposed to be an identity' field were not identity fields any more, and lacked the auto-increment.
I tried to change that, and make them auto-increment, and then sql server told me that I can't do that. I guess if there is already data inside an integer field, you can't make it auto-increment.
So how do I solve all this?
ThanksYou cant modify a column to be of type identity. For that you need to do the below
http://www.mssqltips.com/sqlservertip/1397/add-or-drop-identity-property-for-an-existing-sql-server-column/
But in your case what works best would be to script out the table along with identity and then use it to create the table in the new database.
Please Mark This As Answer if it solved your issue
Please Vote This As Helpful if it helps to solve your issue
Visakh
My Wiki User Page
My MSDN Page
My Personal Blog
My Facebook Page -
Unique file name to be decoded and to be updated in a table along with data
Hi
I'm working on a File to Proxy scenario, where the file names(10 chars length) are unique. These files will be available for XI in a source directory. My requirement is -- file name need to be decoded into 3 values and to be updated into a r/3 database table along with the file data.
Hope my requirement is clear.
Thanks.You cannot see the field which stores the file name. The file name comes from payload at runtime.
Secondly no need to create any input parametes in your UDF, just edit your udf and delete the input parameter (default input is 'a') so that you don't have to map any constant to this UDF just map this UDF to target field.
e.g. UDF ---> target Field.
I did the same but am not able to activate the mapping.
Mapping activation Error:
Activation of the change list canceled Check result for Message Mapping hello_mapping | http://briks.com:
Mapping not sufficiently defined
Chennai. -
Exporting USER along with data
Hi there,
Is it possible to export User along with data. I have 5 tables which belong to user DEVELOPER. I want to EXP this user with 5 tables.
When I run the IMP, it errors out saying USER does not exist.
I use like USERID=SYSTEM/MANAGER FULL=Y or I tried also with FROMUSER=DEVELOPER , TOUSER=DEVELOPER
I can get away from this error by pre-creating DEVELOPER user but what if I have 20 users with their data.
Is it possible that IMP will create user first and then import the data?
I am using Oracle 9i on Windows.
Thanks,
Data SheetHey,
Try the URL below -
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch01.htm#1006280
Example to export an user using command line:
$exp system/pasword FILE=scott.dmp OWNER=scott GRANTS=y ROWS=y COMPRESS=y
or
http://download-west.oracle.com/docs/cd/B10501_01/server.920/a96652/ch02.htm#1005864
Example to import an user using command line:
$imp SYSTEM/password FILE=scott.dmp FROMUSER=scott TABLES=(dept,emp)
I hope this can help you,
Best Regards,
Marcello -
How to export iPhoto Album in iMAC and have similar folder structure(with Timestamps) which can be viewed in finder
In simple terms, I wanted to view the photos in Windows system, similar strcture of iPhotosIf you want to copy all of your photos to a Windows machine and have them in folders representing the iPhoto Events the were in quickly and easily just do the following:
1 - open the library with the Finder as shown in this screenshot:
2 - COPY the Originals/Masters folder to the Desktop.
3 - copy the Originals/Masters folder to the Windows machine.
This will give you all of your original image file in their Event folder on the Windows machine.
NOTE: With iPhoto 8 or newer the Event folders in the Masters folder will be titled by date (EXIF) if imported from a camera. If imported from a folder the event folder will have the same title as the source folder. If imported singularly or in a group without a folder the title will be a date, either the EXIF date or import date.
With iPhoto 7 (08) and earlier the Event folders in the Originals folder will have the same title as the Event has in the library.
This method would be quicker but not provide the additional metadata you might have added in iPhoto like keywords, titles, descriptions that exporting out of iPhoto with Format=JPEG and the checkboxes selected to include keywords, titles, places, etc, checked.
OT -
Retrieve all column data of a table along with the number of records received
hi, i want to select all the records from a table along with the number of records received as i need to use that number in a loop to retrive data from another table
can i use
SELECT @emp_id=emp_ID, @emp_NAME=emp_NAME,@RowCnt = (select count(*) from emp_id) order by emp_idi tried your idea, i get error in at the over() . I am using sql compact edition and i guess it is not supporting over() function. But i am still going to use the code for example something like this assuming it will work in real time with
enterprise edition. Please let me know what i am going to use is correct or not?
SELECT [EventID],[BallroomCharge], @rowcnt=count(*) Over()
FROM [testSample].[dbo].[Events]while (@rowcnt > 0)perform some request -
Data Display table along with Graph
As per my knowledge we are not having any option currently for displaying data table along with graph.
This plot data table can have plot name along with current data.
See the sample below. Many times I need to display number of parameters on graph and current value need to see along with graph.
It will very useful if I get something like this in next version.Hi chameli,
well, you gave the chart as an example to your question - but didn't specify your question any further!
What's wrong with a little coding to have your data presented as you like to?
Best regards,
GerdW
CLAD, using 2009SP1 + LV2011SP1 + LV2014SP1 on WinXP+Win7+cRIO
Kudos are welcome -
How to find index name with primarykey and column on a table?
Hi,
how to find index name with primarykey and column on a table?
please help me.
Thankyou.1 select ac.table_name, ac.index_name, aic.column_name
2 from user_constraints ac, user_ind_columns aic
3 where ac.constraint_type = 'P'
4 and ac.index_name = aic.index_name
5* order by 1,2,3
SQL> /
TABLE_NAME INDEX_NAME COLUMN_NAME
ACTION_TABLE SYS_C0011033 NESTED_TABLE_ID
ACTION_TABLE SYS_C0011033 SYS_NC_ARRAY_INDEX$
CATEGORIES_TAB SYS_C0011038 CATEGORY_ID
CUSTOMERS CUSTOMERS_PK CUSTOMER_ID
INVENTORIES INVENTORY_IX PRODUCT_ID
INVENTORIES INVENTORY_IX WAREHOUSE_ID
LINEITEM_TABLE SYS_C0011034 NESTED_TABLE_ID
LINEITEM_TABLE SYS_C0011034 SYS_NC_ARRAY_INDEX$
ORDERS ORDER_PK ORDER_ID
ORDER_ITEMS ORDER_ITEMS_PK LINE_ITEM_ID
ORDER_ITEMS ORDER_ITEMS_PK ORDER_ID
PRODUCT_DESCRIPTIONS PRD_DESC_PK LANGUAGE_ID
PRODUCT_DESCRIPTIONS PRD_DESC_PK PRODUCT_ID
PRODUCT_INFORMATION PRODUCT_INFORMATION_PK PRODUCT_ID
PROMOTIONS PROMO_ID_PK PROMO_ID
WAREHOUSES WAREHOUSES_PK WAREHOUSE_ID
16 rows selected. -
How can we delete SID table data and Text table data
Hi,
How can we delete SID table data and Text table data of any
InfoObject.Hi,
Go to transaction SE14, give the technical name if the table:
/BIC/T<InfoObject Name> for Text Table
/BIC/S<InfoObject Name> for SID Table
Select "Table" in the given 4 options below & hit Edit button.
in the next screen select "Direct"
& also select "detele data" radio button.
& hit "Activate & adjust database".
this will delete the complete data from the tables.
Note: before deleting the SID's make sure of the consequences & after effects.
Also the SID gets generated the next time you load master data/transaction data only for those records which were loaded..
Regards,
Iliyas -
How is the best way to export my project with clips and videos?
I would like to save my project and export the project with clips and videos included. What is the best way to do it?
Can you clarify:
clips and video
Seems as though you want to retain the original media?
Export as a Master File to get a good quality export file of your Timeline.
Al -
Can we add button in query region along with go and clear
Hi Friends,
i have a requirement as below steps-
1)i have developed search pgae by using query regiion
2) in pgae,first we have search items,go and clear(submit buttons), table region.
3)here go and clear buttons came automatically.
4) i can able to add button in front of the page and end of the page.
4) my requirement is i need to add one more button along with go and clear(here go and clear button are in between search items and table region) .
5)i am not able to add button along with go and clear.
Can any one know how to do this--
Thanks in Advance
vamshiHi Vamshi,
You can not create extra buttons in Standard Query region.
Alternatively you can create your custom region for the search and there you can add a button. If you don't need advanced region, you can create the custom region in place of standard one.
Anoop -
Table Relation with Payment and Invoice of Vendor
Hi all,
I have one question about Table Relation with Payment and Invoice of Vendor.
the scenario is.
2 Purchase Order number : 100000001/100000002
1 Invoice document number : 200000001 which include 2 Purchase Order.
1 Payment document number : 300000001
How should I found out table relation from Payment document number - Invoice document number - Purchase Order number. ?
I try to link the following table, but it does not work.
RBKP * Invoice Receipt
RSEG * Invoice Receipt document line item
BKPF * Accounting Document Header
BSEG * Accounting Document Segment
PAYR Payment Medium File
BSIK Accounting: Secondary Index for Vendors
BSAK Accounting: Secondary Index for Vendors (Cleared Items)
BSIS Accounting: Secondary Index for G/L Accounts (Open Items)
Does any one know about it ?
Regards
KY ChuangHi Venkatesh,
Thnx a lot for the reply. This has almost solved my problem, however there's one thing left. when I'm trying to take a print out after exporting the info into an excel sheet, the information really looks scattered, i.e., is there a way where we can go ahead and get the info in a rather unscattered manner.
I've tried to take a print directly without actually transferring the info into an excel sheet, then each of the vendor is printed in a separate page, which again they feel is a problem.
So, if you have an idea pls suggest.
Thnx again for the information.
regards
sandhya -
Hard currency is not valuated in FAGL_FC_VAL along with local and group currency
Hi All,
I have the below system settings for FOREX revaluation. The revaluation is not happening for Hard currency along with local and group currency. The test data and other settings seams to be fine as the below mentioned workaround works perfectly for hard currency revaluation.
I would like to take your expert feedback on this issue to confirm whether this is how SAP works or its an issue with FAGL_FC_VAL program.
System Settings:
Currencies in company code
local currency group currency hard currency
10 30 40
USD USD UYU
FOREX settings:
Work around found:
Define two Valuation area, say
1. Valuation Area: A1 which will have currency type 10 and 30.
2. Valuation Area: A2 which will have only the currency type 40.
3. Run FAGL_FC_VAL twice for these area.
Issue with this work around:
1. The valuation area is assigned to one accounting principle (which is in turn assigned to a specific ledger).
2. Thus, if I have different accounting FOREX process to be followed in different ledgers (say IFRS ledger, Local Ledger, Tax ledger) then I need to create 2 valuation area (as per above workaround) for each ledgers and run FAGL_FC_VAL for each of these valuation areas.
Thanks & Regards
Nikhil KothariHi Experts,
Any views on the above issue?
Thanks & Regards
Nikhil Kothari -
QM action not allowed for DTP requests in master data and Text tables
Hi,
I have a master data object load request which has failed, returned error in st22 and job finished.
BUT the request has not turned red in the monitor - it's still yellow. That means that I can not delete request nor start new load to infoprovider because it believes a request is still running. But it's not, I've checked both sm37, sm50 etc.
When trying to manually change QM status to 'red' it says 'QM action not allowed for DTP requests in master data and Text tables'
How can I force QM status to red so that I can move on?
Running NW2004s BI (7.0) Patch 15.
I searched for this question but there is no answer
Thank youFolks
I know how frustrating this problem is even in netweaver 7.0 environment. I found a solution for this problem atlast and it works but a not direct way of resolving this issue.
When this request is in yellow status and not able to change / delete the request, its actually in a pseudo status and it is a bug in the program. This request sits in table RSBKREQUEST with processing type as 5 in data elements USTATE, TSTATE and this 5 is actually "Active" status which is obviously wrong.
All we need is, ask your basis person to change the status to 3 in both these data elements and then it allows to reload the delta. Once the delta is successfully loaded, you can delete the previous bad request even though it is still in yellow. Once the request is deleted, the request status gets updated as "4" in table RSBKREQUEST.
Hope this helps.
Thanks
Maybe you are looking for
-
Please look into this.. where i have to write at end of
HI all , i am getting this output in my report. the first column is the division (D.C) and the next couln is the no of consumer(no of business partner in a perticular dc (this is the count of dc)) 314200 0 314201 1 334300 0 i got the
-
i have uninstalled three times and keeps saying same thing? help pls
-
Hi All Our cusotmer runs their credit agents statement for every month for their travel Bookings for outstanding dues and overdue, recently ABTA was assigned to Head Office, so the system is able to capture only those transactions which took place af
-
Problem with Length of the Address
Hi, Here I am creating a link in the word document as Hyperlink. In that I want to give the address of the Document. And the link is very big and that is not completely coming in to the address. How to give the Big path into the address. Urgent... Re
-
Duplicated query due to parallel development environment
We have a rather unpleasant situation in our BW environment after our upgrade to BI 7.0 and use of a parallel BW development machine during the upgrade. Some of the queries seems to have multiple copies with the same technical name in production and