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 |
Mention the different types of replication in sql server.
What is 'Join' and explain its various types.
How to tune a stored procedure?
What is the difference between insensitive and scroll cursor?
Do you know the isolation level that sql server support?
What is the difference between cartesian product and cross join?
Define inner join? Explain with an example?
Which Model uses the SET concept
What is self contained scalar sub query?
create index myindex on mytable(mycolumn) what type of index will get created after executing the above statement? : Sql server database administration
Mention the uses of stored procedures.
What are the restrictions applicable while creating views? : SQL Server Architecture