/[openfoncier]/trunk/sql/pgsql/dossier_plusieursparcelles.reqmo.inc.php
ViewVC logotype

Annotation of /trunk/sql/pgsql/dossier_plusieursparcelles.reqmo.inc.php

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1138 - (hide annotations)
Thu Jan 3 15:18:21 2013 UTC (12 years, 1 month ago) by nhaye
File size: 1363 byte(s)
Suppression de la colonne nature de la table dossier,
correction des requètes sql faisant appel à cette colonne.

1 fraynaud 3 <?php
2     /*
3     * $Id: dossier_plusieursparcelles.reqmo.inc,v 1.1 2009-10-28 15:34:52 fraynaud Exp $
4     * Created on 9 oct. 2009
5     *
6     * To change the template for this generated file go to
7     * Window - Preferences - PHPeclipse - PHP - Code Templates
8     */
9    
10     $reqmo['libelle']="dossier avec parcelle > 6 caracteres";
11     $reqmo['sql']="select dossier,
12     dossier,
13     parcelle,
14 nhaye 1138 dossier_autorisation_type_detaille.code as nature,
15     pos,
16 fraynaud 3 sig
17 fraynaud 242 from ".DB_PREFIXE."dossier
18 nhaye 1138 INNER JOIN ".DB_PREFIXE."dossier_autorisation
19     ON dossier.dossier_autorisation=dossier_autorisation.dossier_autorisation
20     INNER JOIN ".DB_PREFIXE."dossier_autorisation_type_detaille
21     ON dossier_autorisation.dossier_autorisation_type_detaille =
22     dossier_autorisation_type_detaille.dossier_autorisation_type_detaille
23     INNER JOIN ".DB_PREFIXE."dossier_autorisation_type
24     ON dossier_autorisation_type_detaille.dossier_autorisation_type =
25     dossier_autorisation_type.dossier_autorisation_type
26     where length( parcelle ) > 6
27     and dossier_autorisation_type.code = 'PC'
28     and sig =''";
29 fraynaud 3
30     ?>

[email protected]
ViewVC Help
Powered by ViewVC 1.1.26