Alternative statement

Hi experts,
can any one give me any alternative of the statement
select case when empno is null and salary is null then '0' else empno||'/'||salary end empsal from emp;
Regards
Rajat

Why do you need that?
satyaki>
satyaki>select * from v$version;
BANNER
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE    10.2.0.1.0      Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Elapsed: 00:00:01.02
satyaki>
satyaki>
satyaki>select case
  2           when empno is null
  3           and sal is null then
  4             '0'
  5         else
  6           to_char(empno)||'/'||to_char(sal)
  7         end empsal
  8  from emp;
EMPSAL
7521/1815
7654/1815
7788/4791.6
7839/7260
7844/2178
7876/159.72
7900/1379.4
7902/5270.76
7934/1887.6
7566/1848
7698/1848
EMPSAL
1/
12 rows selected.
Elapsed: 00:00:00.00
satyaki>
satyaki>
satyaki>select decode(empno,'',decode(sal,'','0'),to_char(empno)||'/'||to_char(sal)) empsal
  2  from emp;
EMPSAL
7521/1815
7654/1815
7788/4791.6
7839/7260
7844/2178
7876/159.72
7900/1379.4
7902/5270.76
7934/1887.6
7566/1848
7698/1848
EMPSAL
1/
12 rows selected.
Elapsed: 00:00:00.00
satyaki>
satyaki>Regards.
Satyaki De.

Similar Messages

  • Is there any alternative statement for OPEN CURSOR?

      OPEN CURSOR WITH HOLD l_cursor FOR
              SELECT paledger vrgar versi perio paobjnr pasubnr belnr posnr
                             hzdat usnam gjahr perde wadat fadat budat altperio papaobjnr
                            papasubnr kndnr artnr fkart frwae kursf kursbk kurskz rec_waers
                           kaufn kdpos rkaufnr skost prznr bukrs kokrs werks gsber vkorg
                         vtweg spart hrkft plikz kstar pspnr kstrg rbeln rposn sto_belnr
                         sto_posnr prctr pprctr rkestatu timestmp copa_awtyp copa_aworg
                     copa_bwzpt copa_awsys ktgrd kmhi01 kmhi02 kmhi03 hie04 hie05
                     hie06 hie07 prdha ww003 kunwe pstyv ww150 vsart ww152 ww153
                     ww154 ww155 crmelem ww156 ww157 vbund vv002_me vv001_me vv003_me
                     vv002 vv070 vv071 vv072 vv073 vv074 vv075 vv076 vv077 vv078
                     vv079 vv080 vv081 vv095 vv096 vv040 vv104 vv001 vv003 vv004
                     vv028 vv105 vv150 vv151 vv152 vv153 vv154 vv155 vv038 vv068
                     vv030 vv156 vv157 vv158 vv159 vv160 vv161 vv162 vv035 vv166
                     vv167 vv168 vv169 vv170 vv171 vv172 vv163 vv164 vv165 vv045
                     vv046 vv047 vv059 vv031 vv032 vv039 vv173 vv195 vv194 vv193
                     vv192 vv191 vv184 vv185 vv186 vv187 vv188 vv189 vv190 vv174
                     vv175 vv176 vv177 vv178 vv179 vv180 vv181 vv182 vv183
              FROM (l_table)                                    "ce1na01
              WHERE  paledger IN r_curr_ty
              AND   vrgar IN r_record
              AND   perio EQ lv_period.
    *  Fetch in Packets of 10000
        DO .
          FETCH NEXT CURSOR l_cursor
            INTO TABLE lt_data
            PACKAGE SIZE 10000.
    *  No More Data
          IF NOT sy-subrc IS INITIAL.
            CLOSE CURSOR l_cursor.
            EXIT.
          ENDIF.
         ENDDO.
    This is my current code. while executing it is taking more time so we need optimize this statement. Could you please suggest me.

    No.

  • How to I get rid of the autofill alternative (another state, road, etc.) dialog boxes?

    I only have one home. I would like Autofill to fill out forms as I have my information set. I do not want dialog boxes constantly popping up while Autofill is filling out a form, asking me to pick a possible alternative state or road. I have one address and I would like that one entered on my forms.

    That is a new feature in Firefox to highlight the domain in the URL bar. You can change a preference to make the entire URL dark.
    Change a preference:
    #type '''''about:config''''' in the Location/URL bar and press Enter.
    #if you see a warning, accept (promise to be careful)
    #Filter: '''''browser.urlbar.formatting.enabled'''''
    #in lower panel, double-click that item to toggle value to '''''false'''''
    I am not sure whether or not you need to re-start Firefox after doing the above for the change to take effect. Test and if it does not work, then re-start Firefox and test again.
    '''If this reply solves your problem, please click "Solved It" next to this reply when <u>signed-in</u> to the forum.'''
    Not related to your question, but...
    You need to update some plug-ins:
    *Plug-in check: https://www-trunk.stage.mozilla.com/en-US/plugincheck/
    *Adobe PDF Plug-In For Firefox and Netscape: [https://support.mozilla.com/en-US/kb/Using%20the%20Adobe%20Reader%20plugin%20with%20Firefox#w_installing-and-updating-adobe-reader Installing/Updating Adobe Reader in Firefox]

  • Provide alternative select statements to improve performance

    Hi Frnds
    I want to improve the performance of my report. below statement is taking more time. Please provide any suggestions to include alternative statement for the below select statement.
    SELECT H~CLMNO H~PNGUID P~PVGUID V~PNGUID AS V_PNGUID
               V~AKTIV V~KNUMV  P~POSNR  V~KATEG  AS ALTNUM   V~VERSN
             APPENDING CORRESPONDING FIELDS OF TABLE EX_WTYKEY_T
             FROM ( ( PNWTYH AS H
               INNER JOIN PNWTYV AS V ON V~HEADER_GUID   = H~PNGUID )
               INNER JOIN PVWTY  AS P ON P~VERSION_GUID  = V~PNGUID )
             FOR ALL ENTRIES IN lt_claim
            WHERE  H~PNGUID = lt_claim-pnguid
               AND V~AKTIV IN rt_AKTIV
               AND V~KATEG IN IM_ALTNUM_T.
    Thanks
    Amminesh.
    Moderator message - Moved to the correct forum
    Edited by: Rob Burbank on May 14, 2009 11:00 AM

    Hi,
    Copy the internal table lt_claim contents to another temp internal table.
    lt_claim_temp[] = lt_claim[].
    sort lt_claim_temp by pnguid.
    delete adjacent duplicates from lt_claim_temp comparing pnguid.
    SELECT HCLMNO HPNGUID PPVGUID VPNGUID AS V_PNGUID
               VAKTIV VKNUMV  PPOSNR  VKATEG  AS ALTNUM   V~VERSN
             APPENDING CORRESPONDING FIELDS OF TABLE EX_WTYKEY_T
             FROM ( ( PNWTYH AS H
               INNER JOIN PNWTYV AS V ON VHEADER_GUID   = HPNGUID )
               INNER JOIN PVWTY  AS P ON PVERSION_GUID  = VPNGUID )
             FOR ALL ENTRIES IN lt_claim_temp
            WHERE  H~PNGUID = lt_claim-pnguid
               AND V~AKTIV IN rt_AKTIV
               AND V~KATEG IN IM_ALTNUM_T.
    refresh lt_claim_temp.

  • Not Like in Select Statement

    Hi All,
    My requirement is not to select the entries for the T024 table where the eknam is either starts with 'NOT VALID' or blank.
    For that, I have written the select statement using NOT LIKE,
    Will this negation in the select statement cause extra execution tiem?
    If so, can you give some hint for alternative statement.
    SELECT EKGRP EKNAM FROM T024 INTO TABLE IT_T024
    IT_PURC WHERE EKGRP = S_EKGRP AND EKNAM NOT LIKE 'NOT VALID%' AND EKNAM NOT LIKE ' '.
    Thanks,
    Kal Chand

    Hello,
    For the first condition: not starting with 'NOT VALID' , I don't know other way apart from yours: EKNAM NOT LIKE 'NOT VALID%'.
    For the second one, not starting with blank: EKNAM NOT LIKE ' '. Does it work? I think it compares if EKNAM is different from blank which can be done using:  EKNAM NE ' '.
    I hope it will help you.

  • XQuery - In search of alternatives for "ora:view"

    Instead of the following XQuery statement, what could be alternatives, regarding re-writing the statement, via options like:
    - xmltable
    - xsql
    - xpath
    - table(xmlsequence())
    - etc
    So I am looking for alternative statements and/or an alternative for ora:view
    Thanks for the effort
    Marco
    xquery
    let $auction := ora:view("XMLType_Table") return
    for $b in $auction/site/people/person[@id = "person0"] return $b/name/text()
    /Edited by: Marco Gralike on Oct 19, 2008 3:48 PM

    The file is to big to fit in VARCHAR2, so therefore it was loaded via the bfilename method.
    Content of file X.XML in directory C:\TEMP
    <?xml version="1.0" standalone="yes"?>
    <site>
    <regions>
    <africa>
    <item id="item0">
    <location>United States</location>
    <quantity>1</quantity>
    <name>duteous nine eighteen </name>
    <payment>Creditcard</payment>
    <description>
    <parlist>
    <listitem>
    <text>
    page rous lady idle authority capt professes stabs monster petition heave humbly removes rescue runs shady peace most piteous worser oak assembly holes patience but malice whoreson mirrors master tenants smocks yielded <keyword> officer embrace such fears distinction attires </keyword>
    </text>
    </listitem>
    <listitem>
    <text>
    shepherd noble supposed dotage humble servilius bitch theirs venus dismal wounds gum merely raise red breaks earth god folds closet captain dying reek
    </text>
    </listitem>
    </parlist>
    </description>
    <shipping>Will ship internationally, See description for charges</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    <mail>
    <from>Dominic Takano mailto:[email protected]</from>
    <to>Mechthild Renear mailto:[email protected]</to>
    <date>10/12/1999</date>
    <text>
    asses scruple learned crowns preventions half whisper logotype weapons doors factious already pestilent sacks dram atwain girdles deserts flood park lest graves discomfort sinful conceiv therewithal motion stained preventions greatly suit observe sinews enforcement <emph> armed </emph> gold gazing set almost catesby turned servilius cook doublet preventions shrunk
    </text>
    </mail>
    </mailbox>
    </item>
    </africa>
    <asia>
    <item id="item1">
    <location>United States</location>
    <quantity>1</quantity>
    <name>great </name>
    <payment>Money order, Cash</payment>
    <description>
    <text>
    print deceit arming ros apes unjustly oregon spring hamlet containing leaves italian turn <bold> spirit model favour disposition </bold> approach charg gold promotions despair flow assured terror assembly marry concluded author debase get bourn openly gonzago wisest bane continue cries
    </text>
    </description>
    <shipping>Will ship internationally</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    <mail>
    <from>Fumitaka Cenzer mailto:[email protected]</from>
    <to>Lanju Takano mailto:[email protected]</to>
    <date>02/24/2000</date>
    <text>
    entreaty hath fowl prescience bounds roof fiend intellect boughs caught add jests feelingly doubt trojans wisdom greatness tune worship doors fields reads canst france pay progeny wisdom stir mov impious promis clothes hangman trebonius choose men fits preparation <keyword> benefit since eclipse gates </keyword>
    </text>
    </mail>
    <mail>
    <from>Papa Godskesen mailto:[email protected]</from>
    <to>Ioana Blumberg mailto:[email protected]</to>
    <date>08/02/2001</date>
    <text>
    jealousy back greg folded gauntlets conduct hardness across sickness peter enough royal herb embrace piteous die servilius avoid <keyword> laying chance dungeons pleasant thyself fellow purse steward heaven ambassador terrible doubtfully </keyword> milk sky clouds unbraced put sacrifices seas childish longer flout heavy pitch rosalind orderly music delivery appease
    </text>
    </mail>
    </mailbox>
    </item>
    </asia>
    <australia>
    <item id="item2">
    <location>United States</location>
    <quantity>1</quantity>
    <name>scarce brook </name>
    <payment></payment>
    <description>
    <parlist>
    <listitem>
    <text>
    senses concave valiant star further instruments bankrupts countrymen horrid costard youth necessity tend curiously waken witness navy there honest interest perceive defendant chief traffic where nuptial descent travel prepare agreed voices swears remember peerless doing <keyword> preparation rejoice </keyword>
    </text>
    </listitem>
    <listitem>
    <text>
    swear canker barbarian parching coxcomb excess conspiring nobles sounded consider sayings fishified prime may spirit <emph> untruths misgives choughs mew here garments tenfold </emph> error discontent hung beatrice straight muse shame deep twice mann maecenas any conveyance fingers whereupon child case <keyword> season presently victory women beating </keyword> deprive almost wed dreams slew reveal
    </text>
    </listitem>
    <listitem>
    <text>
    spotted attend burden camillo field enlarge stead corporal ground tormenting <bold> naturally sanctuary riddle exile coming awake senseless chance famous albans </bold> service cricket limb from clouds amongst shore penker defend quantity dumb churlish uncover swung eros figur sulphur sky birth stare negligent unction shield instance ambition gate injury fort put infants find slavish hugh see afterwards slanders chides eyes minds alb loved endure combating voyage
    </text>
    </listitem>
    <listitem>
    <parlist>
    <listitem>
    <text>
    maintained peril rivall suddenly finds studies weary truth indulgence anatomy assisted imminent may excepted yonder aches regal
    </text>
    </listitem>
    <listitem>
    <text>
    <bold> friar prophetess </bold> spirits delays turning cassio finding unpractis steel sweets promises credulity err nym complete star greatly mope sorry experience virtues been offending bed drives faction learnt hurl eleven huge
    </text>
    </listitem>
    <listitem>
    <text>
    piece hours cruelly april league winged <keyword> tract element sails course placed fouler four plac joint </keyword> words blessing fortified loving forfeit doctor valiant crying wife county planet charge haughty precious alexander longboat bells lewd kingdoms knife giver frantic raz commend sit sovereignty engaged perceive its art alliance forge bestow perforce complete roof fie confident raging possible cassio teen crave park reign lords sounded our requite fourth confidence high
    </text>
    </listitem>
    </parlist>
    </listitem>
    <listitem>
    <parlist>
    <listitem>
    <text>
    sent fled bids oswald help answer artillery jealous hugh fingers gladly mows our craving <emph> preventions spurr edmund drunk how faction quickly bolingbroke painfully </emph> valorous line clasp cheek patchery encompassed honest after auspicious home engaged prompt mortimer bird dread jephthah prithee unfold deeds fifty goose either herald temperance coctus took sought fail each ado checking funeral thinks linger advantage bag ridiculous along accomplishment flower glittering school disguis portia beloved crown sheets garish rather forestall vaults doublet embassy ecstasy crimson rheum befall sin devout pedro little exquisite mote messenger lancaster hideous object arrows smites gently skins bora parting desdemona longing third throng character hat sov quit mounts true house field nearest lucrece tidings fought logotype eaten commanding treason censur ripe praises windsor temperate jealous made sleeve scorn throats fits uncape tended science preventions preventions high pipes reprieves <bold> sold </bold> marriage sampson safety distrust witch christianlike plague doubling visited with bleed offenders catching attendants <emph> cars livery stand </emph> denay <keyword> cimber paper admittance tread character </keyword> battlements seen dun irish throw redeem afflicts suspicion
    </text>
    </listitem>
    <listitem>
    <text>
    traduc barks twenty secure pursuit believing necessities longs mental lack further observancy uncleanly understanding vault athens lucius sleeps nor safety evidence repay whensoever senses proudest restraint love mouths slaves water athenian willingly hot grieves delphos pavilion sword indeed lepidus taking disguised proffer salt before educational streets things osw rey stern lap studies finger doomsday pots bounty famous manhood observe hopes unless languish <keyword> transformed nourish breeds north </keyword>
    </text>
    </listitem>
    </parlist>
    </listitem>
    </parlist>
    </description>
    <shipping>Will ship internationally</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    <mail>
    <from>Aspi L'Ecuyer mailto:L'[email protected]</from>
    <to>Lesley Jeris mailto:[email protected]</to>
    <date>10/09/1998</date>
    <text>
    necessities chains rosencrantz house heed course lawn diest unvirtuous supposed sees chough swor numbers game roman soundest wrestler sky lodovico beast shivers desolate norfolk forgot paulina wars george while beggar sheath thursday capable presently his protector father orchard enemies believe drains tokens prison charge cloud stab york mild scene true devotion confidence hundred those guiltless pricks sort himself mutiny officers directive wholesome edge acts dion ride draw brings custom chapless beside sex dowry casca goods priam blasphemy prick octavia brain curer thinkest idiot inward missing conspiracy tents scab inundation caesar officer dramatis
    </text>
    </mail>
    </mailbox>
    </item>
    </australia>
    <europe>
    <item id="item3">
    <location>Uzbekistan</location>
    <quantity>1</quantity>
    <name>abhorr execution beckon rue </name>
    <payment>Money order, Creditcard, Cash</payment>
    <description>
    <parlist>
    <listitem>
    <text>
    <keyword> perjur kills insanie unfortunate conjuration deeper confounded belied first guard </keyword> pale profits height desir ashore france strength kept entrench poisons worth fought ignorance moody poniards speaks jack egg offspring victory food double emperor round jewel abbey apparel untainted lass protest start wings acquit lake lady battles further low thief try brook cake mounted officers dean shrunk lowness dew sandy prologue armies suspicion eighty advance thankfulness albany ended experience halt doubted wert kingdom fiend directed pair perhaps
    </text>
    </listitem>
    <listitem>
    <text>
    prayer odds rend condemn conrade swearing dispos losses boar little from thought different couch respected human robe dictynna later pays edward babe distemper bards damned mayst sustain while self alcibiades listen weak soil <keyword> view presume loggets feed </keyword> afoot yields erection balthasar fathers datchet thankless lear cause evil cheerfully instance tarried because cough ancient testimony tarquin cousin reported porter beastly jade bark sex slack lear devil devoured amiable mason moss shoulders labour meanest feign eggs encount forbid enobarbus halters nam emilia fiends bearing food inheritor wiser <emph> hedge </emph> functions there capital greasy dark crush your sequest between devout thou strikes demand dost reverent conference least told ado modena jealousy nunnery mistrust nightly worthy closes tall proudly fierce receive nearness safer jacks shut dire mates wind unfortunate monsieur parcels sauced extremities throat dog empty treasury etc detested stand taxations edges mourner sue knavery unlook perseus diadem heartily peer tut compounded art reconcile study thought cockatrice money pity intend thing claud edmund throws torments ropes contrive story slain advise lecher ardea relics keeping treads buckingham defences lag neighbour ourself marshal disordered moderate venus afeard article rot hazards craft crowns <emph> plainness patient </emph> lying knowledge diseases meritorious medicine instead lid happy without them bands answer
    </text>
    </listitem>
    </parlist>
    </description>
    <shipping>Will ship only within country</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    </mailbox>
    </item>
    </europe>
    <namerica>
    <item id="item4">
    <location>United States</location>
    <quantity>1</quantity>
    <name>unsur brutish </name>
    <payment>Money order, Creditcard</payment>
    <description>
    <parlist>
    <listitem>
    <text>
    prepar likelihood eagle body walk borachio month writing left speed patents coach through protectorship congruent confusion favours following populous garden henceforth shoots function fourscore mangled favorably slain secretly vice distinguish bardolph content hence boy worse bring usurers stew beard longed creep hid pursuivant beholders senators son mercutio woo bestow trumpet excess muffler pick ugly felt causes remove adding tear often rounds underbearing tree purer kibes endless women benefit throw <emph> claim firmness <keyword> arrived sees wrestled multitude repent preventions infamy reproof shalt hearted prais knave doubtless </keyword> deny </emph> merely grave voluble late loath digest horn slave hunger stronger amazed salt killing ross cry dry tongue kiss yields auspicious quietness perpetual ways
    </text>
    </listitem>
    <listitem>
    <text>
    court mean returning brook creatures appointed paunches henry sights west prunes flutes regiment seems bed musicians slumber post friendship prevention abreast wouldst words vexation builds unfelt holly walk inform moods deck bulk begin action school nobles antique people unkennel stomach into petitions jack assail yongrey ages betimes golden sink droop kernel hoppedance perfection weight <emph> whining safe english rod other featur </emph> betwixt orator across amiss mine guests guard yon willing remit longing goneril visitation honey
    </text>
    </listitem>
    </parlist>
    </description>
    <shipping>Will ship only within country, Buyer pays fixed shipping charges, See description for charges</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    <mail>
    <from>Honari Castan mailto:[email protected]</from>
    <to>Maz Lucky mailto:[email protected]</to>
    <date>01/24/1998</date>
    <text>
    scene disposition substance prick counsel start temples
    </text>
    </mail>
    </mailbox>
    </item>
    </namerica>
    <samerica>
    <item id="item5">
    <location>United States</location>
    <quantity>1</quantity>
    <name>nakedness </name>
    <payment>Creditcard, Personal Check, Cash</payment>
    <description>
    <text>
    music sift kissing design airy office dismantled hope reconcil combat wert quite translate overcome unthrifty <emph> fell othello <bold> wolf entreat audaciously down sands sports pilgrimage duellist league holiday cheek that tables merrily knot selves ionia impure </bold> prophet draw throwing solemn yonder </emph> rightful foam worthless polack veronesa antony beget thereby carry untread hales
    </text>
    </description>
    <shipping>Will ship only within country, Will ship internationally</shipping>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <incategory category="category0"/>
    <mailbox>
    </mailbox>
    </item>
    </samerica>
    </regions>
    <categories>
    <category id="category0">
    <name>dispatch reported dotard holofernes </name>
    <description>
    <parlist>
    <listitem>
    <text>
    shift carrion doubtful strangle sounding crowned troubled naked yesterday overthrow owe silent recount waters derive sans four
    </text>
    </listitem>
    <listitem>
    <parlist>
    <listitem>
    <text>
    fragment pamper arthur thrive wound fouler streets preventions obey vow bawds myrtle said infinite montague fierce sense ride souls commended gainsay profession labour intents persuade alter
    </text>
    </listitem>
    <listitem>
    <text>
    ord villain wore thunder congeal pawned alack customary deny faithful top office spoken please neighbour office afternoon drum embowell touch sue lifeless leapt called weary congregation yield
    </text>
    </listitem>
    <listitem>
    <text>
    mental fatal hard ancient stands cor dishes therein gramercy discipline farewell dire tricks protest cut horatio brother speech sleeping adultress pitch cave liv nurse drink state plants combating desired requir rebellion afraid repented tree scald stopp wine advise undermine norfolk vilely whet scars companions hanging foolish scene musty fruitful unburthen teacher garments betimes sight now for oaths vouchsafe particulars globe laertes afflictions rouse once news humanity buck destroy military lucius lap <keyword> considered forc mourning verona </keyword> waters triumphing officer hastily <emph> resign subject figure hay thwart written signs gout bred distance period glove players change folly </emph> going wat lost song hautboys pick business crocodile leading cave twice frenzy sprightly dislike invite forbids morn devour ambassador seldom speak tickling rejoice triumphant ascanius forward
    </text>
    </listitem>
    </parlist>
    </listitem>
    </parlist>
    </description>
    </category>
    </categories>
    <catgraph>
    <edge from="category0" to="category0"/>
    </catgraph>
    <people>
    <person id="person0">
    <name>Jaak Tempesti</name>
    <emailaddress>mailto:[email protected]</emailaddress>
    <phone>+0 (873) 14873867</phone>
    <homepage>http://www.labs.com/~Tempesti</homepage>
    <creditcard>5048 5813 2703 8253</creditcard>
    <watches>
    <watch open_auction="open_auction0"/>
    </watches>
    </person>
    </people>
    <open_auctions>
    <open_auction id="open_auction0">
    <initial>13.56</initial>
    <reserve>33.78</reserve>
    <bidder>
    <date>10/22/2001</date>
    <time>10:21:43</time>
    <personref person="person0"/>
    <increase>55.50</increase>
    </bidder>
    <bidder>
    <date>07/27/2001</date>
    <time>12:36:50</time>
    <personref person="person0"/>
    <increase>19.50</increase>
    </bidder>
    <bidder>
    <date>02/14/2000</date>
    <time>16:40:16</time>
    <personref person="person0"/>
    <increase>19.50</increase>
    </bidder>
    <bidder>
    <date>05/09/2001</date>
    <time>11:39:57</time>
    <personref person="person0"/>
    <increase>30.00</increase>
    </bidder>
    <bidder>
    <date>07/12/1999</date>
    <time>23:20:27</time>
    <personref person="person0"/>
    <increase>13.50</increase>
    </bidder>
    <bidder>
    <date>10/21/2001</date>
    <time>01:19:47</time>
    <personref person="person0"/>
    <increase>3.00</increase>
    </bidder>
    <bidder>
    <date>09/28/2001</date>
    <time>17:03:24</time>
    <personref person="person0"/>
    <increase>6.00</increase>
    </bidder>
    <bidder>
    <date>11/15/1999</date>
    <time>14:23:15</time>
    <personref person="person0"/>
    <increase>9.00</increase>
    </bidder>
    <bidder>
    <date>01/02/1998</date>
    <time>22:18:07</time>
    <personref person="person0"/>
    <increase>1.50</increase>
    </bidder>
    <bidder>
    <date>12/24/2001</date>
    <time>16:46:32</time>
    <personref person="person0"/>
    <increase>13.50</increase>
    </bidder>
    <bidder>
    <date>08/12/2000</date>
    <time>11:41:54</time>
    <personref person="person0"/>
    <increase>3.00</increase>
    </bidder>
    <bidder>
    <date>11/15/2000</date>
    <time>15:53:40</time>
    <personref person="person0"/>
    <increase>6.00</increase>
    </bidder>
    <bidder>
    <date>03/04/2000</date>
    <time>20:46:15</time>
    <personref person="person0"/>
    <increase>16.50</increase>
    </bidder>
    <bidder>
    <date>07/22/1998</date>
    <time>10:34:11</time>
    <personref person="person0"/>
    <increase>25.50</increase>
    </bidder>
    <bidder>
    <date>04/01/1998</date>
    <time>10:44:22</time>
    <personref person="person0"/>
    <increase>7.50</increase>
    </bidder>
    <current>243.06</current>
    <itemref item="item0"/>
    <seller person="person0"/>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    debauch corpse canons domain night forsake yea satisfy between fume were monsters ear players moreover ungentleness sorrows prouder tonight favours rome bastard unshown excellence journey loves swearing proceeds stone buck battle breathless kindness prophesy entomb urging rogues hector conquer provoke nothing raw wight places needy feasted romeo rivers worser occupation brook stoops brooch plucks level samp tent windsor rubs whereof beam signior built suff heavy dull husbands roman favour urge spear gone wolf cheeks execute resolv such horrid drives provide twice spoke trade friar taking pheasant sentenc scarf corrections brothers charge spur ass agamemnon truepenny saves roots practis impatient diest didest starv seeing beneath interpose gods home black forgot snuff dress dozen napkins <emph> countess northumberland headlong needless angry pleading </emph> better joy <emph> meagre </emph> reap enquire crab wales died violent rear past liberty <emph> braggart armour infer bankrupt winds teeth </emph> case wore pouch crows cognition <keyword> reports expedition free chief cressida hearsed </keyword> loath monuments silent congregation soon farm doct ross susan ready empty dedicate shilling whole soul foot beseech higher lifeless hay postmaster distress disposition <bold> inherits </bold> marcus betters pitch betray beam corse player quality ros conduct thersites greediness boast pilgrims startles contented belch hung thus captain early blood par brook jul gain needs above ensign grapes revelling glean thank
    </text>
    </description>
    <happiness>6</happiness>
    </annotation>
    <quantity>1</quantity>
    <type>Regular</type>
    <interval>
    <start>06/16/1999</start>
    <end>05/12/2001</end>
    </interval>
    </open_auction>
    </open_auctions>
    <closed_auctions>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item1"/>
    <price>113.87</price>
    <date>06/06/2000</date>
    <quantity>1</quantity>
    <type>Regular</type>
    <annotation>
    <author person="person0"/>
    <description>
    <parlist>
    <listitem>
    <parlist>
    <listitem>
    <text>
    farewells religion fetch bells rage names valued exeunt soul albans ungently advised serving ratcliff braggarts knowest desp sheep died repeat toy corrupted michael help dunghill trembles pill reap office early secure desires hated garland carriage impatient deserts feel challenger evil <bold> editions depart laur hereford richer </bold>
    </text>
    </listitem>
    <listitem>
    <text>
    proudest lust approve rey should spectacles fiery perfect worshipp foul quod yes remorse young tyburn thrust attending spear shun doctor wild
    </text>
    </listitem>
    </parlist>
    </listitem>
    <listitem>
    <text>
    throng grandam awak helpless ventidius tread defeat teem durst wonderful attaint chaste sees fulfill mortality arme expedient attendants themselves performed leading sing villain skill store mischief see consciences sail text speed sons spleen die oft girl atomies commodity honor fall stopp they
    </text>
    </listitem>
    <listitem>
    <text>
    rain pays spilling rancour reasons grieves camp bachelor crow can whom soldiers growth invite less for vaughan properties <keyword> record penury herself reasons merits villainous whereupon wrote penny mar </keyword> preventions followed best eternity bestow blots rocks barnardine torn cassio tailor fame forfeit triumphant conceived deem cowardly merciful topgallant flint purgation whosoever ventidius befits forever bankrupt choughs stains certain violated burgundy shadows possesseth men repent predominant burns revelry swore prodigious next tyrant oath noses apart balth trade feasting field importunity expect experience kingly stay babe hopes liege astonished suspicion unmannerd alexander crown soil committed god stately incensed trance oracle slowness fast princes damned corn grandsire change tender end fields slain palm softly samp shore notion herod messengers horseman <bold> riggish </bold> quirks shut thence beware jewels sland preventions has sells assails influences oppression pow maggot caught methought mechanical durst liker not seat <emph> assigns flesh made his third <keyword> seemeth </keyword> peril gain they stroke forsworn scape full determin professes commons </emph> lordship clear operation practice pyrrhus earnest broke devil posterity company text misbegotten oregon strike saw arthur earnestly brow popilius ugly serves presentation commandment metal comparing thereon true secretly gallows preventions horridly slack lieutenant hers stop clown rosalinde wed pretty wildly
    </text>
    </listitem>
    </parlist>
    </description>
    <happiness>9</happiness>
    </annotation>
    </closed_auction>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item2"/>
    <price>96.92</price>
    <date>12/05/2001</date>
    <quantity>1</quantity>
    <type>Featured</type>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    hitherto queen painted seat fords clay recall countryman divided delicate mocking active bills filth pledge surrender madness sufficiency moved converse goot claw show edmundsbury torment tough fish mediators tarquin pyrrhus <keyword> heathen </keyword>
    </text>
    </description>
    <happiness>6</happiness>
    </annotation>
    </closed_auction>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item3"/>
    <price>53.85</price>
    <date>05/11/1999</date>
    <quantity>1</quantity>
    <type>Featured</type>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    strives occasion question sticks shall ingenious sinews liquid ashy gentlewomen authority assay hole selves living near doting modest wiltshire mocker eton profess forgeries butt wade lawful maccabaeus wert forced succeeding becomes wayward got
    </text>
    </description>
    <happiness>6</happiness>
    </annotation>
    </closed_auction>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item4"/>
    <price>123.52</price>
    <date>02/11/1999</date>
    <quantity>1</quantity>
    <type>Regular</type>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    vowed keys imperial were swinstead forsake cat aliena spies crave requite forfeit doctor <emph> possess </emph> aught demand ceremonies obscure engross hero restraint bolingbroke neighbour crimes dominions common turns conduct wav therewithal abandon yet hunger
    </text>
    </description>
    <happiness>5</happiness>
    </annotation>
    </closed_auction>
    <closed_auction>
    <seller person="person0"/>
    <buyer person="person0"/>
    <itemref item="item5"/>
    <price>96.06</price>
    <date>04/24/1999</date>
    <quantity>2</quantity>
    <type>Featured</type>
    <annotation>
    <author person="person0"/>
    <description>
    <text>
    jove superiors prolong which conspirator crowns fellowship indisposition skins filthy divers fault apparell worthiness supposition parchment restitution rings rages remains lass dependent pelican contrive paradoxes unmask desdemona weak pleases shame wisely cheek poison avoid ulysses exeunt answer smoothing punishment much anointed bloody shook here armado supply four digestion unresisted consummate glou ding figure made unwrung worst repute envious meanest read nan stake shriek tower nights armed drinking instant scruple citizens rightful nonino shame hills dismal other fasting attends judge aspire hand putting repeal grounds bestrid commission crave mess tarries sport view freely lame done intend cast shun kills presented body landed question hem same burdens plenty esteem weak sigh sunday body preventions revenge horses cleomenes thrust what albeit foolishly mirror gently mock allow index evils should consider deeds suit damsons willoughby thousand number morn banish barricado unfolding perhaps gently stalk degree oblivion wars monsieur companies swords shifted clay strives frozen jour <emph> ajax states mark parcels advertised utterly virtue flatter sleeping ope </emph> lucilius tybalt glow killed account obdurate kindly <bold> heart light bosom garden cog yet daughters tott </bold> lifted offer
    </text>
    </description>
    <happiness>4</happiness>
    </annotation>
    </closed_auction>
    </closed_auctions>
    </site>

  • Alternative to NOT IN

    Hi,
    Can any one provide alternative statement for
    WHERE ML.ACCT_NBR NOT IN (SELECT ACCT_NBR FROM ACCOUNT_FLAGS WHERE FLAG_TYPE='ACREC')
    I used the following statement but it is excluding rows if no account record is present in ACCOUNT_FLAGS table.
    WHERE ML.ACCT_NBR = ACCOUNT_FLAGS.ACCT_NBR AND ACCOUNT_FLAGS.FLAG_TYPE != 'ACREC'
    Can any one please help me.
    Thanks,
    Chaitanya

    i have tried the following options:
    1) not exists (took lot of time without any output)
    2) Outer join (WHERE ACCOUNT_FLAGS.ACCT_NBR (+) = ML.ACCT_NBR AND ACCOUNT_FLAGS.FLAG_TYPE != 'ACREC'). This also excludes few account numbers that are not present in ACCOUNT_FLAGS table. This also returns the account number which has ACREC flag on it.
    3) using minus (this takes a lot of time without any output)
    4) WHERE ACCOUNT_FLAGS.ACCT_NBR (+) = ML.ACCT_NBR AND ACCOUNT_FLAGS.FLAG_TYPE (+) != 'ACREC' ...... This returns all the rows without considering the condition flag_type!='ACREC'
    I have been trying to solve but in vain..
    Can any one help?

  • How to avoid end-select in the sel;ect statement

    Hi All
    i have the following select statement,
                SELECT KBETR FROM KONV
                            INTO (V_EXDUTY) UP TO 1 ROWS
                            WHERE KNUMV = VBRK-KNUMV
                              AND KSCHL = 'JEXP'
                              AND KPOSN = VBFA-POSNN.
                ENDSELECT.
    now i want to know the alternative stat for this one by removing the end-select. and also explain me why do we use select ..... end-select. brief explanation is appreciated.
    thanks in advance
    ABAPER

    hi,
    u can use SELECT SINGLE ...since u r using select upto 1 rows. they hv used select upto 1 rows...as they are passing partial primary keys. there is a possibility that u mite have more than one matching records.
    u can use "select..into table" and use some condition to retrieve the specific record.
    regards,
    madhu

  • SAP BPC 7.0NW (project in Ramp-Up)

    Hi,
    We are doing 2 Ramp-Ups currently on the BPC for Netweaver version, and I have a question relating to script logic.
    Knowing the Microsoft version very well, we are quite experienced with using logic for budgeting or forecasting purposes. I have read that ABAP/BADI's are the alternative for SQL Logic or could be. In fact, I am looking for the alternative statements of the SQL logic, but then Netweaver-compatible.
    - Is there information available on how to write BPC-logic based on ABAP/BADI's?
    - Will all of the SQL logic available in the Microsoft version become fully available in the NW version (now very limited availability)?
    Thx
    Bjorn Van Damme

    Hi Bjorn,
    The alternative to SQL based script logic in SAP BPC NetWeaver would be MDX based functions. There are 2 methods that you can utilize.
    1. MDX based functions
    2. ABAP based functions/ BADI's
    SQL Logic in NetWeaver environment doesn't work. You may try utlizing microsoft based MDX in NetWeaver environment. Well, it is up to you if you are able to utilize BADI's too prefereable method in terms of NewWeaver environment. You may have to get the information from SAP regarding what standard functions are available in writing script logic using ABAP/BADI's.
    Regards,
    Sreekanth.

  • Internal table operations

    Hi all,
       Please tell me the alternative of using loop that is specified in Bold. some body saying that is an alternative of using some statement without using loop in loop.
    * data declaration
    DATA: BEGIN OF T1 OCCURS 0,
    F1 TYPE I,
    END OF T1.
    DATA: BEGIN OF T2 OCCURS 0,
    F1 TYPE I,
    F2(10) TYPE C,
    END OF T2.
    DATA: T3 LIKE T2 OCCURS 0 WITH HEADER LINE.
    * fill internal table T1
    T1-F1 =  10.
    APPEND T1.
    T1-F1 =  20.
    APPEND T1.
    T1-F1 =  30.
    APPEND T1.
    T1-F1 =  40.
    APPEND T1.
    * fill internal table T2
    T2-F1 =  10.
    T2-F2 = 'AA'.
    APPEND T2.
    T2-F1 =  10.
    T2-F2 = 'AB'.
    APPEND T2.
    T2-F1 =  10.
    T2-F2 = 'AC'.
    APPEND T2.
    T2-F1 =  20.
    T2-F2 = 'BA'.
    APPEND T2.
    T2-F1 =  20.
    T2-F2 = 'BB'.
    APPEND T2.
    T2-F1 =  30.
    T2-F2 = 'CA'.
    APPEND T2.
    T2-F1 =  30.
    T2-F2 = 'CB'.
    APPEND T2.
    T2-F1 =  30.
    T2-F2 = 'CC'.
    APPEND T2.
    T2-F1 =  40.
    T2-F2 = 'DA'.
    APPEND T2.
    CLEAR: T1, T2.
    * fill internal table T1
    LOOP AT T1.
    <b>  LOOP AT T2 WHERE F1 = T1-F1.
        APPEND T2 TO T3.
      ENDLOOP.</b>
    ENDLOOP.
    * display internal table T1
    LOOP AT T3.
      WRITE:/ T3-F1, T3-F2.
    ENDLOOP.

    HI
       I guess for this case, there is no alternative statements as you have data in two internal tables. But
    YES you can minimise during extraction via FOR ALL ENTRIES.
    Eg:
    tables: mara.
    select-options: s_matnr for mara-matnr.
    types: begin of t_mara,
             matnr like mara-matnr,
             mtart like mara-mtart,
           end of t_mara.
    types: begin of t_marc,
             matnr like marc-matnr,
             werks like marc-werks,
           end of t_marc.
    data: it_mara type standard table of t_mara,
          it_marc type standard table of t_marc.
    select matnr mtart into table it_mara
           from mara
           where matnr in s_matnr.
    select matnr werks into table it_marc
           from marc
           for all entries in it_mara
           where matnr = it_mara-matnr.
    Kind Regards
    Eswar

  • 10g, DBMS_ADVANCED_REWRITE question

    Hi,
    I'm on an Oracle 10g database. I have been reading about the DBMS_ADVANCED_REWRITE package. It sounds really cool. I do have one question about how it works ...
    If I have a query ...
    select mycol1
    from mytable
    where mycol2 = 123
    order by mycol1;
    Is there any way to use this package with out knowing what '123' would be? ie it is possible it can change?
    Is it possible to do something like the following?
    select mycol1
    from mytable
    where mycol2 = VARIABLE
    order by mycol1;
    Thanks for helping this novice.

    The DBMS_ADVANCED_REWRITE package allows you to intercept specific SQL statements and replace them with alternative statements. This is done by defining functional equivalence definitions, which are used by the rewrite engine in addition to regular query rewrites. This can be useful when you need to make minor alterations to the way applications work when you don't have access to the code. This article presents a simple example of how this can be achieved
    see this link
    http://www.oracle-base.com/articles/10g/dbms_advanced_rewrite.php

  • Function group: to Check syntax errors

    Hi,
        We are doing a project.In that we planned  to do our program like this
                    1.To check errors line by line.
                    2. If my program come across any errors in statement it should automattically show the correct statement or   alternative statement, it must be user friendly .
       would you please suggest me any function group for these.

    Hi,
        We are doing a project.In that we planned  to do our program like this
                    1.To check errors line by line.
                    2. If my program come across any errors in statement it should automattically show the correct statement or   alternative statement, it must be user friendly .
       would you please suggest me any function group for these.

  • Customer Aging Report - different defaults for different customers

    In SAPB1 2007, SP01 PL09, we want to be able to run a different Customer Receivables Report for only certain customers.
    That is, we want ONE Statement to print for most customers, but have a different statement print for a handful of other customers. Currently, the only way to do this is set one report as the default, bring up a handful of customers by a certain property, then reset the default, bring up the rest of the customers by excluding that property, then running the statements again.
    Alternatively, we can set the Customer Receivables Report default by User. But the customers we need for the alternative statement are not relegated to one user, so this doesn't work.
    Is there a better way to do this? Some way to assign a default statement to a particular group of customers, by Business Partner number alone?

    Hi,
    I'm using SBO 2005A PL 46, the BP currency is USD and the Local Curr is IDR.
    Thanks

  • Folders Jump on Import

    When I import photos my folders constantly jump un and down making it very hard to choose the correct folder. How do I stop this?

    Me too. It is driving me nuts. I have a multi-card USB-reader plugged in which appears as a drive letter between F: and J: dependent on which slot I have a card in. For SD cards it appears as J: . With no card inserted, the full Import window of Lightroom 4.3 intermittently shows a Devices heading above Files, with a drive "F:\(Camera or Card Reader)". The drive letter is always F: . The state toggles every 1 to 2 seconds, making it very difficult to select the desired subfolder on disk. See screen-shots below which show the alternating states.
    I am running Windows 8 Pro x64, and don't think I've encountered this behaviour in a previous version of Lightroom.

  • Broadcasting iPod through home/car stereo speakers

    In light of the recent demise of my iTrip, can anyone please provide me a detailed set of alternative solutions for playing music from my iPod through the speakers mentioned in the thread title? Try and specify the pros and cons of each alternative, state your personal preference and provide a why for that statement. Thank you very much

    Okay, fair enough on the essay bit mate! I'm still doing them in college, so I know where you're coming from.
    About the iTrip, is there a new one out for the iPod video? Seeing as the machine no longer has that second input beside the headphone jack, my iTrip is now useless. I didn't feel the need to specify this as being in an iPod video forum, I felt it was implied. But again, have they released a new iTrip for the iPod video?

Maybe you are looking for

  • Using Essbase as source for OBIEE 10.1.3.3

    Our company is in the process of implementing OBIEE 10.1.3.3 and I was trying to import an Essbase database (7.1.6) as a source for the Physical layer. However it looks like there was a change from 10.1.3.2 to the version we have. The docs show you c

  • IPhoto Faces Only Recognises Faces in Photo Stream Folder

    Hello, I have imported a host of pictures into iPhoto from a removable hard drive. This has then grouped the photos into events / albums. When I go in to Faces, the only faces it recognises are from pictures in the Photo Stream folder, and none from

  • Field DMBTR in MIGO 101

    Does anyone knows how to display this field (amount in local currency) in the 101 movement in MIGO transaction? This field is standard but only in exhibition mode of the material document. Greets, Garcia.

  • One problem about ECL Viewer options

    We marked the checkbox - Greyscale 24bit(for TIFF) to get a better picture quality in ECL setting(options->colors), but seems the ECL-Viewer cannot “memorize” this setting – when closing the document and reopening, the viewer still has bad quality ag

  • Sys Lockup - SB Audigy 2 ZS on Asus K8V SE De

    After many days of searching the CREATIVE and ASUS forum's and KnowledgeBase's I could find no specific solution to help solve my problem. Ieventually worked things out myself and I'm posting it here in the hope thatit will help somebody out there wi