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
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 |
Answer / rajeevrohilla
You Can USe Either Convert or Cast Function for this
| Is This Answer Correct ? | 2 Yes | 0 No |
What are the advantages of using sql server over ms access or why should one use sql instead of ms access
What is Report Server,Report Manager and Report Builder in SSRS 2005?
What are the different types of replication? How are they used?
What are the different types of indexes?
What is the difference between in and exists. Ex: select * from emp where empno in(....) and select * from emp where empno exists(....) What is the difference between a Join and Union and Union and UnionAll.
List out the different types of locks available in sql server?
What are the different types of lock modes in sql server 2000?
How will you go about resolving deadlocks?
What is the difference between clustered index and primary key?
What are mdf,ndf,ldf files and how to see the data in those files?
What is the use of @@spid?
What is temporal data type?
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)