I need set the password of odbc connection after of the design

Hi,
I need connect to oracle database, but I don't know the password of the connection, for obtain the password I must call a dll and this library returns the password for this data base.
After I need specify the password in the string connection.
How can I modify the string connection with javascript(I can't use the wizard because is not dinamic)?
And is it possible call a dll library from adobe designer?
Thanks a lot!
Rubén

If you want some pl/sql code that can be used in a query as it were a table you may be interested in table functions:
SQL> create or replace type
  2  t_emp is object (
  3  name            varchar2(30),
  4  hire_date date,
  5  salary       number);
  6  /
Tipo creato.
SQL> create or replace type
  2  t_emptab is table of t_emp;
  3  /
Tipo creato.
SQL> create or replace function tab_fun(p_dept in number)
  2  return t_emptab is
  3  e t_emptab;
  4  begin
  5    select t_emp(ename,hiredate,sal)
  6      bulk collect into e
  7      from emp
  8     where deptno=p_dept;
  9
10    return dip;
11  end;
12  /
Funzione creata.
SQL> select *
  2  from table(tab_fun(20));
NAME                           HIRE_DATE  SALARY
SMITH                          17-DIC-80        800
JONES                          02-APR-81       2975
SCOTT                          09-DIC-82       3000
ADAMS                          12-GEN-83       1100
FORD                           03-DIC-81       3000A procedure cannot be used in a select statement.
Max
http://oracleitalia.wordpress.com

Similar Messages

  • Missing ODBC connections after 11.1.1.6.2 patches

    Hi:
    After upgrading the Administration tool to 11.1.1.6.2, I start the Admin tool, attempt to open the repository on-line, but all the ODBC connections are missing.
    Did I miss a step? Can anyone suggest a fix?
    Thank you.

    I found my issue. After installing, I need to change the environment variables found in bi_init.bat.

  • URGENT HELP NEEDED!!! No data connectivity after a while, weird errors

    I am using T-Mobile's regular prepaid web plan and Wi-Fi just fine, no need for BIS, Rich Email, or BBM (SMS and MMS is just fine). All I ever use are apps that SPECIFICALLY state that they work over standard TCP/IP and Wi-Fi. The problem is, after some time, the apps that one worked over regular data connections and MMS don't connect anymore. Even though the apps said that no BIS is needed, they can't access data. Even RIM's own Facebook app, which claims to work over Wi-Fi (and does) loses data connectivity after a day or so without a full reboot. The only thing that works is the BlackBerry Browser, which still connects to the internet. Along with the apps failing to work, MMS messages also can't be sent.
    Rebooting the phone by a battery pull or alt-shift-delete allows the apps and MMS to work, which after a day (sometimes even shorter) stops working again.
    Here's what I've done so far:
    - Checked and made sure that all permissions for data access
    - Checked that my APN settings are correct: epc.tmobile.com
    - Checked my Wi-Fi router for connectivity
    - Called  T-Mobile tech support for help, wiped my phone upon their instruction
    - Reinstalled my apps and contacts, T-Mobile sent me new service books
    Still the SAME THING with apps and MMS not working after a while. I've narrowed it down to entries in the event log that show up as this, which shows up seconds before my apps and MMS stop working:
    a net.rim.hrtRT - PUpI - 9/23 17:06:58
    a net.rim.hrtRT - EPdp 0x3 - 9/23 17:06:58
    a net.rim.tunnel - Clos-blackberry.net - 9/23 17:06:58
    a net.rim.hrtRT - CClG 0x2 - 9/23 17:06:58
    W net.rim.hrtRT - XMax - 9/23 17:06:58
    W net.rim.hrtRT - XBad - 9/23 17:06:58
    E net.rim.mdp - TEma - 9/23 17:06:58
    W net.rim.mdp - TDtm - 9/23 17:06:58
    i net.rim.mdp - TTex - 9/23 17:06:58
     Can any experts or developers tell me what these Warnings and Errors mean? I am pretty sure that whatever "net.rim.mdp" and "net.rim.hrtRT" is doing isn't good.

    anyone care to help???
    Also, on the 18th I wiped my phone again, and three days later (longest time with no mdp error) the same error occurred in the event log, no internet connectivity afterwards on Wi-Fi or Mobile Network...
    The Tunnel Engineering Screen under Multi-WAF Encineering Screens shows the following:
    1 VPN <7.105.226.218>
    Tunnel ID: 1
    Tunnel Type: VPN
    Tunnel State: UNEXPECTED ERROR
    Tunnal IP Address: 7.105.226.218
    2 WLAN <192.168.1.x>
    Tunnel ID: 2
    Tunnel Type: WLAN
    Tunnel State: UNEXPECTED ERROR
    Tunnel IP Address: 192.168.1.x
    3 3GPP blackberry.net <22.185.134.169>
    Tunnel ID: 3
    Tunnel Type: 3GPP
    Tunnel State: UNEXPECTED ERROR
    Tunnel IP Address: 22.185.134.169
    4 3GPP epc.tmobile.com <26.203.192.238>
    Tunnel ID: 4
    Tunnel Type: 3GPP
    Tunnel State: UNEXPECTED ERROR (shows OPEN_READY only when browsing webpages)
    Tunnel IP Address: 26.203.192.238
    Something tells me that the tunnels are being blocked, since closing and recreating them does the same thing. Anyone else have this problem???

  • Need solution for drivers for odbc connectivity in netbeans ide 7.0.1

    Hi,
    i'm working with netbeans ide 7.0.1 on windows 7 home basic edition 64-bit, access 2007 professional ,having problems in creating database applicaions ,
    problems are 1.unable to connect access databse and unable to find jdbc - odbc driver for access.
    Edited by: 882939 on Sep 2, 2011 1:41 AM

    scphan,
    thanks a lot for your reply! It is helpful! (although not "solved" - alas).
    The thing still doesn't work: maybe I missed some magic trick?
    If you bear with me, here is what I did:
    a) downloaded jdk-6u10-docs.zip
    (from "Java SE Development Kit Documentation 6"
    -->
    https://cds.sun.com/is-bin/INTERSHOP.enfinity/WFS/CDS-CDS_Developer-Site/en_US/-/USD/ViewFilteredProducts-SingleVariationTypeFilter)
    -- it was unzipped automatically by my Safari downloader, creating the "docs" directory);
    b) then I pointed the Netnbeans to this dir (it says "Add ZIP/Folder", so to my understanding the "dir" should work, only faster), --
    -- still "Show Javadoc" results in "Cannot perform"... (:-.
    Anything I did terribly wrong?
    Note that I stared at the http://java.sun.com/javase/downloads/index.jsp for a while before finding the "documentation" link.
    Noticeable also that the page starts with "What Java Do I Need?" but doesn't answer that question.
    Why does Sun make it so freaking hard for the beginners?..
    Does it make sence to ship something without documentation?..
    Why doesn't Apple distribution include it for 1.6 although it does for 1.5 and 1.4?..
    Why do creators of Java not care that Java actually works out of the box, -- including (and that I think makes my question a Java question) in one of the two most popular Java IDEs?
    (The last few sentences are mostly for flounder).

  • Can't set up wifi or ethernet connection after clean installing XP

    Hi, I recently done a clean install of XP on a friends Toshiba Equim M50-164 PSM57E laptop using instructions from this link.
    http://www.easydesksoftware.com/I386.htm
    I am now having extreme difficulty setting up the wifi internet connection, no wireless icon is appearing in the bottom right of screen. I tried downloading Atheros Wireless LAN Adapter 7.7.0.406.2 onto an external drive then transferring it to the Toshiba laptop but still it will not work.
    It seems the drivers are not installing properly and are not showing up in Device Manager, nor can I connect to the internet using a usb cable.
    Please help as my friend is extremely angry and I am now at a loss what to do.
    Thanks in advance.
    Message was edited by: underwater 909

    Hi
    According notebook specification this Equium has Intel 2200BG LAN Mini PCI adaptor inside so please download and install right WLAN driver.
    You can download it from - http://aps2.toshiba-tro.de/wlan/?page=downloads

  • Wifi needs up to 30 sec. to connect after sleep

    The title exactly describes the problem. The wifi  connection of my  MAC book pro (late 2013)  will take up to 30 seconds to  connect to my WLAN after sleep. Maybe it is a problem since Yosemite but I don´t know exactly. Does anybody has the same problem or maybe a solution?
    Regards, Lidira

    There are many factors in startup time. The first time you create the engine there should be a short delay as lots of things are going on, dlls are loaded, global variables and configuration files are loaded and internal data structures are created. When Start() is called, additionally the loginlogout callback might be launched. 20-30 seconds does seem a bit long though for any modern machine (I'd expect more on the order of 2-5 seconds on a reasonably fast computer for creating the engine) so something else might be going on in your system. Do you perhaps have a lot of global variables, are a lot of VIs being loaded by the loginlogout callback perhaps and perhaps being mass compiled by labview? Is your login callback perhaps hanging on an instrument driver call until a timeout occurs? There are many many possibilities. Have you tried launching a UI or seqedit.exe on a clean install of teststand on that machine? If so how long does that take? If it's much faster than 20 - 30s, then the extra time must be due to customizations you have made. If so, try systematically removing or commenting out customizations to narrow down where the problem is. If on a clean install of teststand it still always takes 20-30seconds to create the engine, then there might be something unusual about your machine that will need to be narrowed down (assuming it isn't just an usually old or slow computer). Have you seen this significant a slowdown on all of your machines or only on certain ones?
    Also keep in mind that the OS does lots of caching of things, so the first time dlls are loaded is often much slower that subsequent times.
    Also keep in mind that .NET applications startup slower than non-.NET application (especially the first time one is launched after rebooting) as there is a significant amount of overhead involved. This is something Microsoft has been working on improving for future versions of the .NET framework.
    Hope this helps,
    -Doug

  • Password protect 2 connected usb drives

    I have an Airport Extreme Base Station. I have one USB hard drive connected to it that's protected with a password. No problem so far.
    Now I want to add another USB hard drive to the AEBS via an usb hub. I was wondering if it's possible to password protect that new hard drive with another password than the first hard drive?
    So, to connect to drive 1 you need to know password A.
    To connect to drive 2 you need to know password B.

    Connect that second drive and launch Airport Utility. Go to disks and explore your options. You'll find you cannot do that.

  • Not prompted to set Administrator password at logon after Sysprep

    As far as I know, the following are facts regarding the Administrator password on Windows 2008 R2:
    - By default the Administrator account is enabled and the password is blank, but you are forced to set a password at first logon after Windows installation
    - Sysprep is supposed to set the Administrator password to blank, unless one is indicated in the unattend file.
    On my 2008 R2 images I want to be prompted to set the Administrator password after the image is deployed (and after sysprep has been run on the source machine), but for some reason this is not happening.  Instead it just comes up with a logon screen
    and expects the password that was used on the source machine.
    I just want the same behavior as when 2008 R2 is installed from media, which is for the Administrator account to have a blank password, but where I am forced to set one at first boot.  I have tried setting the password to blank on the source machine
    before running sysprep, but then it just automatically logs on the Administrator on the first boot, which I don't want.
    What setting can I look for that may be causing this?  On a previous image which I created using the same unattend file, this worked as I wanted it to, thus the reason I believe it's a setting on my source machine.
    Thanks.

    Hi,
    Thank you for the reply.
    From the log, we can see your administrator password was not cleared successfully.
    I had a test on my Windows Server 2008 R2 computer and it cleared my administrator password successfully. After the computer restarted, it prompted me to change
    the password. And the following line appeared in the log file:
    [shsetup] CleanupAdministratorPassword: previous account flags = 0x00000201
    [shsetup] CleanupAdministratorPassword: password cleared
    [shsetup] CleanupAdministratorPassword: setting account flags = 0x00800201
    [shsetup] CleanupAdministratorPassword: password expired
    Now I would like to know whether you use any unattend file together with sysprep. Did you put any .xml file under C:\Windows\System32\Sysprep or explicitly specify
    an unattend file using the sysprep command?
    Please remove any .xml file in C:\Windows\System32\Sysprep, double-click sysprep.exe in C:\Windows\System32\Sysprep, check the box before Generalize to sysprep your
    system again.
    What’s the result?
    Tim Quan - MSFT

  • Setting the Member & data build level dynamically

    Hello, I have got a situation where i need to set the Member & data build level dynamically based on the member. The option "Build Multidimensional down to here"(OLAPMetaoutline Menu)can be used,But when we use this option i could not perform my task as i need set the Build level dynamically based on the member level.I have to set the level dynamically for the following instance.Suppose My time dimension hierarchy is as follows: BY Year BY Quarter By Month If the year is say 1995,then quarter level & month level data is not required. If the year is say 1998,then quarter level & month level data is required. Could anyone provide a solution for dynamically setting the Member & data build level? Thanks,Sathyan

    Hi CTS,
    Thanks for ur repply,
    My source side i am having BANK_BRANCH_STATUS table has BRANCH_CODE and EOC_STATUS(possible values for this column is 'N','T','F','E' & 'B').
    The source table from which data has to tranform will be having BRANCH_CODE.
    i made odiwaitfordata as 1st step in package ,in this step the code looks like this
    OdiWaitForData "-CONTEXT=GLOBAL" "-GLOBAL_ROWCOUNT=1" "-LSCHEMA=ORACLE_FCSAILS" "-POLLINT=1000" "-RESUME_KEY_OPERATOR==" "-SQLFILTER=EOC_STATUS='E'" "-TIMEOUT=0" "-TIMEOUT_WITH_ROWS_OK=YES" "-UNIT_ROWCOUNT=>=1" "-INCREMENT_DETECTION=NO" "-TABLE_NAME=BANK_BRANCH_STATUS" "-OBJECT_TYPE=T"
    In the procedure,
    Source command-select branch_CODE from BANK_BRANCH_STATUS WHERE EOC_STATUS='E'
    Target command- Execute scenario for batch with branchid as a parameter... how to put up this in code form....could u suggest me?
    3) flag those which are executed so you don't wait for them again --how to put up this in code form....could u suggest me?
    Please sugest me,
    Thanks,
    MNK

  • How I set the Focus in object

    Hello.
    I need set the focus on first object in a JInternalFrame.
    The form JInternalFrame contain a JTabbedPanel and this include object jFormatedTextFields.
    I need when the init form set the focus over first object in the first tab of JTabbedPanel. How I do?.
    Than You

    works OK in this
    (tabbed panes seem to be working OK for focus now, don't know what's changed)
    import javax.swing.*;
    import java.awt.*;
    import  javax.swing.text.*;
    class Testing extends JFrame
      MaskFormatter mf;
      JFormattedTextField ftf;
      public Testing()
        setLocation(300,200);
        setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
        try{mf = new  MaskFormatter("###.###.##.##");}
        catch(Exception e){e.printStackTrace();}
        ftf = new JFormattedTextField(mf);
        JTabbedPane tp = new JTabbedPane();
        tp.addTab("A",ftf);
        JDesktopPane dp = new JDesktopPane();
        JInternalFrame if1 = new JInternalFrame( "I-F1", true, true, true, true );
        if1.setLocation(50,50);
        if1.getContentPane().add(tp);
        if1.pack();
        if1.setVisible(true);
        dp.add(if1);
        getContentPane().add(dp);
        setSize(400,300);
        setVisible(true);
        ftf.requestFocusInWindow();
      public static void main(String[] args){new Testing();}
    }

  • Automatic jdbc odbc connection

    we have an application that uses an access database. normally we have to go to control panel, go to the DataSources and manually setup the odbc connection. after this, our program connects to the database and works as planned. what we want to do is to automatically connect the database, like having an executable file that automatically installs a software. is there any way that would connect the database to the computer without manually performing all those tasks?

    Use some other jdbc driver than jdbc-odbc driver. to find the driver list visit
    http://industry.java.sun.com/products/jdbc/drivers

  • No wireless connections after upgrading to leopard!

    Lost all wireless connection after upgrading to 10.5 osx. Getting frustrated with the upgrade after spending two hours on the phone with apple tech and was told that it was a third party issue! Able to access wireless with security turned off, but once I set sec password (WAP) no connection. What is strange is that I can receive and send email but no browser. All other Mac's/PC's connect fine. Other mac's have not been upgrade! Does anyone have any answers???

    see my post here: http://discussions.apple.com/thread.jspa?threadID=1244216&tstart=0
    it might help you.

  • How do I disconnect a certain kind of connection after 9PM each night?

    We have a user who sometimes connects to our Sql Server 2008 database using an ODBC connection from MS Access. Every now and then if he leaves that connection open overnight it creates problem with overnight processes. (I think it has to do with Access and
    record locking.) His other connections do not create any problems like this however.
    I would like to disconnect just his MS Access ODBC connections after 9PM each night. Is that possible? I guess the next best solution would be to disconnect
    ALL of his connections at 9PM but I'd like to avoid this as he sometimes works very late and we want him to have access to the system.
    Thanks for any help you can offer.

    Hi,
    I would not Kill anything because it might not always result in favorable output.
    Can you run the script to disable login for time being and then run script again to enable it. Its the same login which uses ODBC connection you are referring.
    I was also thinking about Logon trigger which would be enabled for only time you require it. Perhaps Logon trigger would be correct one
    Please mark this reply as answer if it solved your issue or vote as helpful if it helped so that other forum members can benefit from it
    My Technet Wiki Article
    MVP

  • How to connect an apple tv to an enterprise network with a username and a password?   I need to use it over my university's wifi. theres no option to enter username and password. how to connect the apple tv to such enterprise network?

    How to connect an apple tv to an enterprise network with a username and a password?
    I need to use it over my university's wifi. theres no option to enter username and password. how to connect the apple tv to such enterprise network?

    Contact the University's IT dept, they may be able to set something up on the network to allow the ATV to connect without the need for a user name/password.

  • HT2494 Good afternoon, I have a set of 5 speakers + 1 subwoofer 5.1 from Altec Lansing and I would like to connect the 3 cables - 1 black + 1 yellow + 1 green - to my new i-mac. What connection type do I need? And where I can connect it? BR Pascal

    Good afternoon,
    I have a set of 5 speakers and 1 subwoofer 5.1 from Altec Lansing and I would like to connect the 3 exit cables  - 1 black + 1 green + 1 yellow - to my new i-mac 22" - acquired last week - equipped with only 4 USB 3.0 + 2 Thunderbolt + 1 Ethernet + 1 jack for micro or speaker.
    What connector type do I need? And where can I connect ot?
    Many thanks in advance for your help
    Best regards
    Pascal Quennesson

    Sorry you cannot
    That speaker system is for sound cards on PC's which separate the channels, the Mac's don't seperate the channels or decode surround sound formats  and only pass the 5.1 through the dual analog/optical stereo mini port.
    You might find a external device that accepts Toslink optical inputs and then separates the channels and sends the appropriate signal to the powered speakers.

Maybe you are looking for

  • Audio data to be acquired at 192khz

    hi ... well i  have made a VI to acquire  audio data  and then write it to a file to furthur process it. the problem is that  when i send  stram of audio data upto 48 khz the data is captured continuously, but if i try to  send a stream of 64khz or 1

  • Changes in song order

    A couple of weeks ago, iTunes began to arbitrarily change the order of songs on some of my albums. It didn't happen to all of them, just a seemingly random selection. Any siggestions on why, and how to fix it? Thanks

  • Nested subcontrollers problem

    Hi, I have an application with one main controller and some nested subcontrollers. On the main page I have <bsp:call> to subcontroler 1, and on the page controlled by subcontroller 1 I have another <bsp:call> to subcontroller 2. The problem is that w

  • WISM Interface Grouping with different subnets

    WISM v7.0 VLAN Select. Anyone can confirm if the VLANs subnet to be configured under interface group MUST be having the same subnet. Eg. VLAN1 - mask 255.255.255.248       VLAN2 - mask 255.255.255.120 Would these two VLANs be able to work together in

  • Unable to retain screen resolution on boot/reset

    Hello, I have an external LCD connected to my mini, which has worked very well for the past few months. However, now the screen resolution that I use (1280x1024) is not applied on boot, and something along the lines of 640x480 is used (I can only jud