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

What are sql dirty pages?

0 Answers  


how to dispaly a particular row details from a given table

2 Answers  


What is sql language?

0 Answers  


Difference between aggregate functions of sql?

0 Answers   EXL,


What method is used by the Command classes to execute SQL statements that return single values?

0 Answers   B-Ways TecnoSoft,


Difference between report and query parameter. Why do we need different type of parameter?

0 Answers  


What is hot add cpu in sql server 2008?

0 Answers  


What is an example of a foreign key?

0 Answers  


I have all the primary data files, secondary data files as well as logs. Now, tell me can I still restore the database without having a full backup? : sql server database administration

0 Answers  


Define the one-to-one relationship while designing tables.

0 Answers  


How to replace given values with null using nullif()?

0 Answers  


What is acid mean in sql server?

0 Answers  


Categories