Consider the table T1 it consits
A,2,3,4
consider another table t2 it contain
1,2a,3a,4a
now i need o get the upadted answer
Answers were Sorted based on User's Feedback
Answer / rakesh c sunagar
--select name from #t where ISNUMERIC(name)<>1
--union
--select name from #t1
Is This Answer Correct ? | 0 Yes | 0 No |
Answer / rajesh
to get zero u must apply intersect set statement between
select statements of table1 and select statement of table2
syntax:
select * from t1
intersect
select * from t2
Is This Answer Correct ? | 0 Yes | 1 No |
Answer / sreekanthb87
t1
A,2,3,4
t2
1,2a,3a,4a
now union of tw0 table must be
A,1,2,2a,3,3a,4,4a
now how you write the qurey ,the answer should be
A,1,2a,3a,4a
Is This Answer Correct ? | 1 Yes | 4 No |
What are the different types of replication? How are they used?
What is normalization of database?
What is Query Execution Plan? How does it help optimize or tune a database driven application?
How we Resize table,temp table, database and log file size in SQL Server 2005
Why do you need a sql server?
What is the difference between sql server 2000 object owner and sql server 2005 schema? : sql server database administration
How do you start single user mode in clustered installations?
Define synonym?
Explain features and concepts of analysis services?
What is normalization and what are the advantages of it?
What is the difference between function and stored procedure in sql server?
How to select nth record from a table?
13 Answers DELL, Microsoft, Ramco,