Page 1 of 1

how to declare VarChar datatype in IsValid function.

Posted: Wed Apr 28, 2010 10:54 am
by pavankatra
Hi,
i am using this function in stagvariable.
IsValid("varchar", StgVar10thChar)

it is throwing error like "invalid type:varchar"

StgVar10thChar may be contains number or charecter.

so could anyone please help me how to declare VarChar datatype in IsValid function.

Thanks in Advance.

Thanks
Pavan Kumar

Posted: Wed Apr 28, 2010 10:58 am
by anbu
Use string

Code: Select all

IsValid("string", StgVar10thChar) 

Posted: Wed Apr 28, 2010 11:14 am
by chulett
So... what would you consider an 'invalid' varchar?

Posted: Wed Apr 28, 2010 11:16 am
by pavankatra
anbu wrote:Use string

Code: Select all

IsValid("string", StgVar10thChar) 
Thanks for your rapid reply.It is working.
Thanks alot

Thanks
Pavan kuamr

Posted: Wed Apr 28, 2010 3:28 pm
by Kryt0n
chulett wrote:So... what would you consider an 'invalid' varchar?
That would have been my question... they seem to have done a good job in ignoring your pointers in a number of posts