How to Monitor SQL flow through the ODBC drive
Hi Fellows.
Does anybody know about any program/tool to monitor the SQL Flow through the ODBC drive?
Thanks,
Marcos Yoshiaki Ibuki
null
Apart from the use of iSQLPlus, Grid Control by itself allows you to Execute SQL statements on a single or multiple targets at the same time.
This also give the added advantage of keeping and viewing the execution history.
Select Targets > Databases > Execute SQL (from buttom page).
Note: I tested in GC 10.2.0.2.
Similar Messages
-
I am trying to have access tables of the Sql Server through the Oracle
I am trying to have access tables of the Sql Server through the Oracle and this being occurred the error:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Generic Connectivity using ODBC][H006] The init parameter <HS_FDS_CONNECT_INFO> is not set.
Please set it in init <orasid>.ora file.
ORA-02063: preceding 2 lines from HSMSQL
I created the ODBC with name HSMSQL.
I made all the configurations in the archives
tnsnames.ora:
HSMSQL=
(DESCRIPTION=
(ADDRESS= (PROTOCOL = tcp)(HOST = wsus)(PORT = 1521))
(CONNECT_DATA =
(SID = HSMSQL)
(HS = OK)
listener.ora:
(SID_DESC = (SID_NAME=HSMSQL)
(ORACLE_HOME= C:\oracle\ora92)
(PROGRAM =hsodbc)
initHS_SID.ora:
HS_FDS_CONNECT_INFO = HSMSQL
HS_FDS_TRACE_LEVEL = OFF
-- Create database link
create database link HSMSQL.US.ORACLE.COM
connect to TESTE identified by TESTE2
using 'HSMSQL';
But when I execute query the error occurs:
Select * from TabTeste@HSMSQL
ORA-28500: connection from ORACLE to a non-Oracle system returned this message: [Generic Connectivity using ODBC][H006] The init parameter <HS_FDS_CONNECT_INFO> is not set.
Please set it in init <orasid>.ora file.
ORA-02063: preceding 2 lines from HSMSQL
Please they help me, thanks, Paulo.Hi,
It seems that your configuration is Ok. By the way, the workaround for this error is:
ORA-28500: connection from ORACLE to a non-Oracle system returned this message:
[Transparent gateway for ODBC][H001] The environment variable <HS_FDS_CONNECT_INFO> is not set.
* Set HS_FDS_CONNECT_INFO in the hs{sid}init.ora file to the data source name.
Example: HS_FDS_CONNECT_INFO = <ODBC DataSource Name>
* Make sure the hs{sid}init.ora file exists in the ORACLE_HOME/hs/admin directory and has the same name as the SID in the LISTENER.ORA.
Example: If SID=hsodbc in the listener.ora file, then the hs{sid}init.ora file would be named ORACLE_HOME/hs/admin/inithsodbc.ora
For more information see if this [url http://forums.oracle.com/forums/thread.jspa?forumID=61&threadID=576975]thread can help you.
Cheers -
How to use SQL functions in the queries
hey guys i wanna know how to use SQL functions in the queries is it possible or not .
Hi,
Wat exactly that set values are?
those from sql query?
How to use count():
The COUNT() function returns the number of rows that matches a specified criteria.
SQL COUNT(column_name) Syntax
The COUNT(column_name) function returns the number of values (NULL values will not be counted) of the specified column:
SELECT COUNT(column_name) FROM table_name
SQL COUNT(*) Syntax
The COUNT(*) function returns the number of records in a table:
SELECT COUNT(*) FROM table_name
SQL COUNT(DISTINCT column_name) Syntax
The COUNT(DISTINCT column_name) function returns the number of distinct values of the specified column:
SELECT COUNT(DISTINCT column_name) FROM table_name
The IN function helps reduce the need to use multiple OR conditions.
The syntax for the IN function is:
SELECT columns
FROM tables
WHERE column1 in (value1, value2, .... value_n); -
The ODBC driver has returned a SQL error.
Getting the error in Report Generation:
The ODBC driver has returned a SQL error.
Error class: com.sybase.jdbc.SybSQLException
Error message: ASA Error-141: Table 'SystemSite' not found
ODBC was set up according to the readme. What else do I have to do to get
Inventory Reports working.
Thanks,Hwbranson,
It appears that in the past few days you have not received a response to your
posting. That concerns us, and has triggered this automated reply.
Has your problem been resolved? If not, you might try one of the following options:
- Do a search of our knowledgebase at http://support.novell.com/search/kb_index.jsp
- Check all of the other support tools and options available at
http://support.novell.com.
- You could also try posting your message again. Make sure it is posted in the
correct newsgroup. (http://support.novell.com/forums)
Be sure to read the forum FAQ about what to expect in the way of responses:
http://support.novell.com/forums/faq_general.html
If this is a reply to a duplicate posting, please ignore and accept our apologies
and rest assured we will issue a stern reprimand to our posting bot.
Good luck!
Your Novell Product Support Forums Team
http://support.novell.com/forums/ -
HELP - how do you save pictures through the recovery mode?
How do you save pictures through the recovery mode. I have the black screen with cursor and despite trying all the tips noted here nothing seems to fix the issue. These have included using Utility disk to re-install OS-X, repairing the disks. Also tried the holding shift on start up and entering username and password. Also tried internet recovery and then repair and re-install. Nothing works!
Happy to restore from a back up, but I have been rubbish and not backed up for a long time. Also happy to delete and re-install completely but don't want to loose pics.
Please let me know any suggestions!!bemsley wrote:
Is it possible to attach an external drive and copy across files through the utility function?
That requires that you can boot the MBP.
Or to boot the mac using the time machine back up?
You can try using startup manager:
http://support.apple.com/kb/ht1310
But you still need a working volume where you can install the backed up data.
The good news is that since you have a Time machine backup, you can transfer that data to another Mac or clone:
http://pondini.org/OSX/Setup.html
Ciao. -
How to execute sql-queries through shell scripting in linux?
How to execute sql-queries through shell scripting in linux?
http://www.oracle.com/technology/pub/articles/saternos_scripting.html
Two simple examples:
#!/usr/bin/env bash
set_orafra () {
orafra=`echo 'set heading off
select name from v$recovery_file_dest;
exit' | sqlplus -s / as sysdba`
set_orafra
echo $orafra
#!/usr/bin/env bash
export ORACLE_SID=instance_name
export ORACLE_HOME=/path_to_oracle_home_directory
export LD_LIBRARY_PATH=$ORACLE_HOME/lib
export PATH=/$ORACLE_HOME/bin/$PATH
$ORACLE_HOME/bin/sqlplus -s <<EOF
connect scott/tiger@my_instance_name
INSERT INTO table VALUES (sysdate);
exit
EOFEdited by: Markus Waldorf on Sep 17, 2010 12:19 AM -
How can I say to the ODBC Driver to ignore the double quotes (")
I have an application that does many SELECT's to the DB, but there is no predifined case, i.e. some developers do the commands in lowercase while others do it on uppercase.
I'm trying to solve this in the easy way, i.e. I'm trying to find a way to say to the ODBC driver: Whenever you see SELECT "column_name" from "table_name" or SELECT "COLUMN_NAME" from "TABLE_NAME", please ignore the double quotes so that these commands won't be different to the Oracle DB.
Is there a way to do this?
I don't want to change AAALLLL the classes. It would take me weeks.
Thanks in advance.OK, thanks.
I'm trying another approach... is it possible to ask the driver to reply a space instead of double quotes in
::SQLGetInfo(...,SQL_IDENTIFIER_QUOTE_CHAR)???
That function is called on the MFC's (Microsoft Foundation Classes) in dbcore.cpp --> CDatabase::GetConnectInfo
If it is possible to change the answer from this function (SQLGetInfo) it would solve me all my problems. -
Where can I download the ODBC driver for Oracle 10g XE?
where can I download the ODBC driver for Oracle 10g XE?
I need the ODBC drivers for windows 7 x64, I installed Oracle Database 10g Express Edition, the use and connects with RazorSQL well, I just want to make a connection THROUGH ConnectionString language using the ODBC driveralready checked these http://www.connectionstrings.com/oracle, I need Help Please.
-
How can I do to get Oracle ODBC driver in Windows?
Hello,
Please, I need help to use Oracle ODBC driver in Windows 7. I installed Oracle Client 10g with the ODBC driver, but I can't use it. OracleODBC driver don't appear in the driver list when I want to create a new datasource. How I can do to get Oracle ODBC driver for create a new datasource?
Thank
Edited by: user4528703 on 13 mars 2010 02:01Hello,
To get the ODBC driver you should run a custom Oracle Client installation and Select
Oracle Windows Interfaces 10.2.0.1.0.
Then, you'll get the Oracle ODBC Driver 10.2.0.1.
But, be aware that Oracle didn't certify Windows 7.
So, if afterwards, you experience some trouble, think to install Oracle with Xp compatibilty mode, or
wait to Oracle 11.2.0.1 which will be certified on Windows 7.
Hope this help.
Best regards,
Jean-Valentin -
How can I erase (or remove) the hard drive from a dead Time Capsule?
How can I erase (or remove) the hard drive from a dead Time Capsule?
I found this having had the same problem...
http://forums.macrumors.com/showthread.php?t=553818
Having removed the hard drive I'm finding I can't reformat it. I manage to mount the HD but Disk Utility crashes when trying to format (HD attached to Mac via Newer Tech. SATA cables to USB) and causes what I think is a kernal panic on my Mac which hard crashes. I see 3 partitions when attempting to mount one of which is AFP. Anyone got any ideas about how to do this? I've dug around but the only progress I've made is to note others have had to work around ACL's when replacing the logic board of the TC. Not sure if this even relates to the problem. However the tool for doing this seems to have been removed from SL. (Forum references to this procedure all relate to 10.5). -
Have a new PC desktop with 4 hard drives, new c, d and old c, d, My ipad library is in old c, how to get my itune open the right drive, it keeps on open in new c drive. It said my computer is not authorized. I want to move all the old c to the new c drive, or get the itune to open my old c drive when I log in.
might be some help on one of these links.
Windows - Change iPad default backup location
http://apple-ipad-tablet-help.blogspot.com/2010/07/change-ipad-default-backup-lo cation.html
Windows - Changing IPhone and iPad backup location
http://goodstuff2share.wordpress.com/2011/05/22/changing-iphone-and-ipad-backup- location/
Sync Your iOS Device with a New Computer Without Losing Data
http://www.howtogeek.com/104298/sync-your-ios-device-with-a-new-computer-without -losing-data/
Syncing to a "New" Computer or replacing a "crashed" Hard Drive
https://discussions.apple.com/docs/DOC-3141
Cheers, Tom -
How to install archlinux2008.6 from the hard drive?
How to install archlinux2008_6 by archlinux2008_6_i686.iso in hard drive?
i get the booting files(archlive.img,vmlinuz26) in the archlinux2008_6_i686.iso and put them in c:\
in the grub command mode the use of these code:
root (hd0,0)
kernel (hd0,0)/vmlinuz26
initrd (hd0,0)/archlive.img
boot
i get those from : http://blog.chinaunix.net/u/31909/showart_1121360.html
but it stopped , some code printing on the screen...................it can not continue..
from the google i find :"this method must use the "vmlinz "and the "initrd.img",this files is from archlinux2008.03.iso
i don't understand .......
i must download the archlinux2008.03.iso?...........it's too much trouble.
How to install archlinux2008.6 from the hard drive? or who could give me the two files (the "vmlinz "and the "initrd.img") from archlinux2008.03.iso?
e mail: [email protected]
THS.
--------this is my topic for the first time in english, I hope that you can know what i said ~~~
Last edited by 自学linux (2008-08-29 03:14:54)自学linux wrote:
http://blog.chinaunix.net/u/31909/showart_1121360.html
A waste of CD-ROM...........,in china, many people install linux just by iso,don't burn the iso,
could you give me the two files (the "vmlinz "and the "initrd.img") in archlinux2008.03.iso, those can't find in archlinux2008.06.iso
my email :[email protected]
Do you have a USB stick you could copy the image to? Where I live, a CD costs $0.50 at most. To put that into perspective. A coffee costs a $1.00. Either a CD costs a lot more than a coffee where you live or are you telling me you'd rather get a lot of grey hair than buy half a coffee?
Sorry I can't be of much help. I don't know how to do this method of installation. If you're desperate, you could try making an extra partition, and trying something with that. Take a look at these:
http://wiki.archlinux.org/index.php/Fas … nux_System
http://wiki.archlinux.org/index.php/Ins … her_distro
Last edited by solarwind (2008-08-27 04:37:59) -
How can I install Itunes in the data drive and not in OS partition?
My PC has a 3 partitions and I hace installed Itunes in the OS partition, very small. How can I install Itunes in the data drive?
See Williams Lloyd's post > https://discussions.apple.com/message/15670671#15670671
-
Where can I find the ODBC driver for ORACLE XE
Hi,
Please help me in urgent. Where can I download the ODBC driver for Oracle XE?
The OTN site I had visited but cannot find the suitable ODBC drive for Oracle XE, or (but, I am not sure) the ODBC 10g is suitable I had downloaded it but require Oracle Universal Installer to install.
Message was edited by:
user505611Have you checked the OTN site?
http://www.oracle.com/technology/software/tech/windows/odbc/index.html
Update: Drivers for 10g should work with XE. Can't say anything about the installation procedure, since I don't use/install ODBC.
C. -
How to eject a disc from the slot drive?
How to eject a disc from the slot drive? Tried holding down trackpad button while starting up but not working. Also on starting up my 10yr old g4 gives the boing and then goes to grey screen with apple logo and that's it...
There are several more things to try.
http://guides.macrumors.com/Force_Eject_a_Stuck_CD_or_DVD
http://www.mactrast.com/2012/10/how-to-force-eject-a-stuck-cd-or-dvd/
http://www.wikihow.com/Eject-a-CD-From-Your-Mac
Maybe you are looking for
-
Problems with varchar2 column and a select statement
Hi to all, I am new to ODP...so I would really appreciate your help.. I am having problems with using the following code: con.ConnectionString = "User Id=bla;Password=bla;Data Source=bla;"; string cmdQuery = "SELECT * from try where data ="+textBox1.
-
Will someone please help me set-up Acrobat to send a PDF via webmail? Acrobat returns a message "Server Connection Error .... Port 143 unavailable"
-
Features Difference between 6i and 11gr2 (forms/reports)..
Hi all, I just upgraded my old style menu-driven application from forms/reports 6i to 11gr2 and don't add features of 11gr2 still now. So, Its look like old one (6i). So, please guide me what features should I add (like look-wise, working-wise, perfo
-
Which Color profile for softprofing to print to Apple's book services?
I'm looking for a simple, specific and official answer as to which specific ColorSync profile should I choose for 'Onscreen Proofing' in Aperture? My intended output is Apples Print Services (Hardcover book). I've crawled the web looking for this sim
-
Combining multiple WMI Queries for Single Step in Task Sequence?
Hi there, since i couldn't find an answer on google i try to find the information here: i would like to use a multiple wmi query in a single step in task sequence. hat means i want to query fist if the Computer is a Laptop or not and then if yes, if