This is my glogin.sql
set feedback on;
set linesize 9000
set colsep |
column titolo format a30
column anno format a20
column genere format a20
column formato format a20
column lingua format a20
--alter session set nls_date_format = 'yyyy-mm-dd hh24:mi:ss';
set serveroutput on;
set autocommit off;
set pagesize 100;
set long 20000;
set timing on;
alter session set cursor_sharing = 'EXACT'
select 'You are: '||upper(user) "Welcome to LINUX-ORACLE system" from dual
union all select 'Logged into: '||upper(sys_context('userenv','db_name')) from dual
union all select 'Database Version: '||banner from v$version where rownum <= 2;
I have two pluggable db's called "video" and "libri" Is working fine for "video" database, but for different database the column "titolo" which is present in the video db and "libri" db is too large. My question is simple: is possible to set different format for the same column but in different db? For example a30 for video db and a10 for libri db.