Can nybody tell me how this works ?
select CHARACTERS(trim (CAST(upc as VARCHAR(20)))) from T1 ;
Here UPC may be a Number or a Varchar type column of T1 table .
Say , Upc = 1256.23 then what is the O/p ??
Again , say Upc = 'Skij' then what is the O/p ??
select CHARACTERS(trim (CAST(upc as VARCHAR(20)))) from T1 ;
Here UPC may be a Number or a Varchar type column of T1 table .
Say , Upc = 1256.23 then what is the O/p ??
Again , say Upc = 'Skij' then what is the O/p ??
Comment