Advertisement

05.06.2008 at 08:31PM PDT, ID: 23381566
[x]
Attachment Details

connectiion to_database

Asked by sam15 in PowerBuilder Programming Language, Oracle 9.x, PL / SQL

Tags: Sybase, PB, 10

We have a PB app that connects to an oracle database "AAA" and do most of its functions.

Now there is send_email function needed in the application. This function will need to lookup a BLOB file in table X in database BBB.  There is a db link between database AAA and BBB. However, oracle does not allow us to create a view or synonym in AAA for the table in BBB because of the BLOB column.
PB coder asked me to create local views in BBB to access all tables in AAA because they do not show up on his IDE.

Does anyone know what is the best way to do this in PB?

Cant PB create a second connection directly into BBB with userid/password and then do the SELECT from that table. do you have to close first connection or can stay open.

2.  Does PB have an API to send emails with attachments. I want to send that text file as an email attachment.

3.  In sybase IDE, does it show the data sources based on oracle tns file or you define the different sources to access the various tables you want to access.



thanks,
Start Free Trial
 
Loading Advertisement...
 
[+][-]05.06.2008 at 11:20PM PDT, ID: 21513542

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: PowerBuilder Programming Language, Oracle 9.x, PL / SQL
Tags: Sybase, PB, 10
Sign Up Now!
Solution Provided By: diasroshan
Participating Experts: 1
Solution Grade: A
 
 
[+][-]05.07.2008 at 08:23AM PDT, ID: 21517393

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.07.2008 at 11:16PM PDT, ID: 21522642

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.08.2008 at 10:32AM PDT, ID: 21526751

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.09.2008 at 11:18PM PDT, ID: 21538023

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]05.11.2008 at 03:01PM PDT, ID: 21543651

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]05.12.2008 at 11:07PM PDT, ID: 21552631

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628