Skip to Content
author's profile photo Former Member
Former Member

How to compare char and numc in select query

Hi,

I want to compare two fields of two different tables. One field is Char type , another is Numc.

How can I compare these fields ?

Is it possible ?

If not, tell me any other ways..

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Posted on Jul 09, 2010 at 05:42 AM

    what is the problem by the way that you are facing ?

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 09, 2010 at 05:43 AM

    hello Rajeshblack ,

    you cand do it using 'LIKE' addition in your query....and you can use wild Characters also like '%' '+' & '_'

    just like select * from makt where makt like '%ABC%'. it will work as 'CP' operater i

    just check for the help for LIKE addition in Where clause in query...!

    Hope it helps.

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jul 09, 2010 at 05:43 AM

    Is it possible ?

    Did you try?

    pk

    Add a comment
    10|10000 characters needed characters exceeded

  • Posted on Jul 09, 2010 at 05:47 AM

    Hi,

    Try assigning numc also to char type locally in a variable and then compare the char.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.