varchar=numeric in where clause [message #38099] |
Wed, 20 March 2002 08:54 |
Bill Droogendyk
Messages: 2 Registered: March 2002
|
Junior Member |
|
|
Folks:
I'm having a problem with a varchar=numeric in a where clause. I use the to_char(numeric)=varchar syntax, but the varchar has leading zeros. I've also tried to_char(numeric,'0000000')=numeric to no avail. Any other suggestions?
Your help is appreciated!
Bill Droogendyk
|
|
|
Re: varchar=numeric in where clause [message #38108 is a reply to message #38099] |
Wed, 20 March 2002 23:48 |
seng
Messages: 191 Registered: February 2002
|
Senior Member |
|
|
This is caused by program logic. This code should asign as this way
varchar = to_char(numeric)
to allow varchar have input from to_char(numeric). so vachar will have input. Hope this is helping
|
|
|