sqlplus - Oracle truncating column -


i have following query.

insert order_info(ordinf_pk,ordinf_lgndet_pk_fk,media_type,ordinf_music_fk,dat) values (1,1,'music',21,to_date('14-oct-2015','dd-mon-yyyy'));  insert order_info(ordinf_pk,ordinf_lgndet_pk_fk,media_type,ordinf_music_fk,ordinf_series_fk,dat) values (2,2,'series',71,23,to_date('07-nov-2015','dd-mon-yyyy')); 

however when do:

select * order_info; 

i get:

truncating (as requested) before column ordinf_series_fk  truncating (as requested) before column ordinf_movies_fk   ordinf_pk ordinf_lgndet_pk_fk           media_type ordinf_music_fk      dat ---------- ------------------- -------------------- --------------- ---------      1                       1                music              21 14-nov-14      2                       2               series              71 07-nov-15 

i understand truncating ordinf_movies_fk because there no entry in column, why truncating column ordinf_series_fk?

pay attention - both rows inserted , in database, insert succeeded. warning warning sqlplus program means column display not full width (maybe definition of column long , sqlplus decides show column shorter because data have in there short). not need worry in case.

see this link more explanation sql*plus wrap.


Comments

Popular posts from this blog

javascript - jQuery: Add class depending on URL in the best way -

caching - How to check if a url path exists in the service worker cache -

Redirect to a HTTPS version using .htaccess -