How to create table in Oracle 9i of name USER
To whom so ever forum member,
Please help me for creating table in Oracle 9i with the table name USER, though i know that it's reserve word for the Oracle DB
Please give me the query if any for the same.
Thanks in advance for timely help.
Kiran.
CREATE USER user-name IDENTIFY BY password
user-name
The name of the user to be created. The name is an identifier with a maximum of 30 characters. Note that if support for delimited identifiers is on and the user name begins with an underscore, you must place the user name in quotation marks.
various identifiers possible
simple-identifier ::= identifier-start { identifier-part }
identifier-start ::= letter | % | _
identifier-part ::= letter | number | _ | @ | # | $
delimited-identifier ::= " delimited-identifier-part { delimited-identifier-part } "
delimited-identifier-part ::= non-double-quote-character | double-quote-symbol
double-quote-symbol ::= ""
An identifier cannot be a SQL reserved word.
An identifier may be either a simple identifier or a delimited identifier.
password
The password of the user to be created.
the reserved words are:
%AFTERHAVING | %ALPHAUP | %ALTER | %ALTER_USER | %BEGTRANS |
%CHECKPRIV | %CREATE_ROLE | %CREATE_USER | %DBUGFULL |
%DELDATA | %DESCRIPTION | %DROP_ANY_ROLE | %DROP_USER |
%EXACT | %EXTERNAL | %FILE | %FOREACH | %FULL |
%GRANT_ANY_PRIVILEGE | %GRANT_ANY_ROLE | %INORDER |
%INTERNAL | %INTEXT | %INTRANS | %INTRANSACTION | %MCODE |
%NOCHECK | %NODELDATA | %NOINDEX | %NOLOCK | %NOTRIGGER |
%NUMROWS | %ODBCOUT | %ROUTINE | %ROWCOUNT | %STARTSWITH |
%STRING | %THRESHOLD | %UPPER |
ABSOLUTE | ACTION | ADD | ALL | ALLOCATE | ALTER | AND |
ANY | ARE | AS | ASC | ASSERTION | AT | AUTHORIZATION | AVG |
BEGIN | BETWEEN | BIT | BIT_LENGTH | BOTH | BY | CASCADE |
CASE | CAST | CATALOG | CHAR | CHARACTER | CHARACTER_LENGTH |
CHAR_LENGTH | CHECK | CLOSE | COALESCE | COBOL | COLLATE |
COLLATION | COLUMN | COMMIT | CONNECT | CONNECTION |
CONSTRAINT | CONSTRAINTS | CONTINUE | CONVERT |
CORRESPONDING | COUNT | CREATE | CROSS | CURRENT |
CURRENT_DATE | CURRENT_TIME | CURRENT_TIMESTAMP |
CURRENT_USER | CURSOR | DATE | DAY | DEALLOCATE | DEC |
DECIMAL | DECLARE | DEFAULT | DEFERRABLE | DEFERRED |
DELETE | DESC | DESCRIBE | DESCRIPTOR | DIAGNOSTICS |
DISCONNECT | DISTINCT | DOMAIN | DOUBLE | DROP | ELSE |
END | ENDEXEC | ESCAPE | EXCEPT | EXCEPTION | EXEC |
EXECUTE | EXISTS | EXTERNAL | EXTRACT | FALSE | FETCH |
FILE | FIRST | FLOAT | FOR | FOREIGN | FORTRAN | FOUND |
FROM | FULL | GET | GLOBAL | GO | GOTO | GRANT | GROUP |
HAVING | HOUR | IDENTITY | IMMEDIATE | IN | INDICATOR |
INITIALLY | INNER | INPUT | INSENSITIVE | INSERT | INT |
INTEGER | INTERSECT | INTERVAL | INTO | IS | ISOLATION |
JOIN | KEY | LANGUAGE | LAST | LEADING | LEFT | LEVEL |
LIKE | LOCAL | LOWER | MATCH | MAX | MIN | MINUTE |
MODULE | MONTH | NAMES | NATIONAL | NATURAL | NCHAR |
NEXT | NO | NOT | NULL | NULLIF | NUMERIC | OCTET_LENGTH |
OF | ON | ONLY | OPEN | OPTION | OR | ORDER | OUTER |
OUTPUT | OVERLAPS | PAD | PARTIAL | PASCAL | PLI |
POSITION | PRECISION | PREPARE | PRESERVE | PRIMARY |
PRIOR | PRIVILEGES | PROCEDURE | PUBLIC | READ | REAL |
REFERENCES | RELATIVE | RESTRICT | REVOKE | RIGHT | ROLE |
ROLLBACK | ROWS | SCHEMA | SCROLL | SECOND | SECTION |
SELECT | SESSION_USER | SET | SIZE | SMALLINT | SOME |
SPACE | SQL | SQLCODE | SQLERROR | SQLSTATE | SUBSTRING |
SUM | SYSTEM_USER | TABLE | TEMPORARY | THEN | TIME |
TIMESTAMP | TIMEZONE_HOUR | TIMEZONE_MINUTE | TO |
TRAILING | TRANSACTION | TRANSLATE | TRANSLATION | TRIM |
TRUE | UNION | UNIQUE | UNKNOWN | UPDATE | UPPER | USAGE |
<br>
USER |
<br>
USING | VALUE | VALUES | VARCHAR | VARYING | VIEW |
WHEN | WHENEVER | WHERE | WITH | WORK | WRITE | YEAR |
ZONE
hope it helps ...
roli
Similar Messages
-
How To Create Table View With Same Column name But Different Table?
Hi All,
I have the problem to create a tableview with same column name but in different table.
The Table that i have:-
Table - PAC051MPROFORMA
Column - mrn,visitid
Table - PAC051TPROFORMA
Column - mrn,visitid
Table - PAC052MTRANSBILL
Column - mrn,visitid
Then i want to create a table view to view that table. This is my SQL
CREATE VIEW pacviewproforma (mrn,visitid,mrn,visitid,mrn,visitid)
As Select PAC051MPROFORMA.mrn,PAC051MPROFORMA.visitid,PAC051TPROFORMA.mrn,PAC051TPROFORMA.visitid,PAC052MTRANSBILL.mrn,PAC052MTRANSBILL.visitid
where
*(a.PAC051MPROFORMA.mrn=PAC051TPROFORMA.mrn)*
and
*(a.PAC051TPROFORMA.mrn=PAC052TRANSBILL.mrn)*
That SQL Return this error = ORA-00957: duplicate column name
Then I modify that SQL to
CREATE VIEW pacviewproforma (mrn,visitid)
As Select PAC051MPROFORMA.mrn,PAC051MPROFORMA.visitid,PAC051TPROFORMA.mrn,PAC051TPROFORMA.visitid,PAC052MTRANSBILL.mrn,PAC052MTRANSBILL.visitid
where
*(a.PAC051MPROFORMA.mrn=PAC051TPROFORMA.mrn)*
and
*(a.PAC051TPROFORMA.mrn=PAC052TRANSBILL.mrn)*
This time this error return = ORA-01730: invalid number of column names specified
What should i do?
Thanks...Hi,
SQL> CREATE VIEW pacviewproforma (mrn,visitid,mrn,visitid,mrn,visitid)
2 As Select
3 PAC051MPROFORMA.mrn,
4 PAC051MPROFORMA.visitid,
5 PAC051TPROFORMA.mrn,
6 PAC051TPROFORMA.visitid,
7 PAC052MTRANSBILL.mrn,
8 PAC052MTRANSBILL.visitid
9 from PAC051MPROFORMA,PAC051TPROFORMA,PAC052MTRANSBILL
10 where
11 (PAC051MPROFORMA.mrn=PAC051TPROFORMA.mrn)
12 and
13 (PAC051TPROFORMA.mrn=PAC052MTRANSBILL.mrn);
CREATE VIEW pacviewproforma (mrn,visitid,mrn,visitid,mrn,visitid)
ERROR at line 1:
ORA-00957: duplicate column namePlease give different names to each column.
Something like this..
SQL> CREATE OR REPLACE VIEW pacviewproforma (MPROFORMA_mrn,MPROFORMA_visitid,TPROFORMA_mrn,TPROFORMA
_visitid,MTRANSBILL_mrn,MTRANSBILL_visitid)
2 As Select
3 PAC051MPROFORMA.mrn,
4 PAC051MPROFORMA.visitid,
5 PAC051TPROFORMA.mrn,
6 PAC051TPROFORMA.visitid,
7 PAC052MTRANSBILL.mrn,
8 PAC052MTRANSBILL.visitid
9 from PAC051MPROFORMA,PAC051TPROFORMA,PAC052MTRANSBILL
10 where
11 (PAC051MPROFORMA.mrn=PAC051TPROFORMA.mrn)
12 and
13 (PAC051TPROFORMA.mrn=PAC052MTRANSBILL.mrn);
View created.
SQL> DESC pacviewproforma;
Name Null? Type
MPROFORMA_MRN NUMBER
MPROFORMA_VISITID NUMBER
TPROFORMA_MRN NUMBER
TPROFORMA_VISITID NUMBER
MTRANSBILL_MRN NUMBER
MTRANSBILL_VISITID NUMBER
ORA-01730: invalid number of column names specifiedThe list of column nmae you specified during the CREATE VIEW should match with the SELECT list of the view.
Twinkle -
plzz tell me how to create table in oracle forms 10g
gimme the code plzzhi
please create a text item name it table and use the following code in when-button-pressed trigger.Now u can create table by any name.
BEGIN
Forms_DDL(' create table ' || :table || '(n NUMBER)');
IF NOT Form_Success THEN
Message ('Table Creation Failed');
ELSE
Message ('Table Created');
END IF;
END; Please mark it correct/helpful Thanks
sarah -
How to create a new Oracle OSB project automaticaly with script without IDE
Hello,
I want to create automatically an "Oracle service bus project" and an "Oracle service bus configuration project" with scripts (ANT or Maven or ...) without using IDE, without using workshop or Eclipse. I want to create automatically (ANT or Maven) just a skeleton of an OSB project witch i can use after in workshop.
I want to create 1 "Oracle service bus configuration project" with many "Oracle service bus project" automatically (ANT or Maven or scripts) witch i can use after in workshop. How to create a new Oracle OSB project automaticaly with script without IDE ? How can i do this ?
I'm using Oracle service bus 10.3.1
Thank you for your help.Thank you for your response,
I do not want to just create the services (proxy services and business services) but I want to create a template for 40 OSB project with the same scripts ANT/Maven.
Template="Oracle service bus configuration project" + "Oracle service bus project" + services of 40 OSB projects
The goal is that I have more than 40 projects to create and just the name of the projects that changes (when I say the name of the project ie the name of the OSB project, the name of proxy services and the name of business services ).
So I want to give my script (ANT/Maven) the name of 40 OSB project and the script must generate the skeleton of the 40 projects at once time and after generation of skeleton of the 40 project, I will import them in the workshop to add manually mapping and routing and other things that differs from one project to another.
So i want to generate automatically a skeletons of 40 OSB projects using a script (ANT / Maven) and I give to the script juste the names of the 40 projects.
I want to create a "Oracle service bus configuration project" and "Oracle service bus project" automatically of 40 OSB projects (ANT or Maven or scripts) witch i can use after in workshop.
I want to create one 'template' of all 40 projects in the same time, with the same directory structure (Transforlation, Business services, proxy services, WSDL .....) and all 40 project have the same transport, just the names of projects and services witch changes and i can give to the script all names of projects and services and i can give also all WSDL.
Regards,
Tarik -
i need help on this topic
how to create table in javalucky786 wrote:
help urgentlyI am too late? -
How to create table in bisystem
hi,
how to create table in bi system.
My requirement is such like that i want to store data which is used in the routine.
i want to maintain the data dynamically so that i want to create the table.Hi.........
Same as ABAP only...........using SE11........
Steps for creating table:.
There are two approach in creating a table.
1. Bottom-up approach
2. Top-down approach.
Both are valid and you can choose which approach is suitable for you. I always use the bottom-up approach. Here are the steps to create the tables with this approach.
1. SE11 will take you to the DDIC and enter the name of the new table to be created. Let us say Zname. Click create.
2. Enter the short discription of the table and enter the field of the table. If it is primary key and you have to check the box.
3. Enter the data element and double click it, you will be asked to save and will take you to data element discription page. Enter the short discription of the data element and enter the information of domain like the length of field and type of field.
4. If you wanted to use the existing domain then its fine, or else, you have to create one. Enter the domain name in the data element page and double click it. Page will ask to save and jump to domain creation page.
5. In the domain page, you have to save the information which you have already given in the data elements page and check it. Before going to data element page, you have to activate the domain.
6. Go to data element page and save, check and activate.
7. Go to main table page and save, check, and activate.
8. Also, you have to save the technical settings of the table.
The table is now ready for operation. You can use it in your program or you can use it to enter information.
Check table: It is the table which will have all the information about the Foreign keys which are the primary keys in the check table.
It can be created by creating the foreign key from the main table. Click foreign key in the main table and it will take you to a page which will ask for table name and field to which foreign key relation has to be associated. Enter the information and you can create the check table automatically.
SM30 is used for maintenance of the table, that is to realease the errors occured during the creation of the table.
Hope this helps......
Regards,
Debjani.......... -
How to create table in interactive form via Java Web Dynpro
Hi,
How to create table in interactive form via Java Web Dynpro ?
Any online tutorial / example ?
Thank you.
Regards,
EricHi Eric,
Just choose the UI element Table from Form Library and drag and drop it on the form. now choose the no. of rows and columns and other settings you want about table from the wizard initiated through this process. This all is what you have to do to create the table. Now to bind it to the fields of the data source bind the individual colums to individual attributes of the node in the datasource.
Hope it will solve your query.
Regards,
Vaibhav Tiwari. -
Sap script '' how to create table frame in sap script"""
i have some problem in sap script'' how to create table frame in sap script"""
Hi,
you can use BOX command..
Syntax
/: BOX [XPOS] [YPOS] [WIDTH] [HEIGHT] [FRAME] [INTENSITY]
Effect: draws a box of the specified size at the specified position.
Parameters: For each of XPOS, YPOS, WIDTH, HEIGHT and FRAME both a measurement and a unit of measurement must be specified. The INTENSITY parameter should be specified as a percentage between 0 and 100.
1. XPOS, YPOS: Upper left corner of the box, relative to the values of the POSITION command.
Default: Values specified in the POSITION command.
The following calculation is performed internally to determine the absolute output position of a box on the page:
X(abs) = XORIGIN + XPOS
Y(abs) = YORIGIN + YPOS
2. WIDTH: Width of the box. Default: WIDTH value of the SIZE command.
3. HEIGHT: Height of the box. Default: HEIGHT value of the SIZE command.
4. FRAME: Thickness of frame.
Default: 0 (no frame).
5. INTENSITY: Grayscale of box contents as % .
Default: 100 (full black)
Measurements: Decimal numbers must be specified as literal values (like ABAP numeric constants) by being enclosed in inverted commas. The period should be used as the decimal point character. See also the examples listed below.
Units of measurement: The following units of measurement may be used:
TW (twip)
PT (point)
IN (inch)
MM (millimeter)
CM (centimeter)
LN (line)
CH (character).
The following conversion factors apply:
1 TW = 1/20 PT
1 PT = 1/72 IN
1 IN = 2.54 CM
1 CM = 10 MM
1 CH = height of a character relative to the CPI specification in the layout set header
1 LN = height of a line relative to the LPI specification in the layout set header
/: BOX FRAME 10 TW
Draws a frame around the current window with a frame thickness of 10 TW (= 0.5 PT).
/: BOX INTENSITY 10
Fills the window background with shadowing having a gray scale of 10 %.
/: BOX HEIGHT 0 TW FRAME 10 TW
Draws a horizontal line across the complete top edge of the window.
/: BOX WIDTH 0 TW FRAME 10 TW
Draws a vertical line along the complete height of the left hand edge of the window.
/: BOX WIDTH '17.5' CM HEIGHT 1 CM FRAME 10 TW INTENSITY 15
/: BOX WIDTH '17.5' CM HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '10.0' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
/: BOX XPOS '13.5' CM WIDTH 0 TW HEIGHT '13.5' CM FRAME 10 TW
Draws two rectangles and two lines to construct a table of three columns with a highlighted heading section.
check the fallowing link also
http://help.sap.com/saphelp_40b/helpdata/en/d1/803293454211d189710000e8322d00/content.htm
Mark the points if u find it useful...
Regards,
Omkar. -
How to create snapshot on Oracle VM 3.1.1
Dear All,
Any one know about how to create snapshot in Oracle VM 3.1.1? Where we can find it in Oracle VM 3.1.1?
Please kindly shared experience about this.
Thanks and regards,
VandyThank you very much for your help.
Now I am using Sun Storage 6180 Array direct attach (Fiber Chanel) with 2 Sun Fire X4100M2 Servers as Cluster, I don't know whether this storage can create snapshot for this or not? How about Oracle VM Manager can help for this?
It seem more difficult than VMware vSphere, if Oracle can create a option for this is very good.
Thanks and regards,
Vandy -
How to create tables in Database when webdynpro project is deployed
Hi
I Created a project.in that i created stuctures using simpletypes.Based on structure i created the Context,then created screens.Now how to create tables in database using this structures .Because i want to store the values in the database.Please help.this is very urgent.i will give good points
thanks
prasadHi Prasad,
You can write normal JDBC code in your controller.
Check this Web Dynpro Java
You can use the tool for generating the classes from your DB.Check this too
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/dfad6017-0301-0010-bdb8-a8b7d2006f36
Best Regards, Anilkumar -
How to create table and digital signature ?
Hello,
I would like to ask two questions regarding SAP interactive forms by adobe.
1st question:
How to create table in interactive form?
Table that i can add rows and column and will show it in the form.
Example the rows and columns that i want:
<u><b>ID:</b></u> <b><u>Name: </u> </b> <u><b>DOB:</b></u>
1 Jack 01/02/80
2 Ivy 10/12/82
2nd question:
How to create digital signature ?
I'm creating a adobe forms which need employee to sign on the form. I use signature field at my form. However, i don't know how to create a new signature and insert in the signature field.
Can any one provide the answer with step by step guide?
Thanks a lotHi Pradeepa,
you said you have your digital signature in
BMP format? That means Bitmap and would mean you are actually talking about a picture! THIS IS NOT A DIGITAL SIGNATURE!
A digital signature is a cryptographic key (aka public key cryptography) that is used to digitally sign a document, or at least a hash value derived from the document. Digitally signing means, applying the key in a well defined way (this is the algorithm used) to the document or hash value. You do this with your private key and the receiver of the document can then use your public key (which you can distribute in any way you want, even unsecure) to unencrypt the hash value. If this succeeds the receiver knows that the document was signed by you.
This is because both keys are mathematically related in such a way, that what one key encrypted can only be decrypted by the corresponding other key and by no other key. You even can´t decrypt a document with the same key it was encrypted with, this is the difference to symmetric encryption - please have a look at help.sap.com and search for digital signatures.
The named formats (afs, pfx and p12) are ways of coding the key, together with information about your person, such as email address and information about validity of the key into a
certificate. This type of certificate is then called a x.509 certificate and is the same you might have seen when connecting to a secure webserver such as the one of your bank website.
Signing a form with such a certificate provides for mathematically and therefore business related proove of a users identity.
In case you are really using a bitmap, this cannot work and would not serve you any good.
Ask yourself this question: I want to make sure that the form was signed by a specific person. How can I make sure that the signing can only be done by the person pretending to have done so?
A bitmap contains a picture, probably of the persons handwritten signature. How can I make sure that this picture was NOT recreated in MS Paint or Photoshop by someone else?
The answer is:
you can't! Therefore this way of prooving identity is useless.
You need to provide your users with digital signatures, put these in the certificate cache of your IE. If a user then clicks on the signing field, the private key is used to digitally sign the form - create a hash value of the form and encrypt it with the private key. After the form is send back to the server or you, you use the corresponding public key to decrypt the hash value and, as said above, if this succeeds, identity of the signer is proven.
THIS IS AN OVERSIMPLIFICATION! You might want to take a look at Adobe Reader Credentials.
Regards,
Christian -
How to create table.maint.generator and enduser should use using ztcode
Hi,
can any one guide me how to create table maintanence generator and after creating,enduser must use using ztcode.
any help can be appreciated.
Thanks & Regards,
Sandeep.Hi,
Table Maintenance generator is required to do Manual entries in the Table. If the requirement is to update the table only programmatically and not manually then table maint. generator is not required.
Manual entries in table can be maintained ( New record can be inserted / existing can be modified ) using transaction SM 30, if the table maintenance for the table is generated.
How to activate Table maint.
Goto SE11 and open the table.
Click UTILITIES -> Table Maint. Generator, Enter the details and click on Save. Then activate the table.
chk a sample 1.
refer.
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/abap/how%20to%20implement%20events%20in%20table%20maintenance.doc
some more helps
Check out this thread:
table maintenance
http://help.sap.com/saphelp_erp2005/helpdata/en/a7/513520407a11d1893b0000e8323c4f/frameset.htm - a link for basics on Table Maintenance.
Also, Check out this weblog on table maintenance:
/people/sudheer.cheedella/blog/2006/02/20/extracting-data-in-table-maintenance
<b>how to create a a T-code of that</b>
Go to se93.
Then create the new T.code.
Under that select parameter Transaction.
Then give the sm30 in the t.code in default values tab.
check the checkbox skip initial screen.
in classification tab.
click checkbox inherit gui attributes..
Now below..
In the default values..
WRITE
viewname = give ur table name.
show = X
save and check it once...
now u can able to call ur table through ur new t.code...
rgds
anver
if hlped pls mark points -
How to create table view with reference table
Hi experts,
How to create table view with reference table in SE11, plz gve me stp by stp procedure.
pints grnded for hlp.Hi
Go to Tcode se11 choose view and enter the name and create a popup opens up choose database view option
enter the description
On the left hand side choose the table name.
Click on view fields tab and choose your table fields.Here you can choose which fields you want in your view.
Save and then activate.
Hope this helps.
Regards,
Harish -
Dear Experts,
how to create table view for single table? and once I create table view I have to create Generic data source so plz provide me the step to create it.
Please search the forum before posting a thread
Edited by: Pravender on May 6, 2011 11:18 AMHi,
There is big advantage of creating a view for single table rather than RSO2.
My scenario is like this : My table VBAK has 113 fields i want only 9 fields from them.
RSO2: By doing generic extraction with RSO2 it will fetch all 113 fields from the table VBAK.So,it'll definitely degrades the performance . For transferring 9 fields why we have to fetch all 113 fields.
VIEW: By using view we can specify some fields in view fields.So, only those 9 fields will be fetched from table. In this extract structure contains 9 field transferring 9 fields.Then we can create generic extraction using this view.
Regards
satya. -
How to create scheduler sql oracle developer
Hi
how to create How to create scheduler sql oracle developer?Hi
finally i refer below link its usefull
ORACLE-BASE - SQL Developer 3.1 Scheduler (DBMS_SCHEDULER) Support
Maybe you are looking for
-
I have a Power Mac G4 double mirrored model and everytime I shut it off it will not go on when I hit the power on/off button again. However, if I unplug and plug in the power cord it boots fine and everything is OK. The PMU and logic board have been
-
Why won' remote app for Apple tv work on my iPad or iPhone? Home sharing is turned on.
-
How do I change the gmail account associated with my droid turbo on the gmail app?
I've tried to change Gmail accounts on my new Droid Turbo and haven't been able to do it. The phone says I need to do it on the Gmail app but when I go to the Gmail app I can't find anyplace to change accounts.
-
Mode recovery avec erreur 29 sur Iphone 3GS
Impossible de restaurer Iphone 3GS, il reste en mode de récupération et Itunes indique l'erreur 29. Batterie changée, l'Iphone fonctionnait correctement, puis à la mise à jour du logiciel, l'erreur est apparue Merci pour votre aide, ai effectué toute
-
"Posting only possible in 2003/08 and 2003/07 in company code 1000"
hi all, i am working inside new IDES system. i did not initialize the company code for the year 2008 and i have already created the mmr so system is not allowing me to initialize the company code for the year 2008. now i am trying to create GR for t