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 |
System requirements for sql server 2005 express edition?
What is normalization? What number of normalization shapes are there?
How to create an multi-statement table-valued function?
what is differencial backup?how to work?Anybody explai it?
How to store and query spatial data?
how to implement locking in sql server
How can u convert the Date to String?
What are the difference between “where” and “having” clause in sql server?
Explain transaction server auto commit?
Explain DBMS, RDBMS?
How can sql server instances be hidden? : sql server security
Is it possible to have more then one foreign key in a single table? if possible, is this the good way to design the table?
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)