28.06.2013 Views

IBM Cognos Framework Manager Version 10.2.0 - Guide d'utilisation

IBM Cognos Framework Manager Version 10.2.0 - Guide d'utilisation

IBM Cognos Framework Manager Version 10.2.0 - Guide d'utilisation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

défini. L'invite est facultative lorsque l'élément "defaultText" est spécifié. Lorsqu'il<br />

est indiqué, l'élément "text" précède la liste de valeurs. L'élément "queryItem" peut<br />

être défini afin de tirer parti des propriétés des informations d'invite de<br />

"queryItem". Lorsqu'il est indiqué, l'élément "trailing_text" est ajouté à la liste de<br />

valeurs.<br />

Syntaxe<br />

promptmany ( prompt_name , datatype , defaultText , text , queryItem ,<br />

trailing_text )<br />

Exemple 1<br />

select ...where COUNTRY_MULTILINGUAL.COUNTRY in ( # promptmany (<br />

’CountryName’ )#)<br />

Résultat<br />

select ...where COUNTRY_MULTILINGUAL.COUNTRY_CODE in<br />

( 'Canada' , 'The Netherlands' , 'Russia' )<br />

Exemple 2<br />

select ...from gosales.gosales.dbo.COUNTRY_MULTILINGUAL<br />

COUNTRY_MULTILINGUAL , gosales.gosales.dbo.COUNTRY XX where<br />

COUNTRY_MULTILINGUAL.COUNTRY_CODE = XX.COUNTRY_CODE # promptmany (<br />

’Selected CountryCodes’ , ’integer’ ,’’,’and<br />

COUNTRY_MULTILINGUAL.COUNTRY_CODE in (’,’’,’)’)#<br />

Résultat<br />

select ...fromgosales.gosales.dbo.COUNTRY_MULTILINGUAL<br />

COUNTRY_MULTILINGUAL , gosales.gosales.dbo.COUNTRY XX where<br />

COUNTRY_MULTILINGUAL.COUNTRY_CODE = XX.COUNTRY_CODE and<br />

COUNTRY_MULTILINGUAL.COUNTRY_CODE in ( 'Canada' , 'The<br />

Netherlands' , 'Russia' )<br />

rstrip<br />

Supprime les caractères de fin du premier argument. Le second argument facultatif<br />

définit le jeu de caractères à supprimer. Par défaut, cette fonction supprime les<br />

blancs (espaces, tabulations, retours chariot et sauts de ligne).<br />

Syntaxe<br />

rstrip ( string_expression [ , set_of_characters ] )<br />

Exemple 1<br />

# sq( rstrip ( ’ abc ’))#<br />

Résultat<br />

' abc'<br />

Exemple 2<br />

’)#<br />

Résultat<br />

0053,21<br />

552 <strong>IBM</strong> <strong>Cognos</strong> <strong>Framework</strong> <strong>Manager</strong> <strong>Version</strong> <strong>10.2.0</strong> - <strong>Guide</strong> <strong>d'utilisation</strong>

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!