Quantcast
Channel: Teradata Forums - All forums
Viewing all articles
Browse latest Browse all 27759

Cast from CHAR(20) to SMALLINT - response (7) by barani_sachin

$
0
0

Hi KS,
Below is the insert stmt.

create volatile table temp1 (col1 byteint)on commit preserve rows;

insert into temp1 values( -1 );
insert into temp1 values( 100 );
insert into temp1 values( 101 );
insert into temp1 values( 102 );
insert into temp1 values( 104 );
insert into temp1 values( 106 );
insert into temp1 values( 110 );
insert into temp1 values( 111 );
insert into temp1 values( 112 );
insert into temp1 values( 119 );
insert into temp1 values(204);
insert into temp1 values( 205 );
insert into temp1 values( 211 );
insert into temp1 values( 300 );
insert into temp1 values( 302 );
insert into temp1 values( 303 );
insert into temp1 values( 304 );
insert into temp1 values( 306 );
insert into temp1 values( 307 );
insert into temp1 values( 309 );
insert into temp1 values( 310 );
insert into temp1 values( 311 );
insert into temp1 values( 313 );
insert into temp1 values( 315 );
insert into temp1 values( 316 );
insert into temp1 values( 500 );

 


Viewing all articles
Browse latest Browse all 27759

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>