Oracle query of relay and access function call does not return the list
Thanks to aid in a previous post, I received, I created an oracle 10 g feature that returns the list after you run the sql code it contains. It works in oracle, using sql developer.I need to have the list that he returned to see the place in MS Access via a relay request. It does not work so far. The string for connection etc is ok, I'm able to use passthrough queries to run sql strings correctly. But when I try to call the function through the request of relay and access initially nothing seems to happen (IE no list) and if I try to run again, there is an "ongoing call odbc error. Current operation cancelled "." There are only three records in the table. I'm missing something, someone can he spot?
The application of relay and looks like this
Select * from fn_testvalues of the double
Once that is running in oracle.
To create the test table and 2 functions below.
CREATE TABLE t_values (MyValue varchar2 (10));
Table created
INSERT INTO t_values)
SELECT 'Merced' c1 FROM dual UNION ALL
SELECT "Pixie" dual UNION ALL
SELECT "452" DOUBLE);
3 lines inserted
FUNCTION to CREATE or REPLACE RETURN NUMBER IS fn_isnum(p_val VARCHAR2)
n_val NUMBER;
BEGIN
n_val: = to_number (p_val);
RETURN 1;
EXCEPTION
WHILE OTHERS THEN
RETURN 0;
END;
/
Feature created
table test:
SELECT val, isnum fn_isnum (MyValue)
OF t_values;
VAL ISNUM
---------- ----------
Merced 0
Pixie 0
1 452
Now the function that is called in the application of relay:
create or replace function fn_testvalues
sys_refcursor is back
RC sys_refcursor;
Start
Open rc for
Select t_values.*, fn_isnum (MyValue) t_values IsNum;
Return (RC);
end fn_testvalues;
Why not?
satyaki>
satyaki>select * from v$version;
BANNER
----------------------------------------------------------------
Oracle Database 10g Enterprise Edition Release 10.2.0.1.0 - Prod
PL/SQL Release 10.2.0.1.0 - Production
CORE 10.2.0.1.0 Production
TNS for Linux: Version 10.2.0.1.0 - Production
NLSRTL Version 10.2.0.1.0 - Production
Elapsed: 00:00:00.00
satyaki>
satyaki>
satyaki>create or replace view bb
2 as
3 select *
4 from emp;
View created.
Elapsed: 00:00:00.00
satyaki>
satyaki>
satyaki>select * from bb;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO JOB1 DOB
---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ----
7521 WARD SALESMAN 7698 22-FEB-81 226.88 500 30 SALESMAN
7654 MARTIN SALESMAN 7698 28-SEP-81 1815 1400 30 SALESMAN
7788 SCOTT ANALYST 7566 19-APR-87 598.95 20 ANALYST
7839 KING PRESIDENT 17-NOV-81 7260 10 PRESIDENT
7844 TURNER SALESMAN 7698 08-SEP-81 2178 0 30 SALESMAN
7876 ADAMS CLERK 7788 23-MAY-87 159.72 20 CLERK
7900 JAMES CLERK 7698 03-DEC-81 1379.4 30 CLERK
7902 FORD ANALYST 7566 03-DEC-81 5270.76 20 ANALYST
7934 MILLER CLERK 7782 23-JAN-82 1887.6 10 CLERK
7566 Smith Manager 7839 23-JAN-82 1848 0 10 Manager 23-JAN-89
7698 Glen Manager 7839 23-JAN-82 1848 0 10 Manager 23-JAN-89
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO JOB1 DOB
---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ----
1 boock
12 rows selected.
Elapsed: 00:00:00.00
satyaki>
satyaki>
satyaki>select *
2 from bb
3 where empno = &eno;
Enter value for eno: 7521
old 3: where empno = &eno
new 3: where empno = 7521
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO JOB1 DOB
---------- ---------- --------- ---------- --------- ---------- ---------- ---------- --------- ----
7521 WARD SALESMAN 7698 22-FEB-81 226.88 500 30 SALESMAN
Elapsed: 00:00:00.00
satyaki>
satyaki>
Kind regards.
LOULOU.
Tags: Database
Similar Questions
-
I just buy Photoshop and I'm going to download and Safari says it does not recognize the address
I just buy Photoshop and I'm going to download and Safari says it does not recognize the address
Hello
If you purchased Photoshop CC, please go to https://creative.adobe.com/apps and log in here with your e-mail ID. If this is your first time plaese reset the password
Search for Photoshop and start the download of Adobe Creative cloud.
PS: Adobe creative cloud will be installed automatically
Ankit
-
function call does not - why?
Hmmmm. I don't see why it does not work. I have an application with a new class that I just created. The load class, but he will not call its own internal function.
package com.parkerandkent.components.classic.photogallery {}
Import caurina.transitions.Tweener;
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.MouseEvent;
SerializableAttribute public class CallTag extends MovieClip {}
trace ('test1');
init();
private function init (): void {}
trace ("test2");
b_arrow.buttonMode = true;
b_arrow.addEventListener (MouseEvent.CLICK, arrowMenuCLICK);
}
private function arrowMenuCLICK (): void {}
}
}
}
'Test 2' will not trigger. And I get this error message:
CallTag.as, line 10 1180: call to a method maybe not defined init.
package com.parkerandkent.components.classic.photogallery {}
Import caurina.transitions.Tweener;
import flash.display.MovieClip;
import flash.events.Event;
import flash.events.MouseEvent;
SerializableAttribute public class CallTag extends MovieClip {}
function CallTag() {}
trace ('test1');
init();
}
private function init (): void {}
trace ("test2");
b_arrow.buttonMode = true;
b_arrow.addEventListener (MouseEvent.CLICK, arrowMenuCLICK);
}
private function arrowMenuCLICK (): void {}
}
}
}
-
Laptop HP 15-R203tx: brightness (f2 and f3) function keys does NOT work
Model - HP laptop laptop 15-R203tx
OS - Windows 8.1 Pro 64-Bit
Graphics - Intel HD 5500 integrated
Dedicated NVIDIA GeForce 820 M
I updated the drivers for my also well-integrated dedicated graphics card but still my function keys f2 and f3 for brightness control does not work although all other keys work.
This PC comes with the BACK, but I started it with 8.1 Windows Pro 64-bit.
Hello
Well that does not explain why your f2/f3 keys do not work as you have only the Microsoft base driver installed - if the Intel driver has already been installed Ok, this may indicate a hardware problem.
What happens if you try to install the Intel HD 5500 driver directly from Intel - it's the 2nd file in the list on the following link.
If it installs Ok, reboot the laptop and let Windows fully load for a few minutes before checking it in.
Kind regards
DP - K
-
Function editor does not support the pointer to the digital type
Am I missing something or is it true that the CVI function Panel Editor does not support specifying a type parameter as a pointer of type number?
I see no reason why he wouldn't or shouldn't. It supports the pointer to char. And it supports a table name (which, in C, is a pointer to the first element of the array).
I guess I could use the array form as a pointer, but surely it's confusing when dealing with a simple pointer to a numeric scalar type.
I am using the function Panel Editor only for the purpose of creating a dictionary of type so I can call functions DLL in VB. Y at - he know somewhere how CVI types could are mapped to the VB types when you use the type dictionary? for example, what happens if I use an unsigned int in a function parameter (VB does not support unsigned integers)?
Menchar
Hi Menchar,
To create a pointer to an integer as a parameter to a function panel, you have two different options.
First of all, all output parameters are defined as the default pointers. So if you create an output parameter of type "int", he creates a ' int *' parameter.
Second, if you want it to appear in the entry list, you can create a data type in CVI which will appear at the bottom of the list. Data types to change your data types, go to the Options"(you must have a function Editor tab open and selected Panel to make this option available). Enter the name of the type (in this case ' int * ') and click the Add button. The new "int *" option should now appear at the bottom of the list.
Third, you can use the array form (int []), but as you say, which can be confusing for other people looking at the code. Or the other of the two first options are better choices.
As for your second question, here's a link to a page MSDN showing types in Visual Basic and their representations .NET: http://msdn.microsoft.com/en-us/library/47zceaw7 (VS.80) .aspx. This allows to make a comparison between VB and ANSI C data types. For example, to ask on unsigned integers, and this site shows that Visual Basic has an Integer type (-2,147,483,648 through 2,147,483,64) and an unsigned return, UInteger (between 0 and 4 294 967 295). From what I can tell, VB has signed versions of all its digital representations. You can then take this with a list of ANSI C data types to convert between the two. A list of ANSI C data types can be found here: http://www.exforsys.com/tutorials/c-language/c-programming-language-data-types.html
-
the coil does not return the result of the query
Hi people, I just my adventure begins with oracle sql basics course and I encountered the first problem.
as I wrote in the topic, after you run the statement I get only query itself in the output file with no query results.
exsample:
coil C:\Users\Tomasz\Desktop\cw1.txt
SELECT STARTDATE AS hire_date, employe_id, last_name, job_id
Employees;
spool off;
all advice?
Thanks in advance,
Tomasz.
Hi people, I just my adventure begins with oracle sql basics course and I encountered the first problem.
as I wrote in the topic, after you run the statement I get only query itself in the output file with no query results.
exsample:
coil C:\Users\Tomasz\Desktop\cw1.txt
SELECT STARTDATE AS hire_date, employe_id, last_name, job_id
Employees;
spool off;
You said "after the execution of the statement.
What you posted is NOT a statement; It is a script.
I select Run Script (F5) and the file contains the query and the result set.
If you use "Run the statement", you will get a file.
-
Function does not return the correct value
Hi, I'm having a strange problem and hope someone knows how to solve this problem...
I try to send a string to a function in another class and do return to a textfield, so I can add it to a movieclip and on the stage. I use it for several buttons. The problem is when I put that a string in it value returns a string for the previous call to the function that is not the string value that I want to use. Here's the function:
public void replaceMCTxt (mcString:String, xPos:Number,
yPos:Number, rolloverText:Boolean, newFontSize:uint, height: uint, width: uint = false): {TextField
var newMCTxt:TextField = new TextField();
newMCTxt.x = xPos;
newMCTxt.y = yPos;
newMCTxt.width = width;
newMCTxt.height = Height;
var textFormat:TextFormat = new TextFormat();
textFormat.align = _gameModel.screenFontAlign;
textFormat.size = newFontSize;
textFormat.font = _gameModel.screenFont;
textFormat.color = _gameModel.screenFontColor;
newMCTxt.defaultTextFormat = textFormat;
newMCTxt.text = _languageClass.getTranslation (mcString);
newMCTxt.selectable = false;
Return newMCTxt;
}
I try to call with this statement in another class:
_moreGamesTxtField = _updateLanguageClass.
("MORE GAMES", _gameModel.moreGamesTxtXPos, replaceMCTxt
_gameModel.moreGamesTxtYPos, _gameModel.moreGamesTxtWidth,
(_gameModel.moreGamesTxtHeight, _gameModel.moreGamesTxtFontSize);
Instead of giving me a movieclip "MORE GAMES", it gives me a 'PLAY' movieclip, which is what the previous call to the function used. I also had a similar problem in another function where he did the same thing with filtering of different buttons, so I think the problem is in the service, but I'm not programmer to know that it's good enough. If anyone has an idea please let me know. Thank you...
Start the survey using the trace() function to see what value is passed to and returned by some _languageClass.getTranslation ().
-
My webcam logitech research... I see myself but when my family made a video call to me I can't see them and they can't see me, but I can speak for them. We have all webcams and their work with another family member, but mine does not. Why Skype does not detect my webcam?
POgrady,
Hello and thanks for your message. You mention that your webcam works, but the problem is with Skype. Most likely, you will need get the appropriate Skype settings. I've linked the support page for Skype so that you can ask them on the required parameters, etc.Please let us know if this information did or didn't help you get your problem is resolved.See you soonEngineer Jason Microsoft Support answers visit our Microsoft answers feedback Forum and let us know what you think.
-
While trying to run some older programs (Corel) in characteristic as advertised XP mode from my new Dell laptop and Windows 7 PC, I created Virtual PC and XP mode Setup. Somewhere during this process, the system created in double My Documents, my pictures, my videos, files etc. that you can not (no authorization) access through Windows 7. I understand that they may is accessible while you were in Virtual PC. I came to my senses after the poor performance of Windows XP/Virtual PC and decided to remove remove these programs (and buy Corel for Win7). I followed the instructions for a good dismantling of Microsoft who think in the end, these inaccessible files would disappear and I would have a struture of own file again. However, duplicate inaccessible folders still remain and I can't get rid of them. Believe me - it's a pain because it's very confusing when you browse folders. There is no files in these folders, so there is nothing that we need to go.
Please, for the love of peace in my family, tell me how I can get the PC back where it was when we first install Windows 7. And - what's the problem of not having a complete control of my pc? Personally, I'm offended that Microsoft has locked the users so that they cannot use their own brain - apparently I'm not the only one... If you are willing to share, I would appreciate a detailed response.
Hello, SuperMomNot
Where are these records?
Virtual PC will create only shortcuts to installed applications in XP mode, no records. The ability to open and save files that are stored on the host computer is made via the network sharing of files between the two.
David
Microsoft Answers Support Engineer
Visit our Microsoft answers feedback Forum and let us know what you think. -
New owner Dell, autonomous worker tutoring.
My needs are simple: good advice and good backups and anti-virus now, basically that the computer works as announced and reliable.
I had an external hard drive but not the premium software, I bought. So, I made the necessary backups with the entire system partition. I'll buy another external hard drive to a comprehensive approach to backup but I potted the computer so I have lost some files?
I have a small blue clock faces that say "Restore Dell backup... "on most of my files. Is this to say that I am protected or that I have scratched the disc and may need to restore or reinstall the operating system / software virus protection and other stuff maybe later if she is funky.
A Dell technician did a check-up through, especially looking for any virus attack, given that the ads were so aggressive that I thought there may be a. Mozilla? Or Windows? How to place these ads? So, I'm happy with Dell. And I'm going to buy another external hard drive.
A good guess PC man is mean I saved, but it is not as good as the DOCUMENTATION.
Sincerely, Kate
Hi K2quill,
Since this is a new pc, call customer service and to explain that the reverse may be damaged and you need a DVD or USB upward.
-
Call.phoneNumber () does not return the phone number
I try to use the new method Call.phoneNumber () which was introduced in 10.3:
Even if I added the permission of read_phonecall_details according to the documentation, I'm still not received the phone number of outgoing calls placed on the device. The call to Call.phoneNumber () returns an empty string.
I use the Simulator to 10.3 (10.3.0.698) with Momentics 2.1 and placing me calls using the controller.
Someone managed to get the phone number? Any ideas on how to make this work would be appreciated.
It is a known problem in the Simulator, but works fine on a real device. The bug appeared in Issue Tracker here: Call.phoneNumber () always returns a null in the Simulator
-
Hello
In the 4.0.0.833 version the funcion getProperty() returns NULL when the dynamic propertyare not out,
e.g. VRFDA = table.getProperty ("Text"); -Returns a null value if the dynamic property 'Text' does not exist. The Variable VRFDA is nothing
I have version 4.1.1.888 and the GetFilter() function returns DO NOT null when the dynamic property does not exist.
Could you tell me what value returns the GetFilter() function when the dynamic property does NOT exist?
Thank you
In version 4.1 the getProperty function will return an empty string if the dynamic property does not exist.
David
-
function in pipeline does not return the first values of immediately?
I'm new to features in the pipeline. I want to get the first results of this function in the pipeline as soon as possible. But in my test case, I get all the lines at the end, when the function ends.
create or replace
dummy function
return DBMS_DEBUG_VC2COLL
PIPELINED - NOTE the keyword in pipeline
is
Start
line of conduct (to_char (sysdate, ' DD-MON-YYYY HH24:MI:SS'));))
DBMS_LOCK. Sleep (90);
line of conduct (to_char (sysdate, ' DD-MON-YYYY HH24:MI:SS'));))
return;
end;
+/+
I expect
+ January 20, 2009 08:32:51 + immediately
a 90-second delay
+ 08:34:21 + 20 January 2009 thereafter.
But I have two lines after 90 sec.
Can I change the behavior of this function somehow, or is this the only default behavior and I have to find other solutions?
Thanks in advance
MartinA parameter in your SQL * Plus has an influence on behavior, specifically the ArraySize.
by your function (pipe_nums), run this:
select * from table(pipe_nums); set arrays 5 select * from table(pipe_nums);
and notice the difference
-
Problem with the creation of New and subfolders only appear is not in the list
Thunderbird is allowing the creation of some New & subfolders, but they aren't always in the list each time.
Photo shows the current list, but they tried to get money records IMarEST & Bank. (My apologies for Hypersnap stamps)
Sorry, but the photo is not download!I use the Windows x 86 Version 8.1 - Thunderbird 31.6.0
How to subscribe to see the imap folders:
- Right click on your email account name, and then select 'subscribe '.
- IMAP folders available on the server will be listed.
- Select the ones you want to add to your e-mail client
- Click the button to subscribe.
- Press the OK button
-
setSelectedIndex (index) on a ListField call does not set the focus to the index.
Hi all
I have a ListField I show in a popup. When the listField is displayed, the focus is not set to the game past index.
Can someone please tell me what is missing here:
ListField choiceList = new ListField() { protected boolean navigationClick(int status, int time) { int index = this.getSelectedIndex(); fieldChangeNotify(0); FSApplication.getUiApplication().popScreen(FSApplication.getUiApplication().getActiveScreen()); return super.navigationClick(status, time); } choiceList.setChangeListener((FieldChangeListener) uiFilter); choiceList.setCallback(new PopUpListCallback()); add(choiceList); choiceList.setSelectedIndex(6); choiceList.setSize(choice.length, _selectedIndex); choiceList.setVisualState(VISUAL_STATE_ACTIVE | VISUAL_STATE_FOCUS);
set the size and choices first, then the selected index.
If this does not work, try invokelater for the index.
Maybe you are looking for
-
Satellite A210-1AS keyboard Removal
Sorry if this has been answered before, but, how to remove the keyboard on this laptop? I spilled liquid on the keyboard and now some of the keys have stopped working, I need tom try to remove it and clean. Thank you Lee
-
Sony Handycam DCR-HC38 2.5LCD x 40 USB camcorder
How to get it and connected computer .tells me can, t connect to the driver...
-
I produce several channels on mogulus. (see http://theallyvideo.blogspot.com/) I use a HP desktop computer smart touch and a few laptops from Sony to run the application studio to mogulus.com. Use the mogulus studio, I can watch multiple video stream
-
Cannot upgrade to Windows Vista SP 2. Error message 'update failed '.
my vista computer will not be updated to sp2 why? OK I just this backup computer and I want to keep it updated, but whenever I try to let it update to sp2 it triess and then almost at the end indicates that the update fails and he said on his return
-
my windows vista machine began to start repair, what do I do
the machine is and almost 3 years acer desktop computer, it runs windows premium