And another issue - using : column like :item in a select in a cursor

i use column like :item frequently but now i'm thinking that it slows down the select making it run much more slowly . any suggestions or documentation I might use ? Do you think that it would be better to use column = :item or not to use :item at all ? Thanks a lot !

Like in Select is used as
WHERE col1 LIKE 'aaa%'
and disable the index on col1 (Sure exists Index-Function)
as it's better writing
WHERE account_name LIKE 'CAPITAL%'in comparison to
WHERE SUBSTR(account_name,1,7) = 'CAPITAL'Sure is better if you can use col1 = :item but I don't know your goal.
Regards

Similar Messages

  • How to create process chains,and how to use process like and or xor

    Hi,
    How to create process chains,and how to use process like and or xor.
    can any one please give me a example in each.
    Thanks,
    cheta.

    Hi Cheta,
    Here is step by step procedure to create process chains
    Process chain is nothing but executing a process ..(or) loading the data any process we can do in background.. that means.. automatically we can execute our process based on Time or any event..
    Creating Process Chains
    Prerequisites
    If you want to include a load process in the process chain, you need to have already created an InfoPackage.
    You cannot load flat file data from a client workstation in the background. For this reason, you have stored your data on an application server.
    Creating Process Chains
    You have the option of creating a process chain in the process chain maintenance screen directly or by using a maintenance dialog for a process:
    Creating a Process Chain Directly in the Process Chain Maintenance Screen
    You are in the BW Administrator Workbench.
    1. Click on the Process Chain Maintenance icon in the AWB toolbar.
    The Process Chain Selection dialog window appears.
    2. Choose Create.
    3. Enter the technical name and a description of the chain, and confirm your entry.
    The Add Start Process dialog window appears.
    4. Create a variant for a start process.
    1. a. On the Maintain Start Process screen, choose whether you want to schedule the chain directly or whether you want to start it using a metachain.
    2. b. If you choose to schedule the chain directly, enter the start date value for the chain under Change Selections and save your entries.
    The Maintain Start Process screen appears again.
    3. c. Save your entries, return to the previous screen and confirm your entries in the Add Start Process dialog window.
    You are taken to the Plan View of the process chain maintenance screen.
    In the left-hand area of the screen, a navigation area is displayed. In the right-hand area of the screen, the process chain is displayed.
    5. Use the drag-and-drop function to add the relevant processes into your process chain.
    You use the Process Types function to select the processes. This sorts the process types according to different categories. You can also call up InfoPackages and processes for the data target from the separate InfoSources and Data Targets navigation trees.
    Hope this helps
    Regards
    Karthik

  • I just want to keep CSx updated and continue to use it like I have been.

    I'm an individual.. One computer!, no team or bank of computers... Just me..
    I don't need a cloud! I don't want a cloud!
    I just want to keep CSx updated. and continue to use it like I have been.
    Cost me about $600 every other year to keep this updated.
    I can afford $600/every other year.
    What do I need to do to keep using The Design Premium CSx ??

    Short answer:   You are [or eventually will be] outdated and out of luck.
    I've been a master collection user since it's been availaboe, but I've been struggling with this and other questions, and have come to the conclusion that I need to be proactive in looking for alternatives, so when the day comes that CS6 stops working on new hardware, I'll have options.
    My biggest concern is that with the current CC model, if a user decides to stop, or can't afford, their subscription fee, thirty days later they loose access to ALL THEIR CREATIVE WORK-- without monthly activation,  all the CC software STOPS WORKING!
    Moreover, after everyone is on the CC hook, what is to stop Adobe from charging $100 per month, or $300....  As a huge company driven by investors and quarterly profits they will charge whatever the market will bear.  Many will be held hostage to the subscription fee, no matter how high it goes, because they won't be able to afford to loose access their creative work.  So... going forward the market will probably bear a lot more than $49 per month.
    Then, if this wasn't enough risk, there is also the dependence on the web and Adobe's IT infrastructure to keep the software "activated".  I know it is probably extremely unlikely, but what if they suffer a cyber-attack like many other large and theoretically "secure" companies?  What kind of havoc could an attacker wreak with the creative community if suddenly all our software stopped working?  You may laugh, but I just read an article today on cNet Security about how Twitter's domain registration was hacked by SEA-- at least for a brief time, SEA was the admin for the Twitter domain records.
    Since hearing Adobe's plans, I realised that over the years, with the exception of 3D, I've gravitated to Adobe for all my creative work-- they really do make great software.  Even though this represents a huge investment in time and "learning curve", I've started to seriously evaluate alternatives.  When the day comes that CS6 is no longer working on new hardware, I hopefully will already be using other brands.
    My current thinking:  If Apple makes FCP 11 a professional tool again, that would be my first choice for video.  If they don't, I've been taking a hard look at Sony Vegas-- or there is always Avid.  For compositing, while I really know and love After Effects, I have a copy of Eyeon's Digital Fusion that came free with Lightwave3D that I've never even installed.  It is now out of the closet and sitting on my desk, waiting until I have a few minutes to install it to give it a try.  For photo editing and vector graphics, I've been looking at the Corel suite-- I haven't used Corel in years, as it always seemed "clunky" compared to Illustrator,  but it is a viable alternative, and used and loved by many.  Photoshop is an industry standard and I've used it for fifteen years, but I also have both Gimp and Cinepaint on Mac, and use them frequently already.  They aren't as capable or as slick as Photoshop, but they do everything I need, so photo editing is covered.  As far as web tools, Dreamweaver is nice, but web development can be done with any editor.  Flash (and all browser plugin technology) is being supplanted by HTML5 and Javascript, so loosing Flash, going forward, is no great loss.  I haven't used it in over a year anyway, but f I really need 2D animation there is always (gasp) Silverlight, and maybe also other tools that I'm currently unaware of.  InDesign isn't a concern for me as I almost never do print.
    So bottom line for me:   If Adobe works out a compromise where the software keeps working even if the subscription lapses, then it would be a different ballgame for me. I'd even be willing to agree to pay two or three year contract before the perpetual license kicked in.  However, as it stands, the CC subscription (and potentially vanishing software) represents a level of trust in Adobe that I'm not prepared to give.

  • Fill column bound item with a select?

    Hi,
    I can't figure out how to do this, although I guess it's simple:
    I have a column bound item (source=db column), the item is hidden, but I want to fill it with a default value when a record is inserted. The default value must come from a select.
    I have tried it with a default value type plsql body and the "select something into :P11_Item_name from table" but that doesn't insert a value.
    Any idea how to do this, except from creating a trigger on the table itself?
    Thanks
    Guido

    Hi,
    Well this is what I want to do:
    I have an insert screen where a user can insert records.
    Among other fields that the user needs to fill in, there is one field that needs to be filled with a value that comes from another table.
    So this is the situation:
    <user value>
    <user value>
    <select value from table>
    And this altohether needs to be inserted as a new record into a table.
    I think I can manage it by uncoupling the items from the database columns, and insert a record with a on submit computation.
    But I have the idea that it can be done easier.
    I guess it's often needed that a user inserts new records where one field comes from a select from another table?
    In my example a user logs a request. This is inserted into a request table. But among the field the user enters for the request, a contact person has to be looked up (depending on the user's login) and stored into the request table as a column.
    Maybe it's an idea to create a dummy item with it's source an sql query, and copy that item into the item with it's source <database column>??
    I hope you get it, it's hard to explain.
    Regards Guido

  • Issue using Get-Child-Item

    Have a function that will scan (grep) files in a folder with a certain extension.  For some reason, Get-Child-Item always returns empty / 0 files on my folder even though you can look at the folder and see files of the specified extension (*.config).
     Suspect either I am doing something wrong or permissions are somehow getting in the way.  How do you properly use Get-ChildItem
    in this context?
    function scan-Files
    param(
    [parameter(mandatory=$True)]
    [string]$folder,
    [parameter(mandatory=$True)]
    [string]$filePattern,
    [parameter(mandatory=$False)]
    [bool]$recurse = $False
    Write-Host "Folder = $folder"
    Write-Host "FilePattern = $filePattern"
    $files = Get-ChildItem -Include $filePattern -Path $folder
    #always empty for some reason
    if ($files)
    Write-Host "File count = $($files.Length)"
    }...#Invoke our function$folder = "C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer\"
    $filePattern = "*.config"         
    #scan-Files -folder $folder -filePattern $filePattern -recurse:$true
    scan-Files -folder $folder -filePattern $filePattern

    The Gods of the computer demand it.  Without it you are only enumerating a folder item.  With it you are enumerating the contents of the folder.  Include only works on files that have been selected.
    Example:
    dir 'C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer\*.txt' -include *.config
    dir 'C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer\*.c*' -include *.config
    dir 'C:\Program Files\Microsoft SQL Server\MSRS12.MSSQLSERVER\Reporting Services\ReportServer' -filter *.config
    Try all to see how they work.
    \_(ツ)_/

  • Wrong image size with a Nikon D70 and another issue

    Hi everyone!
    I'm a photography student and I switched a few weeks ago. I've been using Adobe Lightroom under Windows for months, now I'm trying Aperture.
    I own a Nikon D70, which is a 6 Mpix camera. The resolution of the pictures should be 3008x2000 pixels. With Aperture they are 3024x1998... It's *neither the good ratio neither the native resolution* of the camera.
    What should I do?
    Also, although I set up my camera in MTP mode, it *won't work in tethering mode*. It came back from the Nikon service center with a Nikon D70s firmware, but it should work as well, right?
    Thank you for your help!

    Strange! I had tried with the camera in PTP mode a few days ago, it wasn't working. Trying again now and it works! I must have done something wrong. Thank you anyway!
    Then I tried again the Search tool, I didn't noticed the date range restriction on the first time, now I can see a few threads about that "problem". Although I'm really not satisfied with this "issue", it seems to be this way by design and not a bug.
    Thank you everyone for your help!
    (may I delete this thread since it has no interest for other people?)

  • Overprint Preview question and another issue...

    Hi...
    CS4, Win XP.
    Overprint Preview question:
    The other day i sent a file for printing (poster) in PDF and CS2 formats. For some reason, the printer converted the file to a .tif and then printed. Parts dropped out... Both the PDF and CS2 files looked fine.Description follows:
    1/ Background black
    2/ Design element over the black (blue lines to form a wave).
    3/ Logo in red and white. Plus a line of text in red. And other text in white.
    The white of the logo vanished. The red line of text kind of vanished... printed very faintly and only (i think in parts). Printer tried to do a patch job of printing the line separately and pasting... anyway... to cut a long story short, he wanted the final output in .tif. OK...
    So, i converted to tif and sure enough... those parts vanished... did a search here and found the solution - view file in Overprint Preview and then in Attributes, turn off the Overprint Fill... so all well...
    So, the question is, why does this happen? And, how, do i know in advance that x or y is likely to cause a problem? I have noticed in Bridge that sometimes, parts of a logo or a line of text does not show... but looks fine in AI or Acrobat... now realise the cause, but not the reason.
    The other issue...
    Same black background(s)... placed Photoshop file/s with a transparent background... Prints fine at the printers (various machines and media) ... But on the laserprinter an HP Color Laser Jet CP1510 series, there's a dark patch around the image (the actual file area).
    Again, any ideas?
    Cheers...
    S

    PrepressPro1 wrote:
    <snipped>... so if your looking for this forum to play detective and tell you who in your workflow set the elements to overprint, I don't think this can be done. I don't think I have ever seen Illustrator set any elements to overprint all by its self. <snipped>
    Hi PrepressPro...
    Many thanks for your earlier inputs, but not quite sure where you got the idea that i want someone or anyone to play detective... i've understood the Overprint problem... and moved on. If anything, maybe i was just musing and wondering if any particular action turns on "Overprint Fill"...
    Or maybe, i was referring to the second question which has not been resolved yet... Quoting it below for easy reference:
    ++++
    The other issue...
    Same black background(s)... placed  Photoshop file/s with a transparent background... Prints fine at the  printers (various machines and media) ... But on the laserprinter an HP  Color Laser Jet CP1510 series, there's a dark patch around the image  (the actual file area).
    ++++
    To elaborate, the pix above are product shots which have been cut out and placed on a transparent background... The PS file is then placed in AI CS4 with the object option selected to maintain transparency. The transparent area is printing darker on the printer above. But is fine when sent to commerciqal printers...
    Attached is a scan of the problem...

  • IPad Mini and Exchange Issues Using Google 2-step Verification

    I cannot get my gmail email, contacts, or calendar to sync with my iPad Mini, and nothing seems to work. I've set it up with Microsoft exchange using all the proper settings of m.google.com and the app specific password from my account, but to no avail. I've tried regenerating various app specific passwords, nothing worked. I've tried updating to the latest software, but still didn't work. I've even tried wiping my iPad to restore its factory settings, but no luck at all. Any other ideas out there?

    Set up a CardDAV account:
    http://www.mactrast.com/2012/12/how-to-setup-google-email-contacts-calendar/

  • Siri will not tell me the time, and another issues

    I tried to ask siri a number of questions since I received my iphone 5 on Saturday
    "what time is it"
    "call <contact name>"
    "what music is playing"
    all have given me similar variations on "i'm having trouble can you please try again"
    I switched from my iphone 4 and I was able to do these very basic tasks.
    Does apple have any feedback on when they are going to fix this issue with Siri not able to respond to basic tasks?

    i'm in america and its not working for american english. I think they are having trouble routing united states english but not the other english variations.

  • Treo not showing KNOWN people when they call. And another issue.....

    When people/numbers that are IN my phonebook call me, my phone just shows the number and it says Unknown caller...   After the call is complete...it doesn't ask me to add the unknown number(even though that option is checked in the phone preferences)     Whats going on with my phone?
    Thank you
    Post relates to: Treo 755p (Sprint)

    Hello!
    Appears that a preference settings file for the phone app is not working. Using Sprint right?  Try to soft reset the phone first and if that is a nogo, try a hard reset and resync the phone to get the data back.  Be sure to hotsync your phone first to back it up for the hard reset does erase ALL data off the phone.
    Post relates to: Treo 650 (Unlocked GSM)
    Message Edited by thetreoguy on 08-20-2008 01:28 PM

  • Nm-applet and another issue here.

    #1: Where and how can I get nm-applet(the applet that shows up next to the noficiation area?
    #1: I am currently connected to the LAN with wired. I have ipw2200 and installed the firmware. Does WPA come included? How do I get it to work?
    I am a ubuntu convert. Please help me solve my issues. I have read the read beginner's wiki.
    Last edited by Taylor (2007-07-09 17:13:14)

    Network manager will (hopefully) solve all of your issues:
    Step 1 (it seems you've already done this, yes?):
    http://wiki.archlinux.org/index.php/Wir … nd_ipw2200
    Step 2 (to get nm-applet):
    http://wiki.archlinux.org/index.php/Networkmanager
    Last edited by testube_babies (2007-07-10 03:09:31)

  • Btsport and Chromecast issues using Android 4.0.4 ...

    Having waited patiently for bt to firstly accept and then finall solve the aspect ratio problem I now find that the BTsport app stops working every time I try and 'cast' with Chrome cast. I have tried BBC iplayer with Chromecast and of course it works perfectly. Isn't it time that BT sacked its software team and subcontracted the work to the BBC?

    Hi Richard-a
    I'm sorry to hear about the problems you're having with the BT sport app & Chromecast. Can you check out this link to make sure it's set up correctly & let me know if you need any further help with this?
    Thanks
    Neil
    BTCare Community Mod
    If we have asked you to email us with your details, please make sure you are logged in to the forum, otherwise you will not be able to see our ‘Contact Us’ link within our profiles.
    We are sorry but we are unable to deal with service/account queries via the private message(PM) function so please don't PM your account info, we need to deal with this via our email account :-)
    If someone answers your question correctly please let other members know by clicking on ’Mark as Accepted Solution’.

  • Issue using a parameter twice in record selection

    Setup:
    1) Crystal Report: (Client, Start Date, End Date) parameters linked to the Sub reports
    2) Four sub-reports: (All open issues), (Oldest issue), (Average age of open issues), (Average age of closed issues)
    I need to report on issues based on Customer types of "Company" and "Customer."  All of the records I'm reporting on are in the same table (Subset), but the "Client" parameter I'm using exists in two different columns depending on the Customer type.
    ie. My paramter for "Client" is "ABC"
    "ABC" is found in Subset.Sitename for (Company records)
    "ABC" is found in Subset.Companyname for (Customer Records)
    My record selection formula is:
    {Subset.Companyname}={?Pm-?Client} or {Subset.Sitename}={?Pm-?Client}
    Showing the SQL query shows both values filled in correctly, and if I paste the query in SQL, I get the correct result set.  But if I use any kind of "Running total", "Average", "Maximum", etc... functions, Crystal doesn't include my Company records in its evaluations.  It only evaluates Customer records.
    Does anyone have a work-around for this?  Is this is a limitation?

    All Open Issues -- My work-around was:
    1) Running total (count) of open Customer issues
    2) Running total (count) of open Company issues
    3) Formula (sum) function of 1 and 2
    Oldest Issue -- No workaround yet; Parameters listed above are in the Record selection
    1) Datediff between Received date and Current date
    2) Maximum of the Datediff results
    Average Open - No workaround yet; Parameters listed above are in the Record selection
    1) Datediff between Received and Current Date
    2) Average of Datediff results
    Average Closed - No workaround yet; Parameters listed above are in the Record selection
    1) Datediff between Received Date and Closed Date
    2) Average of Datediff results

  • Issue with Column Alias Name in a SELECT statement

    I am trying to run sql query(IN ORACLE) to get the data from a remote database(TERADATA). The query is
    select (table1.exp_date - table1.setup_date) AS day_diff,
    CASE
    WHEN day_diff = '0'
    THEN 'YES'
    WHEN day_diff > '0'
    THEN 'NO'
    ELSE 'Unknown'
    END AS alias_type
    from table1@remote_database_name;
    The query is running fine when I run it in TERADATA environment directly without the remote database link since it is not necessary. If I run the above query in Oracle I am getting an error ORA-00904: invalid identifier.(this error is pointing to day_diff alias name)
    Can anyone help me with this?
    Thanks

    The Column alias can be used in the ORDER BY clause, but not other clauses,like WHERE clause, in the query.
    Use..
    select (table1.exp_date - table1.setup_date) AS day_diff,
    CASE
    WHEN (table1.exp_date - table1.setup_date) = '0'
    THEN 'YES'
    WHEN (table1.exp_date - table1.setup_date) > '0'
    THEN 'NO'
    ELSE 'Unknown'
    END AS alias_type                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

  • How to use column name as variable in select statement

    hi,
    i want to make a sql query where in select statement using variable as a column name. but its not working plz guide me how can i do this.
    select :m1 from table1;
    regards

    Hi,
    Is this what you want..
    SQL> select &m1 from dept;
    Enter value for m1: deptno
    old   1: select &m1 from dept
    new   1: select deptno from dept
        DEPTNO
            10
            20
            30
            40
    SQL> select &m1 from dept;
    Enter value for m1: dname
    old   1: select &m1 from dept
    new   1: select dname from dept
    DNAME
    ACCOUNTING
    RESEARCH
    SALES
    OPERATIONS
    SQL> select &&m1 from dept;
    Enter value for m1: loc
    old   1: select &&m1 from dept
    new   1: select loc from dept
    LOC
    NEW YORK
    DALLAS
    CHICAGO
    BOSTON
    SQL> select &&m1 from dept;
    old   1: select &&m1 from dept
    new   1: select loc from dept
    LOC
    NEW YORK
    DALLAS
    CHICAGO
    BOSTONIf you use single '&' then each time you fire the query, It will ask for the new value..
    But if you will use double '&&' the value of m1 will be persistent across the session..
    Twinkle

Maybe you are looking for

  • Associative  array binding - poor performance

    Dear All i have very very low performence when i am inserting a binary array using associative array bind. i mean when i insert huge jagged binary array. the jagged array has BinarryArray[0][0]........BinarryArray[0][8000] BinarryArray[1][0]........B

  • Wd runtime error

    Hi Experts, I am new to webdynpro , i am using ECC6 IN MY PERSONAL LAPTOP i dont have any domain it is WORKGROUP  , when i execute wd application  the error is Pls anybody help me how to solve my problem pls give me clear steps. Error when processing

  • Failed to create a daily note

    I have successed to create a appointment using the sample code in the document of Oracle® Calendar Application Developer’s Guide,but failed to create a daily note. main code like this oracle.calendar.soap.iCal.iCalendar ical = new oracle.calendar.soa

  • Mini-toslink cable for Lower East Side speakers?

    Hey, I have my iMac teamed up with a pair of Audyssey Lower East Side media speakers and I recently bought this mini-toslink cable from Amazon (http://www.amazon.co.uk/dp/B003UU7XQQ/ref=pe_385721_37038051_pe_217191_31005151_ M3T1_dp_1). The problem I

  • ITunes 7 - slow for other people also?

    Has anyone's computer gotten slower/delayed since installing iTunes 7? My iMac G5 seems a lot slower, not to mention the new iTunes itself is really sluggish. It isnt necessarily slow, but compared to the older iTunes, its very slow. Plus the cover a