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
What is Python ? Intoduction of Python
Introduction of Python Python is the most used high-level programming language it's created by GUIDO VAN and first introduced in 1991. Python is contain object-oriented programming feature like java,c++ etc.Also in current time python is used for Data Science, hacking security applications and many other major areas in IT. Python used to execute the command in your terminal, using an interpreter so python use interpreter for run program. Python is open source and python is available for any Operating System like Linux, Unix, Window, MAC, Linux many more. Python is developed in the C++ Object-oriented programming language comparing other language python give you sample code and easy to understand in such are variable creation, define the function, object creation, many other areas.sum sample Arithematic operation in other languages with large and complex logic codes then Python gives this operation with small and sample logic with faster output. How v...
How to format corrupt pendive
How to format error Pendrive, sd card and any storage device. Please follow the step by step 1) Open Start Menu > Open cmd using search option cmd open as run as administrator. 2)Now type " C: " like this and type this command in cmd " diskpart " after this your cmd screen look like this 3) Type " list disk " Which is show list disk 4) Now type this command " select disk " Which is Selected Disk 5) Type disk name u want to format or Diskpart ex: " select disk H " ( this is normal Pendrive, sd card, etc storage device name 6) Again type " list disk " command that shows which disk is selected 7) Now type " clean" command after done this show message diskpart successfully clean the disk. 8) then type " create partition primary " its show message diskpart successfully create the specified partition. 9) Now type " assign " command. Assign command mark the current pa...
WHAT IS HTML & INRODUCTION OF HTML
What is HTML? The language used to develop web pages is called HTML.HTML full forum is HyperText Markup Language . Html is the language interpreted by a browser such as Internet explorer, google chrome, safari, etc. Web Pages are called HTML document and HTML is a set of special codes that can be embedded in the text to add formatting and linking information.Html is specified as TAGS in an HTML document. In Html itself self there is no programming it just the "marking up" of regular text. Marking up text then simply means you add some command or tags to your document in order to tell a web browser how you want the document displayed. THE BASIC POINT FOR LEARNING HTML IS TO CREATE PAGES FOR THE WORLDWIDE WEB. ➤ STRUCTURE OF HTML DOCUMENT: HEAD & BODY SECTIONS BASIC STRUCTURE OF HTML Every HTML document follows this basic structure: ...

Comments
Post a Comment
Thank you for comment and your feedback.