Not able to use db link if i reference its name from value of item in apex

Hello
I am trying to use following but not working
:P16_db_link = 'link2home'
link2home is database link already created by me.
I am running one report which is using PL/sql function as source returning one sql
SOURCE of Report
==============
declare
com varchar2(4000);
dbln varchar2(100);
begin
dbln:=':P16_DB_LINK';
select 'select * from v$instance@'||dbln into com from dual;
return com;
end;
It is giving me error while report is loaded that 'db link name expeceted'
any help is appreciated

Hi user629322 ,
Just try modifiying it
declare
com varchar2(4000);
dbln varchar2(100);
begin
dbln := :P16_DB_LINK;
com := 'select * from v$instance@'||dbln ||'from dual';
return com;
end;
Good Luck
bye
Srikavi
Message was edited by:
srikavi

Similar Messages

  • Not able to Use it after resetting phone to its factory setting !!

    My brother bought an Iphone 4s from his friend. We did reset in order to remove his friend's accounts and everything phone had in it. What happened is we're not able login as It turned out FindMyIphone app was installed and nobody knows the login details including his friend It's been 3 days and I can't see my little brother's sad face. Anyone ?

    If the iPhone has Activation Lock - that is, it's asking for the previous owner's Apple ID and password to activate the device - then you will need that information, or you'll need to get the previous owner to remove the device from his/her iCloud account:
    http://support.apple.com/kb/PH2702
    If your brother's "friend" has forgotten his Apple ID and password, the "friend" will have to recover it, either by this web page:
    https://iforgot.apple.com
    or by calling Apple Support and asking to speak with Account Security.
    If this "friend" is unable or unwilling to recover his Apple ID so as to be able to clear Activation Lock, then the device is unusable. Your brother should return the iPhone to this "friend" and get his money back.
    Regards.

  • Dynadock U3.0 - Not able to use Ethernet port after Win 8.1 update

    Hi everybody,
    i am using a Dynadock u3.0 dock with my Vaio SCP 13.
    Since I updated my device to Windows 8.1 Update 1 I am not able to use the Ethernet port of the Dynadock.
    Before that everything worked fine.
    I am not able to reinstall the drivers correctly (tried 7.6m0, 7.5m2). While the driver insaller tries to start i am getting an error message, that the installer is not able to set a bunch of registry Keys (SYSTEM\CurrentControlSet\Services\DisplayLinkGA\D evice1) (till 0). (Image 1)
    If i ignore those messages and do install the driver, the Ethernet port will remain uninstalled in the device manager. (Image 2)
    If I try to install the driver manually (DisplayLink Network Adapter NCM), Ill get an error message that a driver was found but that the access was denied. (Image 3)
    I started the safe mode and could install the driver. But if I reboot to normal mode, the device could not be started.
    I also tried to disable UAC and I am logged in as the "real" administrator.
    Please find the error messaged attached (in German):
    [image 1]: http://picload.org/image/lcalwop/toshiba.png
    [image 2]: http://picload.org/image/lcalwoc/toshiba2.png
    [image 3]: http://picload.org/image/lcalwlg/toshiba3.png
    BTW: If I unzip the installer (7.6m0) and install the *inf for the right ven&dev (4503) it still does not work...
    I dont know what to do anymore...

    Hi
    After Windows 8.1 upgrade, you should also update the Display Link driver/software
    This is very important!
    The latest driver can be downloaded here:
    http://www.displaylink.com/support/downloads.php
    Note: the old version should be removed!

  • I set my passcode in arabic then I changed the language to English, when I wanted to open my ipad later there was no arabic letters to enter my arabic passcode..and I am not able to use my Ipad again please let me know what to do

    I set my passcode in Arabic then I changed the language to English, when I wanted to open my ipad later there was no Arabic letters to enter my Arabic passcode..and I am not able to use my Ipad again please advice me what to do

    Hello Shaholeh87,
    Do you see a Globe icon on left hand side of your Spacebar if yes try pressing that and see if you get an option of changing the keboard language (this will work if you have Multiple language set on your iPhone from Settings>General>Keyboard>International Keyboards and added a keyboard in Arabic Language before )
    Or you can get your iPhone in Recovery Mode and Restore it to Factory settings but you will lose all your current Data that you have on your iPhone.
    To Restore your iPhone by taking it in Recovery Mode you can follow the below steps :
    Follow the process mentioned below step by step to get your iPod Touch/iPhone/iPad working.
    Make sure you have Latest Version of iTunes (11.1.3) Downloaded and Installed on your Computer, if not then you can download the latest version of iTunes from the Link below.
    http://www.apple.com/itunes/download/
    Now once you have the Updated version of iTunes installed on your computer follow the below steps to get your iPod Touch/iPhone/iPad in Recovery Mode and Then restore it to factory settings
    Open iTunes Application on your computer and then start the process step by step
    1>Disconnect your device from the computer (if connected). The process won’t work if you start with the iPod Touch/iPhone/iPad connected to the computer. Leave the cable connected to the iPod Touch/iPhone/iPad, as you will be reconnecting the iPod Touch/iPhone/iPad to the Computer later in the process.
    2>Power down your device. Turn off your device by holding down the Power button ( On Top right corner of iPod). When the power slider appears, slide it to the right. Wait for your device to comepletely shut down before continuing.
    3>Press and hold the Home button (Home Button is located at bottom of your iPod Touch/iPhone/iPad screen/display). With the Home button held connect the device to your computer with the USB cable. When reconnected, your device should turn on.
    (If the low battery screen appears, charge your device for a few minutes and try the process again.)
    4>Continue holding the Home button. After a few moments, you will see the "Connect to iTunes" screen on your device. This screen is a picture of an arrow pointing from a USB cable to the iTunes logo. When you see the screen you can release the Home button.
    5>iTunes will display a message stating that a device in recovery mode has been connected. From there you can proceed to restore your iOS device. Once you see this message click on OK and then click on Restore
    Once you click on Restore iTunes will download the Latest available version of iPod Touch/iPhone/iPad software (ipsw file) in your computer and after the download is completed the same will be restored in your iPod Touch/iPhone/iPad. You will see the Download process and Restore process on top of your iTunes screen. Once the restore is completed your iPod Touch/iPhone/iPad will automatically restart and you will see a message that iPod Touch/iPhone/iPad has been Restored and will connect after restart.
    Now you will have to follow some steps on your iPod Touch/iPhone/iPad to Customize your Device for First Use.
    Hope this process will help you

  • I have a new computer and I am not able to use the $12.58 in my itunes store acct.

    why am i not able to use the $12.58 in my itunes acct to purchase items - I am using a new computer and it requests the code on the back of the itunes gift card which I no longer have available but Itunes is telling me I still have that amount in my acct.

    You don't have a copy of it on your backup of your downloads and you've checked your computer's hard drive for it ? What you can re-download will show under the Purchased link under Quicklinks on the right-hand side of the iTunes store homepage on your computer's iTunes. If other films show there but not that one and it's still in your country's iTunes store then check to see if it's hidden : http://support.apple.com/kb/HT4919
    If it's not hidden and it's still in your country's store then you can try contacting iTunes Support and see if they wil grant you a re-download : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption

  • Not able to use Sql Server 2012 Intellisenese

    I am not able to use Sql Server Intellisence .
    I refer following links
    http://blog.sqlauthority.com/2009/03/31/sql-server-2008-intellisense-does-not-work-enable-intellisense/
    http://www.mssqltips.com/sqlservertip/2591/troubleshooting-intellisense-in-sql-server-management-studio-2012/

    Hi,
    Check the below link. Hope it helps
    http://msdn.microsoft.com/en-us/library/ms173434(v=SQL.110).aspx
    You need to refresh it if at all you have created new schema and added tables to it. Go to the editor pane in SQL Server Management Studio, and press CTRL+SHIFT+R.
    Regards, PS

  • Not able to use password with characters for RFC User.

    hi All,
    I have installed SAP SCM 5.0 with MaxDB 7.6and liveCache 7.6.
    I created RFC user and RFC destination to administer liveCache globally as per SAP notes 305634 and 452745. I changed the initial passwords and tested Remote login for RFC User.
    But when I try to start liveCache with startrfc following the link below
    http://help.sap.com/erp2005_ehp_04/helpdata/EN/95/379f3cad1e3251e10000000a114084/frameset.htm
    I got the following error
    RFC Call/Exception: SYSTEM_FAILURE
    Group       Error group 104
    Key         RFC_ERROR_SYSTEM_FAILURE
    Message     Name or password is incorrect (repeat logon)
    Then I logged into the CI with RFC user and try to start the liveCache with RSLVCSTART T-Code SE38..I got the following error.
    Error DBMCLI_COMMAND_EXECUTE_ERROR when starting liveCache LCS on server saplcslc
    Message no. LVC007
    I tried by changing the password for RFC user to numeric [0-9] and special characters [$,:] which worked fine.
    Does anyone faced this issue earlier? I searched notes, sdn and finally google ... but no luck to resolve the issue.
    Your help is much appreciated.
    Thanks,
    Venkat

    Yes I used LCA as liveCache connection. I resolved the issue with RSLVCSTART. Thanks for your suggestion to run connection test. I used wrong password for control user in the LCA connection. Now LCA connection shows everything is fine.
    But I am still not able to use alphanumeric password RFC user to start the liveCache from command line. I get the following when run startrfc command...
    bash-3.00$ /usr/sap/CAT/rfcsdk/bin/startrfc -3 -d LCSCLNT001 -h sapcatci -s 51 -c 001 -u LCSRFC -p Mach1cspsap\$ -l EN -F START_LIVECACHE_LVC -E IV_CON_NAME=LCA
    RFC Call/Exception: SYSTEM_FAILURE
    Group       Error group 104
    Key         RFC_ERROR_SYSTEM_FAILURE
    Message     Name or password is incorrect (repeat logon)
    bash-3.00$ echo $?
    1
    But I can start the liveCache from command line with numeric password successfully.
    bash-3.00$ /usr/sap/CAT/rfcsdk/bin/startrfc -3 -d LCSCLNT001 -h sapcatci -s 51 -c 001 -u LCSRFC -p 19811983\$ -l EN -F STOP_LIVECACHE_LVC -E IV_CON_NAME=LCA
    bash-3.00$ echo $?
    0
    Note the difference between the passwords used. Do i need to change any settings to accept alphanumeric passwords for RFC user.
    Note that I am able to start liveCache server in both cases(alphanumeric password and numeric password) by logging into SAP GUI and RSLVCSTART program. The problem is only when i try to start the liveCache from the commandline.
    Any help will be much appreciated.
    Thanks,
    Venkat

  • Not able to use Visual studio 2010 editor intelligence while running SDK sample code ?

    whenevr i start sdk sample project in visual studio i can build it ,debug it ,run it but the problem is that VS 2010 editor showing lots of red lines under many lines of code which on Mouse hover show some kind of error(mostly _____ is undefined) moreover i am not able to use intelligence feature of VS editor and i have to check reference of SDK everey time .what is the solution to this problem .

    1. Create environment variable INDESIGN_SDK_DIR with path to root folder of your SDK
    e.x  INDESIGN_SDK_DIR = "C:\SDK\InDesignCS6SDK"
    2. In your project add this to project settings:
    "VSProject"->"Proporties"->"Configuration Proporties"->"VC++ Directories"->"Executable Directories" add:
    $(INDESIGN_SDK_DIR)\devtools\bin
    "VSProject"->"Proporties"->"Configuration Proporties"->"C++"->"General"->"Additional Include Directories" add:
    $(INDESIGN_SDK_DIR)\source\precomp\msvc;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\xmedia;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\preflight;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\ui;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\tables;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\text;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\graphics;
    $(INDESIGN_SDK_DIR)\source\public\libs\widgetbin\includes;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\workgroup;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\interactive;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\interactive\ui;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\colormgmt;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\utils;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\incopy;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\layout;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\architecture;
    $(INDESIGN_SDK_DIR)\source\public\interfaces\cjk;
    $(INDESIGN_SDK_DIR)\source\precomp\common;
    $(INDESIGN_SDK_DIR)\source\public\includes;
    $(INDESIGN_SDK_DIR)\source\public\libs\publiclib\plugins;
    $(INDESIGN_SDK_DIR)\source\public\libs\publiclib\files;
    $(INDESIGN_SDK_DIR)\source\public\libs\publiclib\objectmodel;
    $(INDESIGN_SDK_DIR)\external\asl\boost_libraries;
    $(INDESIGN_SDK_DIR)\source\sdksamples\common;
    $(INDESIGN_SDK_DIR)\external\afl\includes
    "VSProject"->"Proporties"->"Configuration Proporties"->"Linker"->"General"->"Additional Library Directories" add:
    $(INDESIGN_SDK_DIR)\build\win\objr;
    $(INDESIGN_SDK_DIR)\external\afl\libs\win\release;
    $(INDESIGN_SDK_DIR)\external\icu\libs\win\release
    "VSProject"->"Proporties"->"Configuration Proporties"->"Linker"->"Input"->"Additional Dependencies" add:
    PMRuntime.lib;
    Public.lib;
    WidgetBin.lib;
    AFL.lib;

  • Not able to use GoogleTalk via WiFi

    I am using BB-9320 since last 2 weeks.
    But I am not able to use GoogleTalk via WiFi.
    Since I don't want to connect my phone via service provider, so I have keep "data services" option off.
    I am able to use internet and all other apps via WiFi, but just 1 app that is not running is "GoogleTalk"!!
    I am not able to log in on GoogleTalk. It displays error that, "Data Service Unavailable".
    What should I do?
    Is there any other way to use GoogleTalk??
    Thank you..In Advance

    Hello bhumil1991, 
    Welcome to the forums. 
    In order to use Google Talk you require a data plan through your wireless service provider. You can see the system requirements for Google Talk at the below link. 
    Google Talk - System Requirements 
    -SR
    Come follow your BlackBerry Technical Team on twitter! @BlackBerryHelp
    Be sure to click Kudos! for those who have helped you.Click Solution? for posts that have solved your issue(s)!

  • I swtiched from LabView7 to LabView8.2, and now my parallel port on LPT1 is not more recognised (I am not able to use VISA to write on it). Why?

    I switched from LabView7 to LabView8.2, and now my parallel port on LPT1 is not more recognised (I am not able to use VISA to write on it). Why?

    Hi,
    Sorry for the delay,
    I need to know more informations about your problem. Have you check the configuration of LPT in MAX? Can you open a VISA session? Do you receive a timeout error when you try to write on that port?
    You can find same importants informations about parallel port configuration for different versions of LabVIEW at this link: 
    http://digital.ni.com/public.nsf/websearch/E6415E8A8376F63D86256C46007592E8?OpenDocument
    Let's me know.
    Riccardo

  • HT1918 I have created a free apple Id and I am not able to use it further please do the need full

    I have created a free apple Id and now I am not able to use it further

    Hello Asokwah,
    Sign out from your pple Id on your Device and Go to https://appleid.apple.com/cgi-bin/WebObjects/MyAppleId.woa/ and then Sign In with your Apple Id here and Under your Primary Email Address click on Resend Next to Verification Email Sent. Now Go to your Email Account and Verify your Apple Id again by clicking in the Link inside the Mail that you might have received from Apple. Now Sign In on your Device and try to make a Purchase and if it is for the first time then you will be asked to Review your Account and if you have entered your Credit/Debit card in your Account then you will have to just Enter your 3 Digits CVV Number and then click on Done. And then you can try downloading any Application from AppStore or Music from iTunes Store and check if its working.

  • I have been paying for awhile and not able to use ...

    It is a shame that people are paying for services that they can not use. I have been paying for some time for this call anywhere in the world and i am not able to use. I think Skype should make it very clear to customers. i have just cancel.

    beatrice7753 wrote:
    It is a shame that people are paying for services that they can not use. I have been paying for some time for this call anywhere in the world and i am not able to use. I think Skype should make it very clear to customers. i have just cancel.
    provide a more detailed description of the problem you are experiencing in making calls, or contact customer service.  Just open the link pasted below to see the instructions on how to get in touch with customer service -
    https://support.skype.com/en/faq/FA1170/how-can-i-contact-skype-customer-service
    IF YOU FOUND OUR POST USEFUL THEN PLEASE GIVE "KUDOS". IF IT HELPED TO FIX YOUR ISSUE PLEASE MARK IT AS A "SOLUTION" TO HELP OTHERS. THANKS!
    ALTERNATIVE SKYPE DOWNLOAD LINKS | HOW TO RECORD SKYPE VIDEO CALLS | HOW TO HANDLE SUSPICIOS CALLS AND MESSAGES

  • I am getting a pop up on my iPhone 4S asking password of my iCloud even though I feed the password but still keep on asking the same thing every second so I am not able to use my iPhone.

    I am getting a pop up on my iPhone 4S asking password of my iCloud even though I feed the password but still keep on asking the same thing every second so I am not able to use my iPhone.at various times it asks different passwords.

    Curretly, there is an iCloud blackout.  It started this morning around 2AM California time (Pacific), 5AM New York (Eastern).  A lot of people have been having issues all day, including me.  No iCloud services are online.  Even Find My iPhone is down.

  • I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add

    I bought new i phone 5 3 days back, after that asked for new update which is 6.1.4, after updating my iphone i am not able to use cellular data services. I called up data provider, they says its the problem with new software update. There is no option add APN. Now when i switch to safari its showing you are not subscribed for cellular data. But I am able to use data on other phone.
    Will you please help me in this regard?
    Another issue, since i bought my new iphone there is dust inside back main camera.
    Your advises are highly appreciated.

    Hey Shaiju isac,
    I'd take a look at the following article, it'll guide you though steps to you troubleshoot cellular data issues on your iPhone:
    iPhone: Troubleshooting a cellular data connection
    http://support.apple.com/kb/ts3780
    Cheers,
    David

  • After upgrading to Lion, not able to use Quicken 2007.  Get the following message: PowerPC applications are no longer supported.  Anyone has a solution?

    After upgrading to Lion, not able to use a PowerPC Application (Quicken 2007).  Any solution?

    Quicken Essentials 2010 has less features than Quciken 2007.  Keeping track of investments is one feature I need and Quicken Essentials does not include that function.  I may have to consider others financial software, such as iBank4, Money4, iFinance, and Money Well.

Maybe you are looking for