RE: Howto Unsubscribe from this list
To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). > Frank < >Von: Regis Biassala [mailto:[EMAIL PROTECTED] >Gesendet am: Freitag, 18. Juli 2003 12:44 >An: Multiple recipients of list ORACLE-L >Betreff: Howto Unsubscribe from this list > >Hi Y'all, >I'd like to unsubscribe from this list today as I am taking my holidays >finally... > >Thank you, >Regis >* >This electronic transmission is strictly confidential and >intended solely >for the addressee. It may contain information which is covered >by legal, >professional or other privilege. If you are not the intended addressee, >you must not disclose, copy or take any action in reliance of this >transmission. If you have received this transmission in error, >please notify the sender as soon as possible. > >This footnote also confirms that this message has been swept >for computer viruses. >** > >-- >Please see the official ORACLE-L FAQ: http://www.orafaq.net >-- >Author: Regis Biassala > INET: [EMAIL PROTECTED] > >Fat City Network Services-- 858-538-5051 http://www.fatcity.com >San Diego, California-- Mailing list and web hosting services >- >To REMOVE yourself from this mailing list, send an E-Mail message >to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in >the message BODY, include a line containing: UNSUB ORACLE-L >(or the name of mailing list you want to be removed from). You may >also send the HELP command for other information (like subscribing). > > --- Confidentiality Note Diese E-Mail mit allen angehängten Dateien ist ausschließlich für die Person/Personen bestimmt, an die diese adressiert ist und könnte vertrauliche und/oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht der für diese E-Mail bestimmte Adressat oder nicht zum Empfang berechtigt sein, ist Ihnen jeder Gebrauch, sowie jede Veröffentlichung, Vervielfältigung oder Weitergabewie auchdas Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt. Sollten Siediese E-Mail irrtümlicherhalten haben, benachrichtigen Sie bitte den Absender und löschen diese E-Mail von jedem Computer. E-Mail-Mitteilungen sind nicht notwendigerweise sicher. Scheidt & Bachmann übernimmt keine Verantwortung für Veränderungen dieser Mitteilung, die nach dem Senden vorgenommen wurden. Herzlichen Dank für Ihre Unterstützung! This email and any files transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the authorised recipient, any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you received this in error, please contact the sender and delete the material from any computer. E-mail messages are not necessarily secure. Scheidt & Bachmann does not accept responsibility for any changes made to this message after it was sent. Thank you for your cooperation! --- -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
PLS_INTEGER vs. LONG datatype in C
Hi all, first of all, I am no C professional, so please forgive me if I am not specifiying everthing as correct as neede, I am asking this on behalf of a colleague of mine. He has run into some problems in a plsql procedure, while moving to from Oracle 7.3.4 to Oracle 8.0.6. In one of his C applications he is performing a checksum, by just adding values. This still works ok, when he uses his C application. Now, he is in the need to replicate his simple checksum routine in plsql. That works ok under 7.3.4, but gives an overflow under 8.06. He is using the datatype PLS_INTEGER / PLS_BINARY, whereas PLS_BINARY is to be told, not to check an overflow (like it is under C), but it does :-( Is there any equivalent datatype (and handling of overflows) to the C long datatype (dWord unsigned). hope I made the problem understandable > Frank < --- Confidentiality Note Diese E-Mail mit allen angehängten Dateien ist ausschließlich für die Person/Personen bestimmt, an die diese adressiert ist und könnte vertrauliche und/oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht der für diese E-Mail bestimmte Adressat oder nicht zum Empfang berechtigt sein, ist Ihnen jeder Gebrauch, sowie jede Veröffentlichung, Vervielfältigung oder Weitergabewie auchdas Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt. Sollten Siediese E-Mail irrtümlicherhalten haben, benachrichtigen Sie bitte den Absender und löschen diese E-Mail von jedem Computer. E-Mail-Mitteilungen sind nicht notwendigerweise sicher. Scheidt & Bachmann übernimmt keine Verantwortung für Veränderungen dieser Mitteilung, die nach dem Senden vorgenommen wurden. Herzlichen Dank für Ihre Unterstützung! This email and any files transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the authorised recipient, any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you received this in error, please contact the sender and delete the material from any computer. E-mail messages are not necessarily secure. Scheidt & Bachmann does not accept responsibility for any changes made to this message after it was sent. Thank you for your cooperation! --- -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
AW: v$session question
that helped, tnx a lot ! > Frank < >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] >Gesendet am: Dienstag, 15. Juli 2003 16:15 >An: Multiple recipients of list ORACLE-L >Betreff: Re: v$session question > >v$session is a synonym. > >all the v$ are really v_$. go to dba_views... see for yourself. > >so grant on v_$. everyone gets nabbed by that one atleast once. >> >> From: "Foelz.Frank" <[EMAIL PROTECTED]> >> Date: 2003/07/15 Tue AM 09:59:31 EDT >> To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> >> Subject: v$session question >> >> Hi all, >> >> anyone able to tell me, how to grant v$session select >privileges to a user ? >> >> >> grant select on v$session to xyuser* >> ORA-02030: can only select from fixed tables/views >> >> >> Cause: >> The keyword FILE is required in this context. --- Confidentiality Note Diese E-Mail mit allen angehängten Dateien ist ausschließlich für die Person/Personen bestimmt, an die diese adressiert ist und könnte vertrauliche und/oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht der für diese E-Mail bestimmte Adressat oder nicht zum Empfang berechtigt sein, ist Ihnen jeder Gebrauch, sowie jede Veröffentlichung, Vervielfältigung oder Weitergabewie auchdas Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt. Sollten Siediese E-Mail irrtümlicherhalten haben, benachrichtigen Sie bitte den Absender und löschen diese E-Mail von jedem Computer. E-Mail-Mitteilungen sind nicht notwendigerweise sicher. Scheidt & Bachmann übernimmt keine Verantwortung für Veränderungen dieser Mitteilung, die nach dem Senden vorgenommen wurden. Herzlichen Dank für Ihre Unterstützung! This email and any files transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the authorised recipient, any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you received this in error, please contact the sender and delete the material from any computer. E-mail messages are not necessarily secure. Scheidt & Bachmann does not accept responsibility for any changes made to this message after it was sent. Thank you for your cooperation! --- -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
v$session question
sorry, cut/copy/paste mismatch. I took the wrong error description. again.. anyone able to tell me, how to grant v$session select privileges to a user ? --- grant select on v$session to xyuser* ORA-02030: can only select from fixed tables/views --- ORA-02030 can only select from fixed tables/views Cause: An operation other than SELECT on a fixed dynamic performance table or view was attempted. It is only possible to select from fixed tables or views. Action: Remove the fixed table or view name from the SELECT statement. --- But I must know, what user is doing things to a definite table ! > Frank < --- Confidentiality Note Diese E-Mail mit allen angehängten Dateien ist ausschließlich für die Person/Personen bestimmt, an die diese adressiert ist und könnte vertrauliche und/oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht der für diese E-Mail bestimmte Adressat oder nicht zum Empfang berechtigt sein, ist Ihnen jeder Gebrauch, sowie jede Veröffentlichung, Vervielfältigung oder Weitergabewie auchdas Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt. Sollten Siediese E-Mail irrtümlicherhalten haben, benachrichtigen Sie bitte den Absender und löschen diese E-Mail von jedem Computer. E-Mail-Mitteilungen sind nicht notwendigerweise sicher. Scheidt & Bachmann übernimmt keine Verantwortung für Veränderungen dieser Mitteilung, die nach dem Senden vorgenommen wurden. Herzlichen Dank für Ihre Unterstützung! This email and any files transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the authorised recipient, any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you received this in error, please contact the sender and delete the material from any computer. E-mail messages are not necessarily secure. Scheidt & Bachmann does not accept responsibility for any changes made to this message after it was sent. Thank you for your cooperation! --- -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
v$session question
Hi all, anyone able to tell me, how to grant v$session select privileges to a user ? grant select on v$session to xyuser* ORA-02030: can only select from fixed tables/views Cause: The keyword FILE is required in this context. Action: Check syntax, insert keyword FILE as required, and try again. ORA-02030 can only select from fixed tables/views > Frank Foelz Ó¿Ò < _ Scheidt & Bachmann GmbH Gestaltung Parkhaussysteme Breite Strasse 132 41238 Moenchengladbach Phone : ++49 2166 / 266 - 837 Fax: ++49 2166 / 266 - 615 e-mail : mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> URL: http://www.scheidt-bachmann.de <http://www.scheidt-bachmann.de/> --- Confidentiality Note Diese E-Mail mit allen angehängten Dateien ist ausschließlich für die Person/Personen bestimmt, an die diese adressiert ist und könnte vertrauliche und/oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht der für diese E-Mail bestimmte Adressat oder nicht zum Empfang berechtigt sein, ist Ihnen jeder Gebrauch, sowie jede Veröffentlichung, Vervielfältigung oder Weitergabewie auchdas Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt. Sollten Siediese E-Mail irrtümlicherhalten haben, benachrichtigen Sie bitte den Absender und löschen diese E-Mail von jedem Computer. E-Mail-Mitteilungen sind nicht notwendigerweise sicher. Scheidt & Bachmann übernimmt keine Verantwortung für Veränderungen dieser Mitteilung, die nach dem Senden vorgenommen wurden. Herzlichen Dank für Ihre Unterstützung! This email and any files transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the authorised recipient, any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you received this in error, please contact the sender and delete the material from any computer. E-mail messages are not necessarily secure. Scheidt & Bachmann does not accept responsibility for any changes made to this message after it was sent. Thank you for your cooperation! --- -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
AW: calling an external procedure
>This line jumps out: > >> create library zPrintString as 'c:/newsys/bin/PrintString.dll'; > >Any difference if you change those to backslashes? :-))) yes, indeed ! that's it ! works perfectly now ! TNX to all of you, who helped a blind man ;-) > Frank < _ Confidentiality Notes This email and any files transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the authorised recipient, any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you received this in error, please contact the sender and delete the material from any computer. E-mail messages are not necessarily secure. Scheidt & Bachmann does not accept responsibility for any changes made to this message after it was sent. Thank you for your cooperation! Diese E-Mail und alle angehängten Dateien ist ausschließlich für die Person / Personen bestimmt, an die diese adressiert ist und könnte vertrauliche und / oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht der für diese E-Mail bestimmte Adressat oder nicht zum Empfang berechtigt sein, ist Ihnen jeder Gebrauch, sowie jede Veröffentlichung, Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt. Sollten Sie diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie bitte den Absender und löschen diese E-Mail von jedem Computer. E-Mail-Mitteilungen sind nicht notwendigerweise sicher. Scheidt & Bachmann übernimmt keine Verantwortung für Veränderungen dieser Mitteilung, die nach dem Senden vorgenommen wurden. Herzlichen Dank für Ihre Unterstützung! - -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
calling an external procedure
Hi all, before I smash my head against the wall.. I am trying to execute an external procedure defined in a C .dll. I have set up my tnsnames/listener.ora as following : --- # C:\ORANT\NET80\ADMIN\TNSNAMES.ORA Configurationfile :C:\ORANT\net80\admin\tnsnames.ora # Generated by Oracle Net8 Assistant Tcp-loopback.world = (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (Host = 127.0.0.1) (Port = 1521) ) ) (CONNECT_DATA = (SID = ORCL) ) ) extproc_connection_data.world = (DESCRIPTION = (ADDRESS = (PROTOCOL = IPC) (KEY = ORCL) ) (CONNECT_DATA = (SID = extproc) ) ) # C:\ORANT\NET80\ADMIN\LISTENER.ORA Configuration File:C:\ORANT\net80\admin\listener.ora # Generated by Oracle Net8 Assistant LISTENER = (ADDRESS_LIST = (ADDRESS= (PROTOCOL= IPC) (KEY= oracle.world) ) (ADDRESS= (PROTOCOL= IPC) (KEY= ORCL) ) (ADDRESS= (PROTOCOL= TCP) (Host= ff1) (Port= 1521) ) (ADDRESS= (PROTOCOL= TCP) (Host= ff1) (Port= 1526) ) (ADDRESS= (PROTOCOL= SPX) (Service= inventory_lsnr) ) (ADDRESS= (PROTOCOL= NMP) (SERVER= nt_inventory_box) (PIPE= ORAPIPE) ) ) STARTUP_WAIT_TIME_LISTENER = 0 CONNECT_TIMEOUT_LISTENER = 10 SID_LIST_LISTENER = (SID_LIST = (SID_DESC = (GLOBAL_DBNAME = ff1) (SID_NAME = ORCL) ) (SID_DESC = (SID_NAME = extproc) (PROGRAM=extproc) (ORACLE_HOME=$ORACLE_HOME) ) ) LOG_DIRECTORY_LISTENER = c:\orant\net80\trace TRACE_DIRECTORY_LISTENER = c:\orant\net80\trace TRACE_LEVEL_LISTENER = admin The plsql test code is : drop library zPrintString; create library zPrintString as 'c:/newsys/bin/PrintString.dll'; select * from user_libraries; create or replace procedure PrintString (OutPutString IN VARCHAR2) as external Library zPrintString name "zPrintString" parameters (OutPutString STRING); begin execute PrintString('testing'); end; -- Oracle tells me, that it is not able, to loead the dll. Error message is : ORA-06520: PL/SQL: Error loading external library ORA-06522: Unable to load DLL ORA-06512: at "SYS.PRINTSTRING", line 0 ORA-06512: at line 2 -- is anyone able, to help ? TNX Frank Confidentiality Notes This email and any files transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the authorised recipient, any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you received this in error, please contact the sender and delete the material from any computer. E-mail messages are not necessarily secure. Scheidt & Bachmann does not accept responsibility for any changes made to this message after it was sent. Thank you for your cooperation! Diese E-Mail und alle angehängten Dateien ist ausschließlich für die Person / Personen bestimmt, an die diese adressiert ist und könnte vertrauliche und / oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht der für diese E-Mail bestimmte Adressat oder nicht zum Empfang berechtigt sein, ist Ihnen jeder Gebrauch, sowie jede Veröffentlichung, Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt. Sollten Sie diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie bitte den Absender und löschen diese E-Mail von jedem Computer. E-Mail-Mitteilungen sind nicht notwendigerweise sicher. Scheidt & Bachmann übernimmt keine Verantwortung für Veränderungen dieser Mitteilung, die nach dem Senden vorgenommen wurden. Herzlichen Dank für Ihre Unterstützung! - -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru')
AW: printing out of Pl/SQL
>Von: Goulet, Dick [mailto:[EMAIL PROTECTED] > >Frank, > > I've not done dll calls from Oracle as well, we use >HP-UX and Linux, which I believe is much simpler. Anyhow, >along a similar lane, here's a snippet of extproc C code that >I've written to run an SQR from a PL/SQL call: > >char *run_sqr(char *prog, char *uname) >{ FILE *sout = NULL; > FILE *lg = NULL; > char cmd[1000]; > char bfr[200]; > char *rval = NULL; . Mornin' Dick, Thank you, it's very kind of you. I will give your snippet away to one of our C gurus. I'll see, what he can make out of this. Thank you again > Frank < Confidentiality Notes This email and any files transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the authorised recipient, any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you received this in error, please contact the sender and delete the material from any computer. E-mail messages are not necessarily secure. Scheidt & Bachmann does not accept responsibility for any changes made to this message after it was sent. Thank you for your cooperation! Diese E-Mail und alle angehängten Dateien ist ausschließlich für die Person / Personen bestimmt, an die diese adressiert ist und könnte vertrauliche und / oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht der für diese E-Mail bestimmte Adressat oder nicht zum Empfang berechtigt sein, ist Ihnen jeder Gebrauch, sowie jede Veröffentlichung, Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt. Sollten Sie diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie bitte den Absender und löschen diese E-Mail von jedem Computer. E-Mail-Mitteilungen sind nicht notwendigerweise sicher. Scheidt & Bachmann übernimmt keine Verantwortung für Veränderungen dieser Mitteilung, die nach dem Senden vorgenommen wurden. Herzlichen Dank für Ihre Unterstützung! - -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: printing out of Pl/SQL
zung! > >--- >- >- > > > >>-Ursprüngliche Nachricht- >>Von: Baswannappa, Shiva [mailto:[EMAIL PROTECTED] >>Gesendet am: Montag, 30. Juni 2003 18:09 >>An: Multiple recipients of list ORACLE-L >>Betreff: RE: printing out of Pl/SQL >> >>Hi >> >>I came across similar situation few months ago. You could do >>following in NT >>environment. >> >>1. Have the UTL_FILE write to a file in directory called >>'printdir' (you can >>name it whatever you like) >>2. Write a NT Shell script to check for any file in >>'printdir'. if there is >>one, use 'print filename ' or 'copy xx lpt1:' or any other networked >>printer. >>3. Once file printing is complete, have the file moved to >>another directory >>or delete it from 'printdir' >>4. schedule a periodic job scheduler to execute NT shell script. >> >>There are some permission requirements to for the scheduler to >>execute NT >>shell script. >> >>First test printing of file from the 'printdir' in command >>shell and then >>incorporate same into shell script. >> >>If you prefer, you could use shell command to schedule >>periodic execution of >>shell script instead of job scheduler. >> >>HTH >> >>Shiva >> >> >> >>-Original Message- >>Sent: Monday, June 30, 2003 10:05 AM >>To: Multiple recipients of list ORACLE-L >> >> >>Hi >> >>SPOOL OUT will only write the SQL*plus output to the default >printer on >>UNIX it is not implemented in SQL*plus for NT. >> >>You cannot do what you are trying to do below. UTL_FILE can only read >>and write clear text files. I am not an expert on windows >internals but >>lpt1 is a device / port so should be some sort of device driver so i >>guess it has a different file type. UTL_FILE probably does a check >>internally to test if the file being opened is a text file. your best >>bet is to use C to write an external procedure to do it, or >>perhaps pipe >>the output from a text file to the printer externally. i.e >use utl_file >>to write to a file and have a batch job that runs every few >minutes and >>spools the file to the printer? >> >>hth >> >>kind regards >> >>Pete >> >>-- >>Pete Finnigan >>email:[EMAIL PROTECTED] >>Web site: http://www.petefinnigan.com - Oracle security audit >>specialists >>Book:Oracle security step-by-step Guide - see >http://store.sans.org for >>details. >> >>-- >>Please see the official ORACLE-L FAQ: http://www.orafaq.net >>-- >>Author: Pete Finnigan >> INET: [EMAIL PROTECTED] >> >>Fat City Network Services-- 858-538-5051 http://www.fatcity.com >>San Diego, California-- Mailing list and web hosting services >>- >>To REMOVE yourself from this mailing list, send an E-Mail message >>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in >>the message BODY, include a line containing: UNSUB ORACLE-L >>(or the name of mailing list you want to be removed from). You may >>also send the HELP command for other information (like subscribing). >>-- >>Please see the official ORACLE-L FAQ: http://www.orafaq.net >>-- >>Author: Baswannappa, Shiva >> INET: [EMAIL PROTECTED] >> >>Fat City Network Services-- 858-538-5051 http://www.fatcity.com >>San Diego, California-- Mailing list and web hosting services >>- >>To REMOVE yourself from this mailing list, send an E-Mail message >>to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in >>the message BODY, include a line containing: UNSUB ORACLE-L >>(or the name of mailing list you want to be removed from). You may >>also send the HELP command for other information (like subscribing). >> >-- >Please see the official ORACLE-L FAQ: http://www.orafaq.net >-- >Author: Foelz.Frank > INET: [EMAIL PROTECTED] > >Fat City Network Services-- 858-538-5051 http://www.fatcity.com >San Diego, California-- Mailing list and web hosting services >----- >To REMOVE yourself from this mailing list, send an E-Mail message >to: [EMAIL PROTECTED] (n
RE: printing out of Pl/SQL
PROTECTED] > >Fat City Network Services-- 858-538-5051 http://www.fatcity.com >San Diego, California-- Mailing list and web hosting services >- >To REMOVE yourself from this mailing list, send an E-Mail message >to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in >the message BODY, include a line containing: UNSUB ORACLE-L >(or the name of mailing list you want to be removed from). You may >also send the HELP command for other information (like subscribing). >-- >Please see the official ORACLE-L FAQ: http://www.orafaq.net >-- >Author: Baswannappa, Shiva > INET: [EMAIL PROTECTED] > >Fat City Network Services-- 858-538-5051 http://www.fatcity.com >San Diego, California-- Mailing list and web hosting services >--------- >To REMOVE yourself from this mailing list, send an E-Mail message >to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in >the message BODY, include a line containing: UNSUB ORACLE-L >(or the name of mailing list you want to be removed from). You may >also send the HELP command for other information (like subscribing). > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: printing out of Pl/SQL
it, is prohibited. If you received this in error, please >contact the sender and delete the material from any computer. >E-mail messages are not necessarily secure. Scheidt & Bachmann does not >accept responsibility for any changes made to this message after it was >sent. >Thank you for your cooperation! >Diese E-Mail und alle angehängten Dateien ist ausschließlich für die >Person >/ Personen bestimmt, an die diese adressiert ist und könnte >vertrauliche >und >/ oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht >der >für diese E-Mail bestimmte Adressat oder nicht zum Empfang berechtigt >sein, >ist Ihnen jeder Gebrauch, sowie jede Veröffentlichung, Vervielfältigung >oder >Weitergabe wie auch das Ergreifen oder Unterlassen von Maßnahmen im >Vertrauen auf erlangte Information untersagt. Sollten Sie diese E-Mail >irrtümlich erhalten haben, benachrichtigen Sie bitte den Absender und >löschen diese E-Mail von jedem Computer. >E-Mail-Mitteilungen sind nicht notwendigerweise sicher. Scheidt & >Bachmann >übernimmt keine Verantwortung für Veränderungen dieser Mitteilung, die >nach >dem Senden vorgenommen wurden. >Herzlichen Dank für Ihre Unterstützung! >--- >- > >- >-- >Please see the official ORACLE-L FAQ: http://www.orafaq.net >-- >Author: Foelz.Frank > INET: [EMAIL PROTECTED] > >Fat City Network Services-- 858-538-5051 http://www.fatcity.com >San Diego, California-- Mailing list and web hosting services >- >To REMOVE yourself from this mailing list, send an E-Mail message >to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in >the message BODY, include a line containing: UNSUB ORACLE-L >(or the name of mailing list you want to be removed from). You may >also send the HELP command for other information (like subscribing). >-- >Please see the official ORACLE-L FAQ: http://www.orafaq.net >-- >Author: Gogala, Mladen > INET: [EMAIL PROTECTED] > >Fat City Network Services-- 858-538-5051 http://www.fatcity.com >San Diego, California-- Mailing list and web hosting services >- >To REMOVE yourself from this mailing list, send an E-Mail message >to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in >the message BODY, include a line containing: UNSUB ORACLE-L >(or the name of mailing list you want to be removed from). You may >also send the HELP command for other information (like subscribing). > > >-- >Please see the official ORACLE-L FAQ: http://www.orafaq.net >-- >Author: Igor Neyman > INET: [EMAIL PROTECTED] > >Fat City Network Services-- 858-538-5051 http://www.fatcity.com >San Diego, California-- Mailing list and web hosting services >- >To REMOVE yourself from this mailing list, send an E-Mail message >to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in >the message BODY, include a line containing: UNSUB ORACLE-L >(or the name of mailing list you want to be removed from). You may >also send the HELP command for other information (like subscribing). >-- >Please see the official ORACLE-L FAQ: http://www.orafaq.net >-- >Author: Gogala, Mladen > INET: [EMAIL PROTECTED] > >Fat City Network Services-- 858-538-5051 http://www.fatcity.com >San Diego, California-- Mailing list and web hosting services >- >To REMOVE yourself from this mailing list, send an E-Mail message >to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in >the message BODY, include a line containing: UNSUB ORACLE-L >(or the name of mailing list you want to be removed from). You may >also send the HELP command for other information (like subscribing). > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
AW: printing out of Pl/SQL
Hi everybody, Great list ! TNX for your kind support... I will give these hints a try, and let you all know, if they solved my problem. > Frank < Confidentiality Notes This email and any files transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the authorised recipient, any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you received this in error, please contact the sender and delete the material from any computer. E-mail messages are not necessarily secure. Scheidt & Bachmann does not accept responsibility for any changes made to this message after it was sent. Thank you for your cooperation! Diese E-Mail und alle angehängten Dateien ist ausschließlich für die Person / Personen bestimmt, an die diese adressiert ist und könnte vertrauliche und / oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht der für diese E-Mail bestimmte Adressat oder nicht zum Empfang berechtigt sein, ist Ihnen jeder Gebrauch, sowie jede Veröffentlichung, Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt. Sollten Sie diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie bitte den Absender und löschen diese E-Mail von jedem Computer. E-Mail-Mitteilungen sind nicht notwendigerweise sicher. Scheidt & Bachmann übernimmt keine Verantwortung für Veränderungen dieser Mitteilung, die nach dem Senden vorgenommen wurden. Herzlichen Dank für Ihre Unterstützung! - >-Ursprüngliche Nachricht- >Von: Gogala, Mladen [mailto:[EMAIL PROTECTED] >Gesendet am: Freitag, 27. Juni 2003 17:40 >An: Multiple recipients of list ORACLE-L >Betreff: RE: printing out of Pl/SQL > >Oh, I missed the "PL/SQL" part. Here it is: > >create or replace directory dev as '/dev'; >grant read on dev to public; >fp:=utl_file.fopen('dev','lpt0','w',255); > > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
AW: printing out of Pl/SQL
sounds like some Unix/Linux I am on NT / Oracle 8.0.6 > Frank < >-Ursprüngliche Nachricht- >Von: Gogala, Mladen [mailto:[EMAIL PROTECTED] >Gesendet am: Freitag, 27. Juni 2003 16:14 >An: Multiple recipients of list ORACLE-L >Betreff: RE: printing out of Pl/SQL > >dd if= of=/dev/lpt1 > >Mladen Gogala >Oracle DBA >Phone:(203) 459-6855 >Email:[EMAIL PROTECTED] -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
printing out of Pl/SQL
Hi gurus, anyone knows of a possibility to directly send data to :LPT1 ? I am in the need of printing online when something definite happens to the DB... TNX > Frank < Confidentiality Notes This email and any files transmitted is intended only for the person or entity to which it is addressed and may contain confidential and/or privileged material. If you are not the authorised recipient, any use, disclosure, copying, distribution or any action taken or omitted to be taken in reliance on it, is prohibited. If you received this in error, please contact the sender and delete the material from any computer. E-mail messages are not necessarily secure. Scheidt & Bachmann does not accept responsibility for any changes made to this message after it was sent. Thank you for your cooperation! Diese E-Mail und alle angehängten Dateien ist ausschließlich für die Person / Personen bestimmt, an die diese adressiert ist und könnte vertrauliche und / oder rechtlich geschützte Informationen enthalten. Sollten Sie nicht der für diese E-Mail bestimmte Adressat oder nicht zum Empfang berechtigt sein, ist Ihnen jeder Gebrauch, sowie jede Veröffentlichung, Vervielfältigung oder Weitergabe wie auch das Ergreifen oder Unterlassen von Maßnahmen im Vertrauen auf erlangte Information untersagt. Sollten Sie diese E-Mail irrtümlich erhalten haben, benachrichtigen Sie bitte den Absender und löschen diese E-Mail von jedem Computer. E-Mail-Mitteilungen sind nicht notwendigerweise sicher. Scheidt & Bachmann übernimmt keine Verantwortung für Veränderungen dieser Mitteilung, die nach dem Senden vorgenommen wurden. Herzlichen Dank für Ihre Unterstützung! - -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
PLSql and printing
Hi all, is there a possibility to directly print to the standardprinter from without plsql procedures ? Maybe it is possible to utl_file.fOpen a printer in some way ? any hints are welcome ! TNX > Frank < -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
How to extract BLOB's into files ??
Hi all, is there a way of extracting image data (BLOB), into a file in the filesystem. i.e. via PlSQL. I am working on Oracle8 / Windows. I have no idea, where to start, as this is the first time, I have to use BLOB's any hints are appreciated > Frank < -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
PlSQL output on Client machine
Hi folks, how can I tell a PLSQL script not to store it's UTL_FILE.Put_Line(fHandle,'TEXT') output to the filesystem of the server, but on the client ? Whenever I run this locally it's ok. But if the DB is on a network server, it's filesystem is used. I am using NT/SP6/Oracle 8x. Is this possible ??? TNX > Frank < -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: Return the first row only
Select * from ( select 'shipment' table_name,ce.display_name,st.timestamp, sequence from shipment_timestamp st, customer_event ce, xm_field xm where shipment_id = 10402344721477 and ce.CUSTOMER_MOT_ID = 1040130035205 and xm.field_id = ce.field_id nd st.event_id = xm.event_id union select 'container' table_name,ce.display_name,sct.timestamp, sequence from shipment_container_timestamp sct, customer_event ce, xm_field xm where shipment_id = 10402344721477 and ce.CUSTOMER_MOT_ID = 1040130035205 and xm.field_id = ce.field_id and sct.event_id = xm.event_id nion select 'order' table_name,ce.display_name,ot.timestamp, sequence from order_timestamp ot, shipment_order so,customer_event ce, xm_field xm where so.shipment_id = 10402344721477 and so.order_id = 2 and ot.shipment_order_id = so.shipment_order_id and ce.CUSTOMER_MOT_ID = 1040130035205 and xm.field_id = ce.field_id and ot.event_id = xm.event_id order by sequence desc ) where rownum < 2 don't expect it to be fast ;-) > Frank < >Von: Krishnaswamy, Ranganath >[mailto:[EMAIL PROTECTED]] >Gesendet am: Mittwoch, 29. Januar 2003 13:29 >An: Multiple recipients of list ORACLE-L >Betreff: Return the first row only > >Hi List, > >I have the below query which returns 13 records. In this I >want to display >only the 1st row. Is it possible to do this through rownum or >any other >function or pseudo column? If so, please let me know the >same. Any help in >this regard is very much appreciated. > >select 'shipment' table_name,ce.display_name,st.timestamp, sequence >from shipment_timestamp st, customer_event ce, xm_field xm >where shipment_id = 10402344721477 . >from shipment_container_timestamp sct, customer_event ce, xm_field xm >and ot.shipment_order_id = so.shipment_order_id >and ce.CUSTOMER_MOT_ID = 1040130035205 >and xm.field_id = ce.field_id >and ot.event_id = xm.event_id order by sequence desc > >Thanks and Regards, > >Ranganath -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Oracle SPID vs. NT PIDs (was :100% CPU utilization, urgent)
Mario so how comes, that I am not able to find the corresponding SPID to my NT-processes ??? I tried the following statement : # select substr(a.spid,1,5) pid, substr(b.sid,1,5) sid, substr(b.serial#,1,5) ser#, machine box, substr(b.username,1,10) username, -- b.server, substr(b.osuser,1,8) os_user, substr(b.program,1,30) program from v$session b, v$process a where b.paddr = a.addr and type='USER' order by spid; ## and I got : PID SID SER# BOX USERNAME OS_USER PROGRAM - - - --- -- - 00111 5810121 networkname xx xxx C:\myexe.exe ### (beware of wordwrap here) If find the process myexe.exe on networkname in the taskmanager. It's PID is : 478 (HEX 1DE). The database is on a separate server in the network. None of the processes, running on the client could pointed to a SPID on the server. ??? > Frank < >-Ursprüngliche Nachricht- >Von: Broodbakker, Mario [mailto:[EMAIL PROTECTED]] >Gesendet am: Montag, 20. Januar 2003 13:59 >An: Multiple recipients of list ORACLE-L >Betreff: RE: 100% CPU utilization, urgent > >Frank, > >I'm pretty sure they do: > >SQL> select spid,program from v$process; > >SPID PROGRAM >- -- > PSEUDO >892 ORACLE.EXE >896 ORACLE.EXE >1044 ORACLE.EXE >528 ORACLE.EXE >616 ORACLE.EXE >792 ORACLE.EXE >300 ORACLE.EXE > >From Pstat: > >pid:6a8 pri: 8 Hnd: 206 Pf: 43673 Ws: 17828K oracle.exe > tid pri Ctx Swtch StrtAddrUser Time Kernel Time State > 424 8 937 77E99264 0:00:00.020 0:00:01.281 Wait:Executive > 690 851 77E83775 0:00:00.000 0:00:00.020 Wait:UserRequest > 6f8 8 2 77E83775 0:00:00.000 0:00:00.000 Wait:UserRequest > 510 9 7 77E83775 0:00:00.000 0:00:00.000 Wait:UserRequest > 558 8 4 77E83775 0:00:00.000 0:00:00.010 >Wait:DelayExecution > 450 971 77E83775 0:00:00.000 0:00:00.000 Wait:EventPairLow > 37c 8 8158 77E83775 0:00:00.220 0:00:00.861 Wait:UserRequest > 380 8 926 77E83775 0:00:00.020 0:00:00.090 Wait:UserRequest > 414 8 1040 77E83775 0:00:00.010 0:00:00.270 Wait:UserRequest > 210 9 1837 77E83775 0:00:00.040 0:00:00.080 Wait:UserRequest > 268 8 237 77E83775 0:00:00.420 0:00:00.150 Wait:UserRequest > 318 965 77E83775 0:00:00.010 0:00:00.040 Wait:UserRequest > 12c 9 6347 77E83775 0:02:30.826 0:00:00.821 Wait:UserRequest > >The last tid (12c hex) equals to 300: that's my thread after >running Jonathans world famous kill_cpu script. >You can checkout (after converting to dec) a few of the others too. >This was the case on NT4 and I just showed this on W2K >In perfmon you can find the thread_id in the Thread Object >(don't confuse it with the perfmon's object_id!), and off >course the cpu usage of the corresponding thread. > >regards, >Mario >Btw I didn't see your earlier question, since I joined the >list a few days ago, please send it to me if you want a more >specific answer (or correct me if I'm wrong) > > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
RE: 100% CPU utilization, urgent
>If I remember correctly (from a previous NT-life): >v$process.spid maps to the NT thread_id. no, they don't !!! (at least NT4 with a SQLNet connection to a DB Server) (see my question I posted a few days ago) > Frank < >Von: Broodbakker, Mario [mailto:[EMAIL PROTECTED]] >Gesendet am: Montag, 20. Januar 2003 11:34 >An: Multiple recipients of list ORACLE-L >Betreff: RE: 100% CPU utilization, urgent > >If I remember correctly (from a previous NT-life): >v$process.spid maps to the NT thread_id. The thread(s) causing >this can be found probably by looking at pstat or perfmon: >here you can see the cpu consumption. Also you can probably >deduce it from v$sesstat's 'cpu used by this session': it will >be high compared to others (if it's just 1 runaway thread).. >regards, >Mario Broodbakker > -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
ORacle PID = WinNT PID ?????
Hi all, can anyone tell me, if the Oracle PID has to be the same as the Windos process id ? I ran the following script, to find ou, if a hanging process is still connected to the database: select substr(a.spid,1,5) pid, substr(b.sid,1,5) sid, substr(b.serial#,1,5) ser#, machine box, substr(b.username,1,10) username, -- b.server, substr(b.osuser,1,8) os_user, substr(b.program,1,30) program from v$session b, v$process a where b.paddr = a.addr and type='USER' order by spid; PID SID SER# BOX USERNAME OS_USER PROGRAM - - - --- -- -- 00111 5810121 networkname xx xxx C:\myexe.exe If find the process myexe.exe on networkname in the taskmanager the PID is : 478 (HEX 1DE). The database is on a separate server in the network. TNX > Frank < -- Please see the official ORACLE-L FAQ: http://www.orafaq.net -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- 858-538-5051 http://www.fatcity.com San Diego, California-- Mailing list and web hosting services - To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
dbms_job question
Hi all, I have used the dbms_job package in some cases. Normally I use the INTERVAL method of the packages. i.e. 30 sec. But soemtimes it occurs, that users change their system time to the future to test something, then changing back to the correct time. The INTERVAL job then stops, as he has not reached his "future" time.. any ideas to handle this ?? (Oracle 7.3.4.1 on NT4) TNX > Frank < -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
AW: Unused users for the last 30 and 60 days.
oops, sorry, I had it in my private input folder. should check my filter settings :-))) > Frank < >-Ursprüngliche Nachricht----- >Von: Foelz.Frank [mailto:[EMAIL PROTECTED]] >Gesendet am: Freitag, 1. März 2002 07:58 >An: Multiple recipients of list ORACLE-L >Betreff: AW: Unused users for the last 30 and 60 days. > >maybe you should write to the list ??!!! > >> Frank < > > -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
AW: Unused users for the last 30 and 60 days.
maybe you should write to the list ??!!! > Frank < >-Ursprüngliche Nachricht- >Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] >Gesendet am: Donnerstag, 28. Februar 2002 19:54 >An: Multiple recipients of list ORACLE-L >Betreff: Unused users for the last 30 and 60 days. > > >Hi All, > >I want to have report of all the users who has not used their Oracle >username for the last 30 and 60 days. >Any views how can I get the report. > >Thanks, >Deepender -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
starting an .exe job
Hi all, is it possible to start an arbitrary .exe out of PlSQL ??? I am running on NT4/Oracle 7.3.4 TNX > Frank Foelz < _ Scheidt & Bachmann GmbH Gestaltung Parkhaussysteme Breite Strasse 132 41238 Moenchengladbach Phone : ++49 2166 / 266 - 837 Fax: ++49 2166 / 266 - 615 e-mail : mailto:[EMAIL PROTECTED] URL: http://www.scheidt-bachmann.de -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
AW: auditing tables
TNX for your answers. What I need is exactly what Oracle doesn't support. Logging "who" changed "what" in a special area of our database. I think triggering the events will be much more specific and more easy to change. In case all our applications use the same database and user, I am trying to check out what application is changing monitored tables (i.e. c:\app\userapp\app.exe is changing table1). What do you think of that ?? greets > Frank < >Von: Rachel Carmichael [mailto:[EMAIL PROTECTED]] > >what sort of information are you looking to audit? if you want any >sort of detail, you are better off with triggers and possibly an audit >table. Oracle doesn't record WHAT has been changed, just that the >table was accessed. So you don't know the row etc... > > >--- "Foelz.Frank" <[EMAIL PROTECTED]> wrote: >> Hi all, >> >> does anyone have experience in using Oracle's possibilities of >> auditing >> a database ?? >> >> I am interested in performance questions i.e. is it a hughe loss of >> performance >> when auditing tables Inserts/Updates/Deletes. Should I use triggers >> instead >> ? >> >> any hints (comments, websites, etc...) are welcome. >> >> > Frank < >> -- -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
auditing tables
Hi all, does anyone have experience in using Oracle's possibilities of auditing a database ?? I am interested in performance questions i.e. is it a hughe loss of performance when auditing tables Inserts/Updates/Deletes. Should I use triggers instead ? any hints (comments, websites, etc...) are welcome. > Frank < -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
AW: Oracle Books
Hi, I would suggest you should take a look at Osborne Oracle Press !!! They are very good !! www.osborne.com i.e. ISBN.: 0-07-212048-7 Oracle Developer Advanced Forms & Reports very powerful knowledge !! > Frank < >Von: Gagandeep Singh [mailto:[EMAIL PROTECTED]] > >Greetings All !!! > >Could anyone tell me which book is best for the oracle >developer which is compatible with Oracle 8i. > >Regards, > >Gagandeep > -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
AW: Decimal to Hex conversion
Hi helpers, just a note to say thank you, to everyone who gave me hints, packages and func.s !!! Great maillist !!! TNX > Frank Foelz < _ Scheidt & Bachmann GmbH Gestaltung Parkhaussysteme Breite Strasse 132 41238 Moenchengladbach Phone : ++49 2166 / 266 - 837 Fax: ++49 2166 / 266 - 615 e-mail : mailto:[EMAIL PROTECTED] URL: http://www.scheidt-bachmann.de -Ursprüngliche Nachricht- Von: Foelz.Frank [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 8. Februar 2001 11:15 An: Multiple recipients of list ORACLE-L Betreff: Decimal to Hex conversion Hi everybody, I am facing a problem converting from decimal values to hexadecimal values. i.e. col1 col2 -- 2021 801 should give (2021*65536+801)=132449057 I am asked to present this value in hexView like : 07E50321 any suggestions howto convert (probably via simple SQL) ? TNX > Frank Foelz < sorry, but I posted this to [EMAIL PROTECTED], already. We are facing problems with some mailservers today. _ Scheidt & Bachmann GmbH Gestaltung Parkhaussysteme Breite Strasse 132 41238 Moenchengladbach Phone : ++49 2166 / 266 - 837 Fax: ++49 2166 / 266 - 615 e-mail : mailto:[EMAIL PROTECTED] URL: http://www.scheidt-bachmann.de -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing). -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
Decimal to Hex conversion
Hi everybody, I am facing a problem converting from decimal values to hexadecimal values. i.e. col1 col2 -- 2021 801 should give (2021*65536+801)=132449057 I am asked to present this value in hexView like : 07E50321 any suggestions howto convert (probably via simple SQL) ? TNX > Frank Foelz < sorry, but I posted this to [EMAIL PROTECTED], already. We are facing problems with some mailservers today. _ Scheidt & Bachmann GmbH Gestaltung Parkhaussysteme Breite Strasse 132 41238 Moenchengladbach Phone : ++49 2166 / 266 - 837 Fax: ++49 2166 / 266 - 615 e-mail : mailto:[EMAIL PROTECTED] URL: http://www.scheidt-bachmann.de -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
AW: ***Problem***
paresh mehta, What could go wrong is, if you are selecting like this: "Select from where rownum < 20" because you are not selecting from all rows, but from the 1st 19 If you use it the way, it was posted, it works correct ! The posted statements selects from all rows, and returns the 1st eight rows from the resultset, which is sorted in the manner you wish. ..or tell your group leader to post a rownum statement giving wrong results. Anybody feel free to tell me I am wrong (if I am ;-)) ) > Frank Foelz < _ Scheidt & Bachmann GmbH Gestaltung Parkhaussysteme Breite Strasse 132 41238 Moenchengladbach Phone : ++49 2166 / 266 - 837 Fax: ++49 2166 / 266 - 615 e-mail : mailto:[EMAIL PROTECTED] URL: http://www.scheidt-bachmann.de -Ursprüngliche Nachricht- Von: Bunyamin K.Karadeniz [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 1. Februar 2001 13:31 An: Multiple recipients of list ORACLE-L Betreff: Re: ***Problem*** No, No not for this statement , my group leader tells that rownum is not used so much in applications becouse it can give wrong results sometimes. I do not know if it is correct . I ask you for approve him or not.. Thanks - Original Message - To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]> Sent: Thursday, February 01, 2001 1:25 PM paresh mehta, what was wrong with the sql-statement using It works perfeclty, or am I wrong ?? regards > Frank Foelz < _ Scheidt & Bachmann GmbH Gestaltung Parkhaussysteme Breite Strasse 132 41238 Moenchengladbach Phone : ++49 2166 / 266 - 837 Fax: ++49 2166 / 266 - 615 e-mail : mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> URL: http://www.scheidt-bachmann.de <http://www.scheidt-bachmann.de/> -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).
AW: ***Problem***
paresh mehta, what was wrong with the sql-statement using It works perfeclty, or am I wrong ?? regards > Frank Foelz < _ Scheidt & Bachmann GmbH Gestaltung Parkhaussysteme Breite Strasse 132 41238 Moenchengladbach Phone : ++49 2166 / 266 - 837 Fax: ++49 2166 / 266 - 615 e-mail : mailto:[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> URL: http://www.scheidt-bachmann.de <http://www.scheidt-bachmann.de/> -Ursprüngliche Nachricht- Von: Local Folders [mailto:[EMAIL PROTECTED]] Gesendet am: Donnerstag, 1. Februar 2001 08:35 An: Multiple recipients of list ORACLE-L Betreff: ***Problem*** Consider the following case. TABLE : DEPT empid number, deptid number, deptnamevarchar2(30) primary key (empid, deptid) now i want to fetch first seven records from a cursor whose deptid is maximum and empid is minimum. kindly let me know how to write this cursor statement.for example. SQL> select deptid, empid from dept; DEPTID EMPID - - 2 94204 2 94205 2 94206 2 94207 2 94208 5 94209 5 94210 5 94211 5 94212 5 94213 7 94214 7 94215 7 94216 7 94217 7 94218 15 rows selected. i want output as following by single query. DEPTID EMPID - - 7 94214 7 94215 7 94216 7 94217 7 94218 5 94209 5 94210 7 rows selected kindly reply.. thanks in advance. regards paresh mehta -- Please see the official ORACLE-L FAQ: http://www.orafaq.com -- Author: Foelz.Frank INET: [EMAIL PROTECTED] Fat City Network Services-- (858) 538-5051 FAX: (858) 538-5051 San Diego, California-- Public Internet access / Mailing Lists To REMOVE yourself from this mailing list, send an E-Mail message to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in the message BODY, include a line containing: UNSUB ORACLE-L (or the name of mailing list you want to be removed from). You may also send the HELP command for other information (like subscribing).