How to generate a create tablespace ddl?
Hi guys
I would like to know where in Designer I can generate a ddl for JUST tablespaces. It looks like every time I try to generate it from the DbAdmin tab I get
this " CDS-11312 Warning: Tablespace 'MYTABLESPACE_DATA' property COMPLETE is 'N' " warning.
Can anybody help on this
Thanks
-A
I go it. You need to set your property pallet "complete" attribute to yes (F4)
Thanks
Similar Messages
-
View create tablespace DDL?
How about is there a way to see the DDL used to create a tablespace in 9i?
How about reading up on the same dbms_metadata?
SQL> select dbms_metadata.get_ddl('TABLESPACE', 'USERS') from dual;
DBMS_METADATA.GET_DDL('TABLESPACE','USERS')
CREATE TABLESPACE "USERS" DATAFILE
<rest skipped for security purposes ;)>Gints Plivna
http://www.gplivna.eu -
How to generate profile create in SU02
Hi expert,
I had just create a profile in SU02 and i already activate it.
But still not been generate and there was no black button under Ty. column in SU02.
Is there other tcode to generate profile?
Please advice and my sap system is ver 4.0B.
Thanks
regards,
ng chong chuanChong,
As Alex mentioned - when you are creating profiles manually there is no generation of profiles involved.
When you are in SU02 and enter the profile name and press enter you come to a screen that says "Profile List", there you click on the create icon (F6) and then when you add objects in the next screen "Maintain Profile", you first need to activate the profiles in this screen and then use F3 to come back to screen 1"(Profile List) and activate again........ -
Using Data Pump to get a copy of all the CREATE TABLSPACE DDL in a database
I have been looking through the documentation for a way to export.
I was thinking I could get the DDL using the below and them don an IMPDP SQLFILES=yyy.sql
cat expddl.sql
DIRECTORY=dpdata1
JOB_NAME=EXP_JOB
CONTENT=METADATA_ONLY
FULL=yes
DUMPFILE=export_${ORACLE_SID}.dmp
LOGFILE=export_${ORACLE_SID}.log
I would have thought you could just do an INCUDE on the tablespace but it does not like that.
10.2.0.3I would like to know why you want create tablespace DDLs ? As if you have to import it on the same machine (or the machine with similar mount points) the import should do that automatically for you. And if you have to do it on some other machine, you can always use SQLFILE option to generate DDL from the export dump.
Regards,
Amardeep Sidhu -
Hi,
I have to create tablespace for a a user named MCG who has his data spread in 200 tablespaces.. so i need to recreate 200 TS on the new server before importing its data...
now, i want the script (i.e CREATE TABLESPACE... command) for each of those 200 TS.....
i did full export , cancelled it in betn and got the create tablespace stmts but the issue is that it contains STORAGE clause which I don't want as we have strict policy not to specify storage cluase while creating it on new server...
Can anybody guide me how can i obtain create tablespace script for all the 200 TS without storage clause..
thxWhich STORAGE clause are you referring to?
You can create your DDL statements using DBMS_METADATA like
set long 100000
select dbms_metadata.get_ddl('TABLESPACE',TABLESPACE_NAME) from dba_tablespaces; Message was edited by:
Jens Petersen -
How to Generate DDL Statement for PSAPROLL Tablespace on Oracle9i-HP_UX
Hi,
I am having SAP R3 46C installed with Oracle 9i on HP_UX 11i system.
I want to generate required DDL statements for PSAPROLL Tablespace/Rollback Segments as Backup/recovery purpose, before converting it into PSAPUNDO.
Its easy to find & store required DDL statements using OEM. But, I am not able to locate oemapp (under $ORACLE_HOME/bin directory) application in the installation.
The current patch level of installed oracle is
I want to start OEM in HP_UX system, if it is possible.
otherwise,
I want to know the other alternatives to generate the required DDL statements.
Thanks in advance.
Regards,
Bhavik G. ShroffHi Stefan,
On windows Platform it is very easy to get DDL info for any object of database.
But, I was not able to start OEM in HP_UX system.
I have done my job complete using this good package of Oracle9i, in this way.
SQL> SET heading off
SQL> SET long 10000
SQL> SET pages 100
SQL> SELECT dbms_metadata.get_ddl(u2019TABLESPACEu2019,'PSAPROLLu2019)
FROM DBA_TABLESPACES;
O/P:
CREATE TABLESPACE "PSAPROLL" DATAFILE
'/oracle/RQ1/sapdata1/roll_1/roll.data1' SIZE 681574400 REUSE ,
'/oracle/RQ1/sapdata1/roll_2/roll.data2' SIZE 3145719808 REUSE
LOGGING ONLINE PERMANENT BLOCKSIZE 8192
EXTENT MANAGEMENT LOCAL UNIFORM SIZE 1048576 SEGMENT SPACE MANAGEMENT MANUAL
SQL> SELECT dbms_metadata.get_ddl(u2019ROLLBACK_SEGMENTu2019,'PRS_0u2019)
FROM DBA_SEGMENTS;
CREATE ROLLBACK SEGMENT "PRS_0" TABLESPACE "PSAPROLL"
STORAGE(INITIAL 10485760 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 32765
Also follow this useful links:
[DDL Generation--Oracle's Answer to Save You Time and Money|http://www.dbasupport.com/oracle/ora9i/DDLgen2.shtml]
[DDL Generation--Oracle's Answer to Save You Time and Money|http://www.dbasupport.com/oracle/ora9i/DDLgen3.shtml]
Good.
Thanks a lot. -
How to generate the DDL script of all the schema objects.
Hi All,
I just wanted to make centralized repository for Oracle database and to create a base version, I need to create the DDL scripts of all the database objects so that i can check in the same ddl scripts (sql) files in to my central repository.
I need do this schedule job which will generate the ddl scripts once in a month(This should be automated process)
Please help me out about this.
Oracle version - 9i
Thanks in advance.
Thanks,
Santosh
Edited by: Santosh_Oracle on Feb 23, 2011 10:26 PMIt is definitely possible to revise the script.
Look at it, you already have 80 percent of it for free, and you didn't even need to Google.
Just ask a FAQ in a forum loaded with FAQs!
And Toad can save everything to one script per object.
Sybrand Bakker
Senior Oracle DBA -
How to create tablespaces in Windows
using Oracle 10g XE on Windows
how do I create tablespaces on Windows?Hello,
YOu can login as system or sys usign sqlplus and run following offcourse modify with ts name and location
create tablespace my_new_ts datafile 'C:/my_path_to_data_file/my_new_ts_dat01.dbf' size 300M autoextend on next 100M maxsize 8192M;regards -
How to configure wokflow for MRP generated & manually created PR
Dear Gurus,
I have to customize SAP workflow for releasing Purchase requisitions. I will be using enhancement M06B0001 for my own role resolution.
I have some questions regarding workflow
1) How to configure workflow for MRP generated & manually created PR?What are the steps? what are the limitations in doing so?
2) Since we are facing the problem of insufficient user license ,How to send notifications to NON SAP users?(We have thought of creating a Z table for the same)
Looking forward to your reply,
Thanks in advance,
Best regards
Tushar
SAP MM ConsultantDear Mike,
Thanks for your reply, & sorry for not responding on time.
Here are my constraints:
1) Not a single component of HR module will be implemented.(Project management decision:-()
2) Number of user licenses are less, considering the workflow users.(Hence we have thought of creating Z table for employee nos. & EMAIL IDs ,& this table will be accessed by using M06B0001 user exit.(It is still in development phase. Truely speaking, dont know whether it will work or not).If this works out ,then I believe, record from SU01 will not be used (Please correct me here).
3)We have 2 instances on development server.(in short,2 separate installations on same server by creating additional instance). What are the implications of this particular system landscape on workflow? Whether workflow will work or not??:-(, :-(.
The reason I asked you 3rd question is , As soon as 2 nd instance was created on development server, Short Dumps are coming while running transactions of Workflow builder.(SWDD & PFTC).It is giving error" Table is unknown or does not exist". Description of error says"The current program"SAPLSWF3 had to be terminated because one of the statements could not be executed."
"An SAP Open SQL Statement contains a table that does not exist in the database or is not listed in the ABAP Data dictionary.The Table is "SWF_WFPDSC" or another table is accessed in the statement.
Program=SAPLSWF3
Include=LSWF3U05
Row=22
Module name=SWF_WFP_REPOSITORY_CONTENT_GET
The same dump is coming while accessing SWF_WFPVW table from SE16.
Request to Mike & all of you, help me in this regard.
Thanks in Advance,
Regards,
Tushar -
How to create tablespace HRAPP
Hi everyone,
@Nicolas ; @Hakan Biroglu
My system: Windows Server 2003 32-bit ; Oracle DB 10.1.0.2.0 ; PT 8.52 ; PeopleSoft Human Capital Management and Campus Solutions 9.0 - Revision 5 ;
During Data Mover script I recieve the following error :
Importing AAP_ETHNIC_PMPT
Creating Table AAP_ETHNIC_PMPT
- SQL Error. Error Position: 108 Return: 959 - ORA-00959: tablespace 'HRAPP' does not exist
CREATE TABLE PS_AAP_ETHNIC_PMPT (ETHNIC_GROUP VARCHAR2(1) NOT NULL, DESCR VARCHAR2(30) NOT NULL) TABLESPACE HRAPP STORAGE (INITIAL 40000 NEXT 100000 MAXEXTENTS UNLIMITED PCTINCREASE 0) PCTFREE 10 PCTUSED 80
Error: Unable to process create statement for AAP_ETHNIC_PMPT
Ended: Tue Aug 21 16:19:06 2012
Unsuccessful completion
How can I fix this error,please help ?Tablespace HRAPP should have been created when you ran hcddl.sql.
CREATE TABLESPACE HRAPP DATAFILE '<drive>:\oradata\<SID>\hrapp.dbf' SIZE 350M
EXTENT MANAGEMENT LOCAL AUTOALLOCATE
SEGMENT SPACE MANAGEMENT AUTO
Make sure all the tablespaces defined in the file hcddl.sql are created!
Judging by your other thread you have choosen to create a PeopleTools system database, without an application (HCM).
Now you want to run the dms to create HCM tables???
If you want to create an HCM database you need to run hcddl.sql.
Edited by: Hakan Biroglu on Aug 21, 2012 4:38 PM -
How to add more than one datafile while creating tablespace
how to add more than one datafile while creating tablespace. I know by using alter command i can add datafile but i want while creating tablespace
Hi Dadivela,
how to add more than one datafile while creating tablespace.Here is the syntax:
!http://www.dba-oracle.com/images/create_tablespace.jpg!
I do it like this:
create tablespace myts
datafile
*'/u01/app/oracle/db1.dbf' size 100m,*
*'/u02/app/oracle/db2.dbf' size 200m;*
Here are my complete notes:
http://www.dba-oracle.com/t_tablespace_create_alter.htm
Hope this answers your question . . .
Donald K. Burleosn
Oracle Press author -
How to generate an id for a vendor when create a new one?
Dear friends,
How to generate a new id for a new vendor when create the new vendor?
Thanks a lot!>
Qiwei Yin wrote:
> Dear friends,
>
> How to generate a new id for a new vendor when create the new vendor?
>
> Thanks a lot!
Hi,
For many account groups, there is no need to specify vendor number while creating a new vendor. They will take internal number assignment and you can leave this field blank.
For external number assignment, you can assign you own number.
If you are creating vendors through program, and you want your vendors in a particular format, you can use your own number ranges created through SNRO.
regards
Sreenivas -
Hi,
can any body please tell me that how to generate the tables ddl.
or any possible way to generate it without DBMS_METADATA.GET_DDL because it takes a lot of time.
thanks in advance !Have you tried using Tools | Database Export?
It allows you to to select tables within a schema, or export the whole schema. -
How to import tables, indexes, tablespace, etc from a DMP.
Hello,
I like to know how to import tables, indexes, tablespace, etc from an DMP export of a Oracle 10.2.0.1 to be apply on a Oracle 11.2.0. When I import the DMP file all the data is going to one single Tablespace, for example, Users tablespace.
On the original database we have various tablespace's each separated with different content (tables, indexes) and I like to know if it posible to import the same schema,tables, indexes, tablespace all made with one single DMP Export. I can't use DBUA because the software of the database on the 10.2 is missing, I have only a DMP file (24GB) of DMP!.
Thanks for the reply,
Sorry for my english :).
Regards.thanks for that but is not what Im looking for.
Look, on my ORCL directory of the oracle 10.2 I have for example this:
CONTROL01.CTL
EXAMPLE01.DBF
REDO01-1.LOG
REDO01.LOG
REDO02-2.LOG
REDO02.LOG
REDO03-3.LOG
REDO03.LOG
RMAN.DBF
SYSAUX01.DBF
SYSTEM01.DBF
TEMP01.DBF
UNDOTBS01.DBF
USERS01.DBF
TABLESPACE1.ORA
TABLESPACE2.ORA
TABLESPACE3.ORA
TABLESPACE4.ORA
TABLESPACE5.ORA
I make a full export to a DMP. Then in my 11.2 version first I created the user then when import the DMP file none of the tablespace (TABLESPACE1, TABLESPACE2, ETC...) is created, all is going to the USERS tablespace, SO, im looking a way to tell imp command that generates the exactly tablespace structure that i was have on the 10.2.
Hope this can explain more my problem.
Thanks again!. -
Creating SEQUENCE ddl in Modeler?
I am new to the Sql Dev Modeler and am probably asking a pretty silly question but it My silly question so here goes.
I have created several SEQUENCE definitions in the Physical Model but cannot findout how to generate ddl to actually create the sequences. Any ideas?Disregard - I just stumbled upon the answer in the generate DDL dialog screen.
Maybe you are looking for
-
Internal Drives Disappeared- Help
G4/1.0 DP MDD with four drives filling the internal bays. The two in the upper bay, one with the OS, show up fine. The two in the lower bay, under the DVD drive, which were showing up fine after installing 10.4.7 about ten days ago have suddenly disa
-
Can't get GTX 970 to render - it's still using the CPU
Hello guys. I'm using trial of Premiere Pro CC 2014 on Windows 8.1 x64. Decided to try out my new machine - i5-4690K, EVGA GTX 970 FTW, 16GB DDR3 2400 Mhz, Samsung 850 Pro. So I have this test video 1080p 60FPS 1min 2s short which I'm exporting to H.
-
i want to know the settings of nokia asha 302 video streaming....i use wlan n stream videos but it doent work..only buffers 60% of video n then no response occurs...plz anyone help me
-
Trying to export German Subtitles
We have a movie that is going to be screening in a Film Festival in Berlin, Germany, and we have German subtitles that i put in using DVD stuido pro. The ones putting on the festival just asked us to send them a movie file that would have the whole m
-
Screen shot short cut not working
I'm using Mountain Lion 10.8.4 and have lost the screen shot keyboard shortcut (Command-Shift-4). I use this quite a bit so this is a big inconvenience. Note that the other screen capture shortcuts aren't working as well. I have tried to delete