Table Create in SQL and How insert data into table
- Get link
- X
- Other Apps
Table Create in SQL and How insert data into table
we can use notepad open notpad and save file as it is which is table name like your table is "DEPT"
if you not idea about show ss in below:
create table DEPT
(
DEPTNO number(2),
DNAME varchar2(14),
LOC varchar2(13)
);
code is end here.
You can directly paste this code on sql RUN COMMAND LINE and enter. if need to make table permanently save table so after table create enter COMMIT; command with semicolon.
Above table is create without constraint.we can see another post.Now here we can see how to display created table non commad prompt or sql run command line.
Using cmd prompt enter in cmd and type "SQLPLUS" enter and ask you to enter USERNAME AND PASSWORD.during installation set password by you enter.
Here i enter USERNAME=> SYSTEM and PASSWORD=>ORACLE and enter.
You can understand following below image:
Now display table table creation.
in prompt this command write SELECT * FROM DEP; and enter if you not insert any type of data so its look like it in below image
DESC is describe table struture it use when you not insert any data into table.
- Get link
- X
- Other Apps
Popular posts from this blog
How write java Sample Program
SQL plus and Get Started With Oracle Database 11g Express Edition
How to Install Oracle SQL PLUS When you work on non programmer database then most of users use SQL. SQL is a sample high-level language. In past time IBM co. is found.but its commercially implement by oracle corporation. . To install SQL plus we need to download Oracle 11g Database Express Edition because Express editions are free for use with different user login. Once you have to download the oracle 11g setup from any site I suggest you google search and download from any software site because the Offical site is required to sign up after you are available for download. Using this link and download 11g express edition: https://www.filehorse.com/download-oracle-database-express-32/ If given link not work you can search your way any site. but please download express edition because of its free version of the oracle database. Another way is CD or DVD is available is a good option. insert cd or DVD in DVD ROM then DVD is automatically run and show installat...
Comments
Post a Comment
Thank you for comment and your feedback.