Connect from pro*c

Hi
How to specify the database when the program connect to the DB
When the database is local, we don't need to specify the DB
example
EXEC SQL CONNECT :uid IDENTIFIED BY :pwd;
Thanks
Rouya
null

There are a number of ways to do what you are asking for including using
char *uid ="scott/tiger@xyz_db";
EXEC SQL CONNECT :uid;
Check the Pro*C manual on connections, specifically the connection railroad diagram in the back of the book. YOu should be able to determine the various flavors for db names and named connections.
<BLOCKQUOTE><font size="1" face="Verdana, Arial, Helvetica">quote:</font><HR>Originally posted by Shajahan E:
To connect to Non-default database use:
EXEC SQL CONNECT :username IDENTIFIED BY :password AT DB_NAME USING :db_string; <HR></BLOCKQUOTE>
null

Similar Messages

  • Hi Apple Team, my iphone can't share files with my macbook pro. But other devices can share bluetooth files with my mac book pro. Please, kindly open up bluetooth to accept all connections from all devices. Now it becoming difficult for me to share.

    Hi Apple Team, my iphone can't share bluetooth files with my macbook pro. But other devices can share bluetooth files with my mac book pro. Please, kindly open up bluetooth to accept all connections from all devices. Now it difficult for me to share bluetooth files from my mac bookpro to my iphone, unless i attached it through email.
    We need it to be acceptable to all devices.
    Thank you!

    You can tell Apple directly at the link below.
    http://www.apple.com/feedback/iphone.html

  • HT3382 Connect from a MacBook Pro's mini display port to a Display Port monitor?

    Hello everyone,
    Is it possible to connect from a MacBook Pro's mini display port to a Display Port monitor with resolutions higher than 1920 x 1200? It seems Apple does not supply a mini-DP to DP adapter.
    However, just as they do not make a mini-DP to HDMI adapter, but they do recommend a Belkin product for this purpose.
    Is there any reason that a mini-DP to DP adapter or cable wouldn't work and support high resolutions?
    Thanks for your feedback!

    danz0r wrote:
    Hey tjk,
    Thanks for the response.
    Do you have any recommendations for a potential set up? The audio output and Apple DVI are on different sides of my MBP, which is alright, I guess I can get two long cables to handle each. I was hoping to just have my MBP closer to where I use it, with a cord nearby plugged in on one side to the HDTV and resting near where I keep my MBP for when I want to use the HDTV as an external monitor.
    With a converter like this, you can run video out of the MBP's DVI port, and miniToslink (optical) audio out of the 3.5mm stereo mini jack to the converter, then it will combine the two and output audio and video through HDMI to the monitor.
    http://www.supermediastore.com/product/u/apogee-dvi-to-hdmi-converter-spdif-opti cal-toslink-coaxial-input-output?utm_source=cj&utm_medium=aff&utm_content=HDMI+A ccessories
    Otherwise, depending on the TV's inputs, for video you could run DVI to DVI on the TV, or DVI to HDMI to the TV. For audio you could run 3.5mm stereo mini plug from the MBP to RCA adapter on the TV. Toslink/optical is also an option.

  • Sharing internet connection from MacBook Pro to iMac G3

    My goal here is to connect my iMac G3 (that I just got) to my cable internet connection. However, there are some hurdles in doing so. On the other side of my house lies my modem. It's connected to a D-Link wireless router to give my PC, Xbox 360, Wii and MacBook Pro internet all at the same time. It's too far to drag an ethernet cable, and the iMac G3 doesn't have an AirPort card (and $99 for a used wireless b adapter is ridiculous).
    From what I've gathered online, OS X can share it's internet connection with another Mac via FireWire, ethernet or AirPort. AirPort is out of the question since that's how my MacBook Pro connects to the net, and since the iMac G3 doesn't have an AirPort card. I don't have anything that uses FireWire, so othe port on both machines is free, but I also don't have a cable to connect the two. I do, however, have a few spare ethernet cables, so I'd like to get this setup using them.
    Thing is, I can't get it to work. Simply enabling internet sharing in System Preferences does diddly squat, and no connection is found with Network Utility on the iMac. What I'd really like here is for someone to either instruct me on how to get this to work, or point me in the direction of such an article. I haven't been able to find anything with Google so far...
    Now, my MacBook Pro obvioously runs 10.4.9 with all the updates. The iMac G3, however, is running 10.3.5 at the moment. While I will be upgrading it to tiger in the near future, I kinda wanted to play around with Internet Expplorer before doing so. Being new to the Mac and all (the MBP is my first Mac), I've never used Internet Exporer on the Mac -- or 10.3 at all really, for that matter. So if it can be done, I'd like to do this with 10.3 still on the iMac, though I could upgrade it to tiger if I HAD to.
    Should it matter, the iMac G3 is a 400MHz indigo unit with 256MB RAM and a 10GB HDD. It's the summer '00 model. The MacBook Pro is a revision A system with a 1.83GHz Core Duo inside. More detailed specs can be found within my profile on here, I believe.
    Sorry for such a long winded post...
    1.83GHz MacBook Pro 15"; 400MHz iMac G3 Indigo   Mac OS X (10.4.9)  

    I don't have anything that uses FireWire, so othe port on both machines is free, but I also don't have a cable to connect the two. I do, however, have a few spare ethernet cables, so I'd like to get this setup using them.
    Lost me there... is it Ethernet cables you're using even though it's too far? Or What?
    Should be no problem Sharing the Internet connection from 101.4.9 to 10.3.x.
    Just waiting for more info or clarity.

  • Re:  Not getting audio from TV when connecting MacBook Pro with all correct cables.

    How do I get audio from the TV when connecting MacBook Pro with all the correct cables?

    Hi Lynn,
    If you're positive you have the correct cables, and positive they work, they must be plugged into an input on the TV made for that purpose, then that input must be selected on the TV's menu.

  • Is possible for me to use the wireless connection from my Macbook Pro

    Hi All, I just got my iPad 16GB WIFI and I would like to know if it is possible for me to use the wireless connection from my Macbook Pro. Basically I will be travelling quite a bit and my Macbook Pro has a Wireless 3G dongle. Is it possble to use this via the 'internet share' option so that the iPad can connect to the 3G wireless via the Macbook Pro?

    Yes. Just use internet sharing on your MacBook Pro.

  • Unable to Connect database from Pro*c

    Hi,
    We had installed Pro*c in Oracle 8.1.7.0.0 server
    and in client oracle_home we set as server Oracle home directory. we are using forms5.0 and pro*c
    Now we are in the process of migration to Forms6i.
    We installed in same orant client directory.
    if we set as oracle_home as server oracle home directory. we are unable to connect to database from forms if set oracle_home as client oracle_home we unable to connect from proc.
    Please give us solution

    I have installed forms5.0 and forms 6i in Client machine in DEFAULT_HOME and we are using server oracle_home to compile pro*cs and connect to database.
    where to check tns_admin

  • Cannot connect from Mac Pro late 2013 to Macbook Pro

    Cannot connect from Mac Pro late 2013 to Macbook Pro . I have tried via ethernet and wifi. I can connect from the MBP to the Mac Pro but not vice versa. I have tried to connect to other MBP's on the same network with no luck. I try and connect as a registered user, as I usually do, with no luck. When I enter the Username and then Password the box vibrates as if the details are incorrect, they are not however.
    Thanks in advance
    Jeff

    It is 'just not working' again.
    To answer you question. Other sharing services work. I can connect as a guest. I can share screens. I cannot air drop.
    I cannot connect either way now i.e. from Mac Pro to MBP and vice versa.
    I cannot connect to my wife MBP either. My wife cannot connect to my Mac Pro.
    It neither works with wifi or ethernet cable.
    I can connect to my Time Capsule directly and Time Machine backups are working.
    The passwords are 100% correct.
    The Mac Pro is a late 2013. Does anyone else have a similar problem? I have never suffered this one before. Seriously effecting my workflow
    Thanks

  • The Connect from Intel Pro/1000 T to 1000base-t Port on Catalyst 4000 (WS-X4412-2GB-T= module) Not Working Properly

    The connect from Intel Pro/1000 T to 1000base-t port on Catalyst 4000 (WS-X4412-2GB-T= module) is not working properly. The Intel Pro/1000 T NIC connects to a 10/100 OK. Auto-negotiation is set at both ends. We can successfully ping across the link. However performance is so poor as to make the connection unusable.

    When an Intel Pro/1000 T NIC is connected to a Catalyst switch, the customer may see poor network connections or excessive numbers of dropped packets. The problem arises when a module with a TBI interface transmits an odd byte packet to a receiver with a Gigabit Media Independent Interface (GMII).
    The interoperability issue is a result of the implementation of Carrier Extension. Carrier Extension is detailed in sub section 35.2.3.5 in the IEEE 802.3 specification. Carrier Extension can be used to pad the last byte of a packet, so the packet is aligned on an even numbered boundary.

  • How can i share my internet connection from macbook pro to my iphone?

    i need your help..

    On your MBP, from the Apple menu, select System Preferences, click the Sharing icon, and then click Internet Sharing. Select the way your computer is connected to the Internet under "Share your connection from" (ethernet probably), In the "To computers using", select the WiFi check box.
    Click the WiFi Options button and assign your new network a name. Turn on encryption if you like, enter a password, and click OK.
    Back in the Sharing pane, click the Start button in the Internet Sharing section.
    (to turn sharing off, go to the same place and click stop.)
    On your iPhone, turn on WiFi under Settings > WiFi
    Your iPhone serches for WiFi networks and yours should pop up with the name you gave it. If you turned on encryption (which you should to protect your data) enter the password and click Join.

  • How to connect macbook pro to panasonic tv with hdmi cable

    How to connect macbook pro to panasonic hd tv with hdmi cable

    Hi m,
    It depends which MPB you have and the inputs on the TV. The following assumes your TV has an HDMI input which will work with a computer.
    This is if your MBP is from April 2010 or newer:
    http://support.apple.com/kb/HT4241
    First connect the adapter to the MBP and the HDMI cable from the adapter to the TV, then go to System Preferences > Sound > Output > select HDMI.
    Or if your MBP is older than that and you have a Mini DisplayPort, you can use something like this: http://eshop.macsales.com/item/NewerTech/CBLMDPHDMID/
    If it's older than that, for video you need a DVI or mini DVI to HDMI or whatever input your TV has. For audio, you need a 3.5mm stereo mini plug to RCA or optical (Toslink), depending on what audio input your TV has.

  • Connecting Macbook Pro 15" to Samsung HDTV - Audio Problem

    Hey guys,
    I'm new to these forums so I hope i'm posting this in the correct section! On to my problem...I have a MacBook Pro 15" 2.8 GHz- Late 2009 (model: MB986LL/A) and I'm currently trying to connect it to my new TV which is a Samsung LCD HDTV (model: LN46C610).
    The video connection is perfect. I'm using Apple's Mini-DisplayPort to DVI, via DVI to HDMI to my TV.
    The audio connection for some reason is not working.
    I've tired using an RCA cable, which has a regular audio jack on one end, and the 2 coloured wires (yellow + red) at the other end. No luck.
    Now I was told to buy a Mini-Toslink cable to connect from my TV to my MBP. I've plugged the Optical Cable into the TV and the other end to my MBP. Yet I still have no sound.
    Can anyone please guide me on how to set this up? Maybe i'm doing something wrong or i'm using the wrong cable. Any help would be greatly appreciated!
    Thanks!
    Karman

    Ok i'm in the Utility but i'm confused...where would I go to select it to change the output?
    Because everywhere i've tried...I don't see an option to change it...
    *EDIT: ok I've noticed when I plug in the mini-toslink cable to my MBP, i notice the output source changes from Internal Speakers to Digital Output*
    *EDIT #2: Still no sound when I do that...also on the back of my TV, the digital output connection use to have a red light in it, and now it doesn't anymore?*
    null

  • Update: audio problems connecting macbook pro to insignia TV: resolved

    There have been posts from users who have expressed frustration that they cannot get audio when they attempt to connect their macbook pro to an Insignia TV.
    http://discussions.apple.com/click.jspa?searchID=-1&messageID=10830387
    http://discussions.apple.com/thread.jspa?threadID=2192206
    Insignia customer service also attempts to state that the pre-April 2010 macbook pros cannot get audio output to the TV, because the units are designed to get the audio on the same HDMI and no alternative audio input is available on the TV.
    http://community.insigniaproducts.com/t5/Televisions/Connecting-MacBook-Pro-to-T V/td-p/5564
    For the Insignia models (from 2010 onwards and possible some from 2009 as well), there is a simple workaround that does not seem to be published elsewhere on the internet (as far as I can see):
    Use the HDMI port 1 only (audio does not work with port 2, port 3 or port 4) to connect your macbook and you will receive 1080p video signal.
    Use a mini stereo audio cable (example link below) and connect your macbook audio output to a designated green color coded audio port on the TV located right next to the VGA. You will receive full stereo audio.
    Example link for mini stereo audio cable:
    http://www.amazon.com/gp/product/B00116VJIO

    I recently acquired a new Insignia TV and had sound trouble.  I went to Best Buy to inquire about the cable in the link above and the sales manager had doubts.  He recommended a RCA cable with a male connection at both ends.  The RCA jack is on the bottom edge of the TV display next to the VGA connection.  The sound worked perfectly using the RCA cable from the headphone jack on the Mac.  I connected the video with a HDMI adapter from the monitor mirroring port.

  • Can't Connect MacBook Pro and Mac Pro

    I have a MacBook Pro (pre 2008 - dual core) running OS X 10.6.7 and I regularly connect it to the Mac Pro at my work (also running OS X 10.6.7). I've had no problems until recently. Now, when I try to connect, I get the following message:
    "The server "name of my MacBook Pro" may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again."
    Sometimes I click the icon to connect, the computer tries for a minute or so to connect, then it disappears from the shared list.
    This happens whether I try to connect from either computer to the other one.
    Ideas? Suggestions?
    This is frustrating.

    I'm still having problems with connecting my MacBook Pro with my Mac Pro. Both are running Snow Leopard (10.6.7). I have tried repairing permissions and toggling settings in my Sharing, but no luck. I'm still getting "The server "name of my MacBook Pro" may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again."
    Anyone have any other suggestions?

  • Can't connect from mavericks (MBP) to mountain lion (MacPro) via Wifi

    i am trying to google for answers to this and i just come up with answers about connections to printers or hdmi or TV's etcetera.
    the problem is that i can connect to my laptop (macbook pro) from my desktop (mac pro) but i can't connect from my laptop (MBP) to my desktop (mac pro). i used to be able to do this but for some reason all i see if "Share Screen" or "Disconnect" and my iCloud Account is listed as "Connected As" but there is no data shown in Finder.
    does anyone know what search terms i can google for or if there is a Settings section that i should be checking?
    i tried dragging the Mac Pro icon out of the Shared section and i tried hitting disconnect as well as restarting both machines and turning off wifi on the laptop (hmmm. maybe i will shut both down at the same time...?) and so far no solutions.
    right now i have to go to the desktop to move files around and this is a major pain.
    i can see the network and i can print...
    THANKS for any help

    hi. thank you. this is really aggravating. i am checking the mac pro this morning (it is the one i cannot access from my laptop) and attached is the screenshot. does this look OK?
    also, i am starting to wonder is it possible that the "Computer Name" has changed itself on the network or is it possible that i have some control over /naming/ the computer? it seems to often be named "MyName Mac Pro (2)" which always bothers me since there is no 1 Mac Pro and i would like to get rid of the appended 2.
    but ALSO i don't recall ever having changed anything in system preferences so i am wondering if somehow the computer renamed itself or something weird has happened.
    finally, is it possible something is amiss with the fact that FINDER says it is connected via my icloud EMAIL account at the top of the Finder window on my Laptop whereas when i check just now on the desktop it shows that i am connnected as the SHORT NAME of my LAPTOP. i mean, when i connec tto the laptop from the desktop it shows me connected as the short name of the laptop but when i connect to the desktop as the laptop - it says i am connnected as the name of my ICLOUD ACCOUNT and i am thinking it should say i am connected as the name of my MAC PRO SHORT NAME.
    you know what i mean? is there a place in the LAPTOP to check where i input what name and password i am connecting to the Mac Pro under...
    THANK YOU

Maybe you are looking for

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

  • Job SAP_COLLECTOR_FOR_PERFMONITOR keep on running

    Dear All, I am facing problem in prd ,we have 2 active node the job SAP_COLLECTOR_FOR_PERFMONITOR keep on running eg   44,21sec,tan I have to cancel it manual this is suddenly. this happened with not all the  hourly jobs ,but  only 1 or 2 time in a d

  • SSD won't boot after using Win 7 recovery discs

    Hi, I bought a Samsung SSD 850 EVO 1TB for my HP Pavilion dv7-4012eg which had a 1TB hard drive (same size). I took off the original hard drive and attached the SSD on the primary slot, leaving the original hard drive unattached until I configure eve

  • Can't see the spot I am tracking....

    Hi all, I am trying to track a couple of hot pixels that are dancing around like crazy in some shots. I don't know why they are moving--maybe its the digital image stabiliazation, but anyway.... The Motion Tracker can't follow it for very long, so I

  • Is there any way to download photos from iPhone 5s to windows 8

    Is there any way to download photos from an iPhone5S to a pc w/ windows8?