pour déploiement auto v2 via gitlab
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

12 lines
507 B

src: |
SELECT 'AN'::text || t_association_non_prevue.code AS oid,
(t_association_non_prevue.code || ' '::text) || t_association_non_prevue.texte AS texte,
t_association_non_prevue.code,
CASE
WHEN t_association_non_prevue.oid > 0 THEN '2'::text
ELSE '1'::text
END AS level,
'9'::text || t_association_non_prevue.code,
''::text AS alias
FROM pmsi.t_association_non_prevue
ORDER BY ('9'::text || t_association_non_prevue.code);