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...


How do I compare two values when one value(data type) is
char and the other is an integer?

Answers were Sorted based on User's Feedback



How do I compare two values when one value(data type) is char and the other is an integer?..

Answer / guest

use the CONVERT Function.

Is This Answer Correct ?    5 Yes 0 No

How do I compare two values when one value(data type) is char and the other is an integer?..

Answer / sagun sawant

I will convert column with integer datatype to char because
i can not convert char to integer if column contains any
alphabet and then i will compair two values

Is This Answer Correct ?    4 Yes 1 No

How do I compare two values when one value(data type) is char and the other is an integer?..

Answer / rajeevrohilla

You Can USe Either Convert or Cast Function for this

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More SQL Server Interview Questions

Explain the dbcc pintable command when would you use it?

0 Answers  


What are differences in between sql server 2012 and sql server 2016?

0 Answers  


List out the differences between global and local temp tables in sql server?

0 Answers  


What will be the maximum number of indexes per table?

0 Answers  


You schedule a job to run every minute what will happen if the first job runs more than 1 min? Will the second instance of the job start?

0 Answers  


What is Cross Join and in which scenario do we use Cross Join?

0 Answers   QuestPond,


What is the difference between rank and dense_rank?

0 Answers  


What stored procedure would you use to view lock information?

0 Answers  


How to use clusters?

0 Answers   Amdocs,


Can binary strings be converted into numeric or float data types?

0 Answers  


can you instantiate a com object by using t-sql? : Sql server database administration

0 Answers  


What area unit the various kinds of info compression introduced in sql server 2008?

0 Answers  


Categories