svn path=/Customer/trunk/; revision=14220
This commit is contained in:
44
USCC/uscc.sql
Normal file
44
USCC/uscc.sql
Normal file
@@ -0,0 +1,44 @@
|
||||
-- Script containing customer specific configuration sql statements for USCC
|
||||
-- (c) 2008 SG|facilitor bv
|
||||
-- $Revision: 1 $
|
||||
-- $Modtime: 22-12-08 13:10 $
|
||||
--
|
||||
-- Support: +31 53 4800700
|
||||
|
||||
set echo on
|
||||
|
||||
spool xuscc.lst
|
||||
|
||||
/* Formatted on 22-12-2008 12:10:55 (QP5 v5.115.810.9015) */
|
||||
CREATE OR REPLACE VIEW uscc_v_fullname_number
|
||||
(
|
||||
prs_perslid_key,
|
||||
fullname_number
|
||||
)
|
||||
AS
|
||||
SELECT prs_perslid_key,
|
||||
prs_perslid_naam
|
||||
|| DECODE (p.prs_perslid_voorletters,
|
||||
NULL, '',
|
||||
', ' || p.prs_perslid_voorletters
|
||||
)
|
||||
|| DECODE (p.prs_perslid_tussenvoegsel,
|
||||
NULL, '',
|
||||
' ' || p.prs_perslid_tussenvoegsel
|
||||
)
|
||||
|| DECODE (p.prs_perslid_voornaam,
|
||||
NULL, '',
|
||||
' (' || p.prs_perslid_voornaam || ')'
|
||||
)
|
||||
|| DECODE (p.prs_perslid_telefoonnr,
|
||||
NULL, '',
|
||||
' / ' || prs_perslid_telefoonnr
|
||||
)
|
||||
fullname_number
|
||||
FROM prs_v_aanwezigperslid p;
|
||||
|
||||
show errors
|
||||
|
||||
commit;
|
||||
|
||||
spool off
|
||||
Reference in New Issue
Block a user