Golgappa.net | Golgappa.org | BagIndia.net | BodyIndia.Com | CabIndia.net | CarsBikes.net | CarsBikes.org | CashIndia.net | ConsumerIndia.net | CookingIndia.net | DataIndia.net | DealIndia.net | EmailIndia.net | FirstTablet.com | FirstTourist.com | ForsaleIndia.net | IndiaBody.Com | IndiaCab.net | IndiaCash.net | IndiaModel.net | KidForum.net | OfficeIndia.net | PaysIndia.com | RestaurantIndia.net | RestaurantsIndia.net | SaleForum.net | SellForum.net | SoldIndia.com | StarIndia.net | TomatoCab.com | TomatoCabs.com | TownIndia.com
Interested to Buy Any Domain ? << Click Here >> for more details...


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



Consider the table T1 it consits A,2,3,4 consider another table t2 it contain 1,2a,3a,4a now i n..

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

Consider the table T1 it consits A,2,3,4 consider another table t2 it contain 1,2a,3a,4a now i n..

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

Consider the table T1 it consits A,2,3,4 consider another table t2 it contain 1,2a,3a,4a now i n..

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

Post New Answer

More SQL Server Interview Questions

What is the data type of time?

0 Answers  


What is the difference between implicit and explicit transaction?

0 Answers  


Explain the types of indexes.

0 Answers   Accenture,


what is a self join? Explain it with an example? : Sql server database administration

0 Answers  


What is openxml in sql server?

0 Answers  


Difference between Triggers and Stored Procedure

23 Answers   Claimat, HCL, Protech, Silgate,


What is clustered index

0 Answers  


Can we perform backup restore operation on tempdb? : sql server database administration

0 Answers  


Name three of the features managed by the surface area configuration tool? : sql server security

0 Answers  


What is DCL?

0 Answers  


What are difference between Cluster index and Non-Cluster index?

0 Answers   QuestPond,


Write an SQL query if u want to select the data from one block which intern reflects in another block ? thanx,do reply

1 Answers   Covansys,


Categories