how can ur insert the emp table
Answers were Sorted based on User's Feedback
Answer / kumar
Alredy We are having the emp table in our database at the
time only we can insert the data otherwise not possible.
We can insert the data into emp table into 2 ways by using insert command.Two syntax of insert command given below
1.insert into tablename values(<values list>)
2.insert into tablename(<column list>) values(<spcified column values >)
| Is This Answer Correct ? | 36 Yes | 0 No |
Answer / ammuk221
insert into emp values(serialno,'emp
name','hiredate',emppost,salary,deptno,commission);
| Is This Answer Correct ? | 12 Yes | 7 No |
Answer / madhav
BY USING 'ON THE FLY TABLES'
CREAT TABLE EMPLOYEE AS SELECT * FROM EMP WHERE 1=2;
(FOR TABLE STRUCTURE)
-----TO INSERT THE EMP TABLE VALUES-------
INSERT INTO EMPLOYEE(SELECT * FROM EMP);
(INSERT THE EMP TABLE DATA)
SELECT * FROM EMPLOYEE;
-----------ALL THE BEST-------------
| Is This Answer Correct ? | 0 Yes | 0 No |
What is the openxml statement in sql server?
How do I connect to sql server database?
what is the difference between Delete and Truncate command in SQL
Tell about MOM Tool(Microsoft Operator Manager)?
How to Run a Query on a Remote SQL Server?
What is the difference between views and stored procedures? Can we have input parameters for views?
What is replace and stuff function in sql server?
What are the types of containers in ssis?
Advantages and Disadvantages of Cursor?
15 Answers Polytechnic, TCS, Zenith,
Can we create a clustered index on composite primary key.
Define candidate key, alternate key, and composite key.
How to count rows with the count(*) function in ms sql server?
Oracle (3259)
SQL Server (4518)
MS Access (429)
MySQL (1402)
Postgre (483)
Sybase (267)
DB Architecture (141)
DB Administration (291)
DB Development (113)
SQL PLSQL (3330)
MongoDB (502)
IBM Informix (50)
Neo4j (82)
InfluxDB (0)
Apache CouchDB (44)
Firebird (5)
Database Management (1411)
Databases AllOther (288)