Alternative for Continue Statement in 10g

Best way to write below code in Oracle 10g (as continue does not exist)
BEGIN
FOR i IN 1..10
LOOP
Dbms_Output.put_line(i);
CONTINUE  WHEN i>5;
CASE
Dbms_Output.put_line(i);
END LOOP;

Nicosa wrote:
I thought GOTO instructions were deprecated in all programming languages since the beginning of the 21st century...Agreed, of course - GOTO is usually a red flag indicating badly written code. However I think if it's used in a well-controlled way like this, and the label is something like<tt> continue_loop</tt>, then it might be allowed ;)

Similar Messages

  • How to find the tables which are the candidates for gathering stats in 10g

    Hi,
    In 10g how can we find the tables, partitions which are the candidates for gathering the stats.
    I want to findo those tables, partitions and gather the stats on daily basis.
    Thanks,
    Mahi

    The probem you describe has been posted about before. There are known issues with the default dbms_stats parameter settings for some environements.
    What you can do is just go ahead an manually submit dbms_stats commands with appropriate parameters for tables that have not been analyzed or modify the maintenance window to give it more time.
    I would rather just generate the missing statistics myself then the job can continue to run in the normal maintenance window. Since the job should be looking only for tables that meet the stale requirements then once everything is analyzed it is likely the job can keep the statistics updated in the default time allowed.
    Be warned that the default parameter settings do not work well for some tables in some environments and if that proves true for your shop you can generate workable statistics on a table and then lock them so the nightly job ships regenerating the statistics for that table. You would then manually unlock, generate, and lock that statistics for that table as necessary.
    HTH -- Mark D Powell --

  • Alternate for tables statement

    hi friends
    If i use dictionary fields in the screen i am using tables statement of that corresponding structure.
       but i think tables statement is obsolete one is it right so what is the alternative for tables statement
    how to move the values of fields between screen and abap program, help me
               thanks in advance

    Fields are moved from your program to the screen when the field names match.  There is no explicit transport command needed.
    I do not think that the TABLES command is considered obsolete when used in screen programming.  That is the only time that I use it.  There was some training material in regards to the TABLES command being required for proper transport between the program and the screen.  I do not know if this has changed with 4.7.

  • 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>

  • Can anyone help me understand "Continue Statements"?

    Hi,
    I was wondering if anyone could help me understand continue statements. I've been studying the java tutorials this weekend but can not get my head around the following explanation: (My thoughts are at the end of this message and it might be easiest to read them first!)
    "The continue statement skips the current iteration of a for, while , or do-while loop. The unlabeled form skips to the end of the innermost loop's body and evaluates the boolean expression that controls the loop. The following program, ContinueDemo , steps through a String, counting the occurences of the letter "p". If the current character is not a p, the continue statement skips the rest of the loop and proceeds to the next character. If it is a "p", the program increments the letter count.
    {code}class ContinueDemo {
    public static void main(String[] args) {
    String searchMe = "peter piper picked a peck of pickled peppers";
    int max = searchMe.length();
    int numPs = 0;
    for (int i = 0; i < max; i++) {
    //interested only in p's
    if (searchMe.charAt(i) != 'p')
    continue;
    //process p's
    numPs++;
    System.out.println("Found " + numPs + " p's in the string.");
    }{code}
    Here is the output of this program:
    Found 9 p's in the string.
    To see this effect more clearly, try removing the continue statement and recompiling. When you run the program again, the count will be wrong, saying that it found 35 p's instead of 9.
    A labeled continue statement skips the current iteration of an outer loop marked with the given label. The following example program, ContinueWithLabelDemo, uses nested loops to search for a substring within another string. Two nested loops are required: one to iterate over the substring and one to iterate over the string being searched. The following program, ContinueWithLabelDemo, uses the labeled form of continue to skip an iteration in the outer loop.
    {code}class ContinueWithLabelDemo {
    public static void main(String[] args) {
    String searchMe = "Look for a substring in me";
    String substring = "sub";
    boolean foundIt = false;
    int max = searchMe.length() - substring.length();
    test:
    for (int i = 0; i <= max; i++) {
    int n = substring.length();
    int j = i;
    int k = 0;
    while (n-- != 0) {
    if (searchMe.charAt(j++)
    != substring.charAt(k++)) {
    continue test;
    foundIt = true;
    break test;
    System.out.println(foundIt ? "Found it" :
    "Didn't find it");
    }{code}
    Here is the output from this program.
    Found it"
    Here are Woodie's thoughts........................................
    1) With the first program I don't understand how the program counts the number of "p's". Like for example how it stores the number of "p's". Shouldn't it say:
    if (searchMe.charAt(i) = 'p') then store it in some sort of containers??? 2) With the second program, I don't understand the test section. For example: Why does it have --? why does it have != after while and why does it have != after if?
    while (n-- != 0)
                    if (searchMe.charAt(j++) != substring.charAt(k++))
                        continue test;
                foundIt = true;
                     break test;Edited by: woodie_woodpeck on Nov 23, 2008 3:29 AM

    Woodie, I think they're just silly "theoretical" examples... ergo don't worry too much not understanding them, coz they don't actually make a lot of sense... as you've allready pointed out there are other "more normal" control structures which achieve the same thing, and which in this case (in my humble opinion) would make for clearer, more concise, more maintainable code.
    All you need to know about continue is "it means go back to the top of the loop"... If you're not comfortable using "continue" then don't.
    There's more than one way to do it.
      public static void main(String[] args) {
        try {
          final String s = "peter piper picked a peck of pickled peppers";
          int count = 0;
          for ( char c : s.toStringArray() ) {
            if (c=='p') count++;
          System.out.println("There are "+count+ " p's in '"+s+"'");
        } catch (Exception e) {
          e.printStackTrace();
      }Having said all that... I did use continue in anger the other day... I was reading Geometries from a shape file... the reader was throwing an ArrayIndexOutOfBoundsException given an "empty Feature" (ie a feature with the geospatial presence)... All I did was catch the exception and continue trying to read the new feature... the alternative would have been to rewrite the control logic of the whole reader loop... quick, simple effective... but I don't routinely build continue statements into new code... just a matter of personal taste.
    Cheers. Keith.

  • Forward me the link for installing Oracle Client 10g on Windows 7 64-bit?

    Hi
    Can anybody send me the link for downloading Oracle Client 10g on Windows 7 64-bit?
    Regards

    Arizuddin wrote:
    Actually i installed TOAD for oracle v9.5 on laptop with Windows 7 ultimate
    it gives 'Cannot find OCI DLL: oci.dll'. It seems TOAD for Oracle is a 32-bit only app, which means that it requires a 32-bit Client.
    You might also want to stay away from installing Toad under "Program files (x86)".
    Consider taking a look at Oracle SQL Developer - a very good alternative to the toad.
    http://www.oracle.com/technetwork/developer-tools/sql-developer/index.html
    For other questions specific to Toad, please see e.g. toadfororacle.com.

  • Best practices for gathering statistics in 10g

    I would like to get some opinions on what is considered best practice for gathering statistics in 10g. I know that 10g has auto statistics gathering, but that doesn't seem to be very effective as I see some table stats are way out of date.
    I have recommended that we have at least a weekly job that generates stats for our schema using DBMS_STATS (DBMS_STATS.gather_schema_stats). Is this the right approach to generate object stats for a schema and keep it up to date? Are index stats included in that using CASCADE?
    Is it also necessary to gather system stats? I welcome any thoughts anyone might have. Thanks.

    Hi,
    Is this the right approach to generate object stats for a schema and keep it up to date? The choices of executions plans made by the CBO are only as good as the statistics available to it. The old-fashioned analyze table and dbms_utility methods for generating CBO statistics are obsolete and somewhat dangerous to SQL performance. As we may know, the CBO uses object statistics to choose the best execution plan for all SQL statements.
    I spoke with Andrew Holsworth of Oracle Corp SQL Tuning group, and he says that Oracle recommends taking a single, deep sample and keep it, only re-analyzing when there is a chance that would make a difference in execution plans (not the default 20% re-analyze threshold).
    I have my detailed notes here:
    http://www.dba-oracle.com/art_otn_cbo.htm
    As to system stats, oh yes!
    By measuring the relative costs of sequential vs. scattered I/O, the CBO can make better decisons. Here are the data items collected by dbms_stats.gather_system_stats:
    No Workload (NW) stats:
    CPUSPEEDNW - CPU speed
    IOSEEKTIM - The I/O seek time in milliseconds
    IOTFRSPEED - I/O transfer speed in milliseconds
    I have my notes here:
    http://www.dba-oracle.com/t_dbms_stats_gather_system_stats.htm
    Hope this helps. . . .
    Don Burleson
    Oracle Press author
    Author of “Oracle Tuning: The Definitive Reference”
    http://www.dba-oracle.com/bp/s_oracle_tuning_book.htm

  • Alternative for AT NEW --- ENDAT

    Hello experts,
    I am using field-symbol as internal table. I cant use AT NEW statement inside this loop.
    Can u pls provide alternative for above control break statement.
    Thanks in advance.
    Zak.

    Hi,
    to use control break statement, first you should sort the internal table and then you use it.
    Take one example:
    data: begin of it9 occurs 4,
               f1,
               f2,
             end of it9.
      it9 = '1A'. append it9. "Fill it9 with data
      it9 = '3A'. append it9.
      it9 = '1B'. append it9.
      it9 = '2B'. append it9.
    sort it9 by f1.
    loop at it9.
         at new f1.
             write: / 'start of:', it9-f1.
             endat.
         at end of f1.
             write: / 'end   of:', it9-f1.
             endat.
         endloop.
    free it9.
    Hope it is helpful.
    Regards,
    Chris Gu

  • Alternative for EXEC command(Native SQL)

    Hi Friends,
             While Using the EXEC command in native sql it is showing the obselete Error  , Can  any one help  with giving the alternative for the commands for native SQl.
           Immediate

    In a Native SQL statement, data is passed between the ABAP program and the database using host variables. A host variable is an ABAP variable that is identified as such in the Native SQL statement by a preceding colon (:).
    Example
    Displaying an extract from the table AVERI_CLNT:
    DATA: F1(3), F2(3), F3(3).
    F3 = ' 1 '.
    EXEC SQL.
      SELECT CLIENT, ARG1 INTO :F1, :F2 FROM AVERI_CLNT
             WHERE ARG2 = :F3
    ENDEXEC.
    WRITE: / F1, F2.
    To simplify the form of the INTO lists in the SELECT statement, you can, as in Open SQL, specify a single structure as the target area.
    Example
    Displaying an Extract from the Table AVERI_CLNT:
    DATA: BEGIN OF WA,
            CLIENT(3), ARG1(3), ARG2(3),
          END OF WA.
    DATA  F3(3).
    F3 = ' 1 '.
    EXEC SQL.
      SELECT CLIENT, ARG1 INTO :WA FROM AVERI_CLNT
             WHERE ARG2 = :F3
    ENDEXEC.
    WRITE: / WA-CLIENT, WA-ARG1.
    Native SQL supports the directly-executable commands of your underlying database system. There are other special commands that you can use after the EXEC SQL statement for cursor handling, stored procedures (procedures stored in the database), and connections to other databases.
    Cursor Processing

  • Alternative for Open , Fetch cursor command

    Hi Experts,
    I am populating data from glpca table using Open Cursor statement with hold as shown below:
      OPEN CURSOR WITH HOLD cur1 FOR
    Select data from the purchase order header table.
      SELECT runit rprctr sprctr                               
             racct rfarea hsl msl kostl aufnr ps_psp_pnr
              FROM glpca
             WHERE docnr  IN s_docnr
               AND rbukrs =  p_rbukrs
               AND rprctr IN s_rprctr
               AND sprctr IN s_sprctr                          
               AND rfarea IN s_rfarea
               AND budat  IN s_budat
               AND kostl  IN s_kostl
               AND aufnr  IN s_aufnr.
    Now when i try to Fetch the cursor even restricting it with PACKAGE SIZE command ( value 998), my program get struck over here for 20-30 mins or more den that & session gets out for the user at client end coz of large data. I checked the value of cursor , it was around 670-700 approx.
    The query is shown below:
    DO.
    fetch rows from cursor depending on package size
        FETCH NEXT CURSOR cur1 INTO TABLE t_glpca
           PACKAGE SIZE p_size.
        IF sy-subrc NE 0.
          CLOSE CURSOR cur1.
          EXIT.
        ENDIF.
    The program get struck at above fetch next cursor command.
    Kindly suggest me some other way to handle or populate the data or any alternative for Cursor command.
    Thanks for your consideration.
    Regards
    Mudit

    Siegfried Boes  wrote:
    > there is a reason why OPEN CURSOR WITH HOLD is usually used.
    >
    > Siegfried
    Sorry for hijacking this thread and asking here. I am here in the forums on daily basis just reading and learning.
    This got me curious and I googled and read SAP tutorial about cursors:
    http://help.sap.com/saphelp_nw70/helpdata/en/fc/eb3b23358411d1829f0000e829fbfe/content.htm
    also read an answer from Thomas after searching forum:
    The combination with OPEN CURSOR ... WITH HOLD allows package processing of tasks that require a database commit inside the loop. A normal SELECT loop without holding the cursor would be interrupted by a commit -> short dump.
    MY TWO QUESTIONs
    1. In SAP tutorial it states that
    "WITH HOLD addition in the OPEN CURSOR statement allows you to prevent a cursor from being closed when a database commit occurs in Native SQL"
    If I don't specify any commit statements in my abap code and user cursor without the addition with hold.
    Can a commit be executed anyway and I get an unwanted commit and thus an unwanted close of my cursor?
    Or do they mean that "if you specify commit in native sql"?
    2. Thomas says a normal select loop without the cursor holding would be interrupted. Interrupted by who? Again, it seems like there is an "unwanted" commit here? Again, can there be any commits and unwanted interrupts if I dont specify it somewhere in my code?
    regards
    Baran
    Edited by: Baran Sölen on Feb 25, 2009 11:39 AM

  • Alternative for STRING_CENTER function module

    Hi,
    Can any one give me the Alternative for STRING_CENTER function module.
    it is there in 4.7 when i am using the same  in ecc 6.0 it is giving as absolute statement .
    Please give the solution for this.

    Hi,
      C147_STRING_SPLIT_AT_POSITION
    STRING_SPLIT
    STRING_SPLIT_AT_POSITION
    check this sample code
    DATA: text(10) TYPE c VALUE '0123456789',
    text1(6) TYPE c,
    text2(6) TYPE c.
    PARAMETERS position TYPE i.
    CALL FUNCTION 'STRING_SPLIT_AT_POSITION'
    EXPORTING
    string = text
    pos = position
    IMPORTING
    string1 = text1
    string2 = text2
    EXCEPTIONS
    string1_too_small = 1
    string2_too_small = 2
    pos_not_valid = 3
    OTHERS = 4.
    Regards

  • Alternative for select count('x') or count(*)

    Hi Gurus,
    I need to use select count(*) multiple times in a SP before and after deletion of rows from multiple tables. As this is an expensive method, do we have some alternative for Count(*), like selecting something from a system table or view instead?

    Hi
    You can know the number of rows affected by the DELETE statement in PL/SQL (if you are using PL/SQL) using sql%rowcount. So you don't really need to count the rows again after the delete took place...
    If you are deleting the same rows as selected by the second count condition (older than a particular date), in fact you only need to count rows once for each table.
    Luis

  • VO Auto Refresh error - Unsupported query for Continuous Query Notification

    I created a read only view object and set the auto refresh property to true. According to the documentation that was all that need to be done in order to enable auto-refresh for a view instance of a shared application module (which I am using to retrieve reference data). When I run a test, I get the following error:
    [371] DCBindingContainer.reportException :oracle.jbo.SQLStmtException
    [372] oracle.jbo.SQLStmtException: JBO-27122: SQL error during statement preparation. Statement: SELECT
    CCIPO_REF_SENSITIVITY_LEVEL.SENSITIVITY_ID SENSITIVITY_ID,
    CCIPO_REF_SENSITIVITY_LEVEL.SENSITIVITY_DESC SENSITIVITY_DESC
    FROM
    CCIPO_REF_SENSITIVITY_LEVEL
         at oracle.jbo.server.BaseSQLBuilderImpl.processException(BaseSQLBuilderImpl.java:3721)
         at oracle.jbo.server.OracleSQLBuilderImpl.processException(OracleSQLBuilderImpl.java:4722)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1386)
         at oracle.jbo.server.QueryCollection.executeQuery(QueryCollection.java:928)
         at oracle.jbo.server.ViewObjectImpl.executeQueryForCollection(ViewObjectImpl.java:6968)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1183)
         at oracle.jbo.server.ViewRowSetImpl.execute(ViewRowSetImpl.java:1037)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2774)
         at oracle.jbo.server.ViewRowSetIteratorImpl.ensureRefreshed(ViewRowSetIteratorImpl.java:2751)
         at oracle.jbo.server.ViewRowSetIteratorImpl.first(ViewRowSetIteratorImpl.java:1580)
         at oracle.jbo.server.ViewRowSetImpl.first(ViewRowSetImpl.java:3500)
         at oracle.jbo.server.ViewObjectImpl.first(ViewObjectImpl.java:9943)
         at oracle.adf.model.binding.DCIteratorBinding.setupRSIstate(DCIteratorBinding.java:779)
         at oracle.adf.model.binding.DCIteratorBinding.refreshControl(DCIteratorBinding.java:679)
         at oracle.jbo.uicli.binding.JUIteratorBinding.refreshControl(JUIteratorBinding.java:474)
         at oracle.adf.model.binding.DCIteratorBinding.refresh(DCIteratorBinding.java:4437)
         at oracle.adf.model.binding.DCExecutableBinding.refreshIfNeeded(DCExecutableBinding.java:347)
         at oracle.adf.model.binding.DCIteratorBinding.getRowSetIterator(DCIteratorBinding.java:1605)
         at oracle.jbo.jbotester.panel.BindingPanel.setBindingContext(BindingPanel.java:116)
         at oracle.jbo.jbotester.panel.BindingPanel.<init>(BindingPanel.java:88)
         at oracle.jbo.jbotester.panel.BindingPanel.<init>(BindingPanel.java:71)
         at oracle.jbo.jbotester.form.BindingForm.createMasterPanel(BindingForm.java:63)
         at oracle.jbo.jbotester.form.BindingForm.init(BindingForm.java:98)
         at oracle.jbo.jbotester.form.JTForm.<init>(JTForm.java:72)
         at oracle.jbo.jbotester.form.BindingForm.<init>(BindingForm.java:50)
         at oracle.jbo.jbotester.form.FormType$1.createForm(FormType.java:63)
         at oracle.jbo.jbotester.form.FormType.createForm(FormType.java:199)
         at oracle.jbo.jbotester.form.FormType.createTab(FormType.java:270)
         at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:248)
         at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:207)
         at oracle.jbo.jbotester.form.FormType.showForm(FormType.java:203)
         at oracle.jbo.jbotester.tree.ObjTreeNode.showForm(ObjTreeNode.java:140)
         at oracle.jbo.jbotester.tree.ObjTreeNode.showForm(ObjTreeNode.java:123)
         at oracle.jbo.jbotester.tree.Tree.processTreeMouseClicked(Tree.java:728)
         at oracle.jbo.jbotester.tree.Tree.access$100(Tree.java:96)
         at oracle.jbo.jbotester.tree.Tree$TreeMouseListener.mouseClicked(Tree.java:141)
         at java.awt.AWTEventMulticaster.mouseClicked(AWTEventMulticaster.java:253)
         at java.awt.Component.processMouseEvent(Component.java:6292)
         at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
         at java.awt.Component.processEvent(Component.java:6054)
         at java.awt.Container.processEvent(Container.java:2041)
         at java.awt.Component.dispatchEventImpl(Component.java:4652)
         at java.awt.Container.dispatchEventImpl(Container.java:2099)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
         at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4247)
         at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
         at java.awt.Container.dispatchEventImpl(Container.java:2085)
         at java.awt.Window.dispatchEventImpl(Window.java:2478)
         at java.awt.Component.dispatchEvent(Component.java:4482)
         at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
         at java.awt.EventQueue.access$000(EventQueue.java:85)
         at java.awt.EventQueue$1.run(EventQueue.java:603)
         at java.awt.EventQueue$1.run(EventQueue.java:601)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
         at java.awt.EventQueue$2.run(EventQueue.java:617)
         at java.awt.EventQueue$2.run(EventQueue.java:615)
         at java.security.AccessController.doPrivileged(Native Method)
         at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
         at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
         at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
         at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
         at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
         at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
         at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
    Caused by: java.sql.SQLException: ORA-29983: Unsupported query for Continuous Query Notification
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:457)
         at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:405)
         at oracle.jdbc.driver.T4C8Oall.processError(T4C8Oall.java:889)
         at oracle.jdbc.driver.T4CTTIfun.receive(T4CTTIfun.java:476)
         at oracle.jdbc.driver.T4CTTIfun.doRPC(T4CTTIfun.java:204)
         at oracle.jdbc.driver.T4C8Oall.doOALL(T4C8Oall.java:540)
         at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:217)
         at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:924)
         at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1261)
         at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1419)
         at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3752)
         at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3806)
         at oracle.jdbc.driver.OraclePreparedStatementWrapper.executeQuery(OraclePreparedStatementWrapper.java:1667)
         at oracle.jbo.server.QueryCollection.buildResultSet(QueryCollection.java:1262)
         ... 65 more
    The query is selecting two varchar2 columns and according to the criteria in the documentation is valid to be registered for QRCN in Guaranteed Mode. Any thoughts?
    JDev version: JDeveloper 11.1.1.5.0.

    Well, could be a DB bug. I seem to remember that there was a bug in that area in an older version of 11g.
    Or you could use jnettrace to trace the calls made by the driver to the DB. That should show you what's going wrong.
    Sascha

  • Need alternatives for my code...

    Hello experts,
    I am currently modifying a code where it seems it doesnt pass the data to be fetched into the variables v_usnam and v_ppnam. I checked BSAK table and there is a data on it. Anyway, when I tries to remove the AT NEW statement, it worked. But I need an alternative for AT NEW. Below is the code guys. Thanks you so much...
    AT NEW belnr.
          CLEAR: v_usnam, v_ppnam.
          SELECT SINGLE usnam ppnam FROM bkpf
            INTO (v_usnam, v_ppnam)
            WHERE bukrs = p_bukrs
              AND belnr = it_bsak-belnr
              AND gjahr = it_bsak-gjahr.
        ENDAT.
        it_alv-ppnam = v_ppnam.
        it_alv-usnam = v_usnam.

    If you don't want to declare an entire addtional structure as I told earlier, you can try this too.
    DATA: l_index LIKE sy-tabix.
    LOOP AT it_bsak.
      l_index = sy-tabix.
      AT NEW belnr.
        READ TABLE it_bsak INDEX l_index.
        CLEAR: v_usnam, v_ppnam.
        SELECT SINGLE usnam ppnam FROM bkpf
                                  INTO (v_usnam, v_ppnam)
                                 WHERE bukrs = p_bukrs
                                   AND belnr = it_bsak-belnr
                                   AND gjahr = it_bsak-gjahr.
      ENDAT.
      it_alv-ppnam = v_ppnam.
      it_alv-usnam = v_usnam.
    ENDLOOP.

  • Continue Statement in export map

    Hey all,
      I need a definative answer on why the following is not working:
    ip prefix-list Management seq 5 192.168.0.0/16 le 32
    route-map Exp-Map permit 5
    description Management Nets to Management Provider 1
    match ip address prefix-list Management
    set extcommunity rt  1:1 additive
    continue
    route-map Exp-Map permit 10
    description Management Nets to Management Provider 2
    match ip address prefix-list Management
    set extcommunity rt  2:2 additive
    continue
    ip vrf Customer
    rd 3:3
    export-map Exp-Map
    route-target both 3:3
    PE1#show ip bgp vpnv4 all  192.168.1.1/32
    BGP routing table entry for 3:3:192.168.1.1/32, version 22
    Paths: (1 available, best #1, no table)
    Flag: 0xA20
      Advertised to update-groups:
         1        
      64774, (Received from a RR-client)
        10.98.98.98 (metric 30) from 10.98.98.98 (10.98.98.98)
          Origin IGP, metric 0, localpref 400, valid, internal, best
          Extended Community: RT:1:1 RT:3:3
          mpls labels in/out nolabel/33
    As you can see, it is though the continue statement is not working.
    I want to be able to use varying communities to allocate an RT.
    If the continue statement does not work, then I would need to allocate a community based on every permutation possible, which is allot.
    Cheers
    Adam

    Hi Adam,
    The "continue" keyword in a route-map forces the router to look at the next route-map sequence instead of stopping in the event of a match, as per normal route-map operation.
    In your example, you are making a match in sequence 10, the continue keyord will kick in and sequence 20 will be looked at, however, since you are matching on the same sequence of that prefix-list, the extra extcommunity will not be applied that you have requested in sequence 20.
    To get around this and acheive what you are trying to do, you can add both RT's to your route-map in sequence 10:
    Configured on PE1:
    ip prefix-list TEST_LOOPS seq 5 permit 25.25.25.25/32
    route-map EXP_MAP permit 10
    match ip address prefix-list TEST_LOOPS
    set extcommunity rt  25:25 35:35 additive
    ip vrf CUST_A
    rd 1010:1
    export map EXP_MAP
    route-target export 1010:79
    route-target import 2020:79
    Output from PE2:
    AS2020_PE#sh ip bgp vpnv4 all 25.25.25.25
    BGP routing table entry for 1010:1:25.25.25.25/32, version 30
    Paths: (1 available, best #1, no table)
      Not advertised to any peer
      1010
        6.6.6.6 (metric 20) from 6.6.6.6 (6.6.6.6)
          Origin incomplete, metric 0, localpref 100, valid, internal, best
          Community: 250:1
          Extended Community: RT:25:25 RT:35:35 RT:1010:79
            OSPF DOMAIN ID:0x0005:0x000000640200 OSPF RT:0.0.0.0:5:1
            OSPF ROUTER ID:1.1.1.1:1281,
          mpls labels in/out nolabel/19
    As you can see, the router assigns the two RTs to that 1 prefix you are matching on.
    If you are going to be adding more sequences to that same prefix-list, then yes you the "continue" keywork would work fine as the next route-map sequence would be matching on the next prefix-list sequence where it hits a match:
    Configured on PE1:
    ip prefix-list TEST_LOOPS seq 5 permit 25.25.25.25/32
    ip prefix-list TEST_LOOPS seq 10 permit 35.35.35.35/32     
    route-map EXP_MAP permit 10
    match ip address prefix-list TEST_LOOPS
    set extcommunity rt  25:25 additive
    continue
    route-map EXP_MAP permit 20
    match ip address prefix-list TEST_LOOPS
    set extcommunity rt  35:35 additive
      continue
    Output from PE2:
    AS2020_PE#sh ip bgp vpnv4 all 25.25.25.25
    BGP routing table entry for 1010:1:25.25.25.25/32, version 22
    Paths: (1 available, best #1, no table)
      Not advertised to any peer
      1010
        6.6.6.6 (metric 20) from 6.6.6.6 (6.6.6.6)
          Origin incomplete, metric 0, localpref 100, valid, internal, best
          Community: 250:1
          Extended Community: RT:25:25 RT:1010:79
            OSPF DOMAIN ID:0x0005:0x000000640200 OSPF RT:0.0.0.0:5:1
            OSPF ROUTER ID:1.1.1.1:1281,
          mpls labels in/out nolabel/19
    AS2020_PE#
    AS2020_PE#sh ip bgp vpnv4 all 35.35.35.35
    BGP routing table entry for 1010:1:35.35.35.35/32, version 24
    Paths: (1 available, best #1, no table)
      Not advertised to any peer
      1010
        6.6.6.6 (metric 20) from 6.6.6.6 (6.6.6.6)
          Origin incomplete, metric 0, localpref 100, valid, internal, best
          Community: 250:1
          Extended Community: RT:35:35 RT:1010:79
            OSPF DOMAIN ID:0x0005:0x000000640200 OSPF RT:0.0.0.0:5:1
            OSPF ROUTER ID:1.1.1.1:1281,
          mpls labels in/out nolabel/18
    AS2020_PE#
    HTH
    Joe.

Maybe you are looking for

  • Increase in spam?

    Has anyone else had an increase in spam since getting their ipod Touch? Before I got my ipod touch I was getting almost no spam. Since I got it, registered with Apple and downloaded apps for it, I get up to 200 pieces of junk mail a day - to my alter

  • Dataguard 'max protection' mode failed

    Testing Dataguard in MAX PROTECTION mode on Oracle 10.2.0.4 on Solaris x86_64. Test 1: Primary remained up allowing transactions to continue inspite of the fact that the server running the standby database was not reachable. Waited for over 10 minute

  • How do I change the destination that my downloads go to?

    How do i make it so that wen i download something it doesnt go to my downloads folder? Or if i cant how do i empty the downloads folder in my finder cos if i delete things manually it doenst affect anything and it just builds up in that folder?

  • FLV Click Sound on Complete CS3

    Has anyone ever encountered a clicking sound once an FLV is finished playing using NetConnection AS? If so, how did you fix this? My FLV does not have a audio channel but their is an imported MP3 with narration and bkg music. I have four FLVs in tota

  • HT1476 how do you turn off apps in IOS7 on an Iphone 5s?

    anyone?