SQL*Plus add-on for Instant Client Package on Solaris-SPARC 32bits ???
Hi,
I need sqlplus for a solaris 32bits platform, but following this page
http://www.oracle.com/technology/tech/oci/instantclient/instantclient.html, if I choose Solaris 32-bit (SPARC), it doesn't give a link to download Instant Client Package - SQL*Plus (as it does if I choose Solaris 64-bit (SPARC) or Windows 32-bit).
I don't understand why... :(
SQL*Plus is not supported on the 32-bit versions of 64-bit platforms. Please use the 64-bit version of SQL*Plus. Thanks!
Similar Messages
-
Automation scripts for Instant client install\ add TNS entry
Guys,
I'm trying to develop an VB application,which uses data from an Oracle server residing in my neighbour's system.
My system doesn't have oracle client installed.
So, I've made use of Oracle Instant Client package-OCBC.
Now, I'm looking for an automation script that would do the following in order
1)Uzip the instant client into a directory. (say C:\ondemand\instantclient)
2)Add this directory into the PATH environment variable
3)Set up Service Names with tnsnames.ora ie. Create a TNSNAMES.ORA file to configure my Oracle instance connection.
4)Set the TNS_ADMIN environment variable to be the path to the tnsnames.ora
Can someone help me out with automated scripts?
Thanks,
BhagatDon't worry. I've solved it.
One of the files I was using stated: Always set the TNS_ADMIN environment variable or registry setting to the full path of the tnsnames.ora file.
I took that to mean including the "tnsnames.ora". It doesn't. It really does mean just the PATH part.
However, with this corrected, I got the pulldown populated. But with only the first part of the name, from the tnsnames.ora file. tnsnames.ora had mydb.<domain>.com. The pulldown only had mydb. Manually adding the .<domain>.com to it worked.
Now on to the next problem. <GRIN>
Cheers,
Eddie -
MIT Kerberos integration via Oracle ASO for Instant Client
Is Oracle planning on adding support for the Oracle ASO module (specifically for the use of MIT Kerberos authentication) to the Oracle Instant Client?
Last time I checked (about 2 years ago) they had not, but I'm hoping they are working on it.
Update: I originally posted this back in Feb 2007, and now it's June 2007...... No replies..... Does anyone know if Oracle will add support for MIT Kerberos Authentication to the Instant Client?
Message was edited by:
dkwhisleI haven't seen many requests of ASO support being requested for Instant Client nor have I heard of it being included any time soon (in any Instant Client-related press). You should pose the question to Oracle support or your Oracle sales representative.
-
Instant Client Package - SDK, RPM package download not working
Hi,
I am trying to download "Instant Client Package - SDK", RPM package for Linux 32 bit, version 11.2.0.1.0 from http://www.oracle.com/technology/software/tech/oci/instantclient/htdocs/linuxsoft.html
However the file downloaded has zero length. I tried from two different computers. I cannot find any contact/form to report broken content on that website. Can someone help, please?
Cheers, Tomasfyi
For me, the page ...
http://www.oracle.com/technology/software/products/database/index.html
... currently says ...
"An error occurred while processing the request. Try refreshing your browser. If the problem persists contact the site administrator"
But, with the direct URL to the ZIP, which failed to download before ...
http://download.oracle.com/otn/nt/oracle10g/10201/10201_companion_win32.zip
... I was able to download it just now.
regards
Jan -
Connectionstring to be used in ASP for instant client ??
Hi,
I'm trying to use oracle instant client for one of my projects.
I have installed basic, sqlplus and ODBC for instant client.
I have set all the environment variables. I have the tnsnames.ora and sqlnet.ora
So far I have succeeded in connecting to a DB Server through sqlplus. I also created a DSN successfully using the driver "Oracle in instantclient10_2" which gets installed when I install instant client ODBC. These indicate that mos tof settings are right. It is good so far.
Now I'm trying to use a connection string in ASP which connects to a DB server using this instant client.
I need one DSN connection string and one DSN-less connection string.
So far I have tried the following:-
1)
Driver={Oracle in instantclient10_2};Server=<Service Name>;Uid=<UserID>;Pwd=<Password>;
This resulted in the error:-
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Oracle][ODBC][Ora]ORA-12560: TNS:protocol adapter error
2)
StrCon.Open "Driver={Oracle in instantclient10_2};Dbq=<Server IP address>:<port>/<serviceName>", "UserID", "Password"
This resulted in the error:-
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Oracle][ODBC][Ora]ORA-12514: TNS:listener does not currently know of service requested in connect descriptor
Can you please help me out with these?
Thanks in advance
JaiHello,
I tried to use either of the 2 connections you gave but I still get an error:
DSN
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
Specified driver could not be loaded due to system error 5 (Oracle in instantclient10_2).
DSN-less Connectionstring:
Specified driver could not be loaded due to system error 5 (Oracle in instantclient10_2).
Thanks in advance,
Do you have an idea as why this happens? -
Unable to install SQL SSRS add-in for SharePoint
I am unable to install MS SQL SSRS add-in for SharePoint 2010 in a two tier architecture. The following message is displayed while running the Add-in installation:
"Please ensure Microsoft SharePoint Technologies is installed"
The environment setup is as mentioned below:
SharePoint Server
Has SharePoint 2010 installed
Hosts Central Administration.
Has SQL 2008 Reporting Services installed.
SQL Server:
Has SQL 2008 R2 installed in SharePoint Integrated Mode
Has SQL Reporting Services
Has SharePoint Server installed, configured and joined to two tier farm.
Could you please help resolve this issue?Hi Abhijit,
According to your description, my understanding is that you got an error when you ran SQL Reporting service add-in for SharePoint 2010.
Which version add-in did you use? Please you installed the right version.
There are some reasons for this error:
You are installing the wrong version of add-in. For example, installing 32bit add-in on x64 machine or vice versa.
You haven’t install SharePoint on the report server machine
Your SharePoint installation is not recognized by the add-in. Either cases, you need to reinstall SharePoint.
Some similar articles for your reference:
http://geekswithblogs.net/naijacoder/archive/2010/06/28/140653.aspx
http://blogs.devhorizon.com/reza/2008/10/16/shifting-from-ssrs-2008-native-to-integrated-for-good/
About installing reporting service add-in, please refer to the links:
http://stevemannspath.blogspot.com/2012/10/reporting-services-2012-integrated-mode.html
http://msdn.microsoft.com/en-us/library/aa905871.aspx
Best Regards
Wendy
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Wendy Li
TechNet Community Support -
SDK for Instant Client not available?
Hello all,
I'm new to using Oracle and I successfully setup my first 11XE install last week. I'm excited to begin using it but I can't get the OCI driver to compile so I can use it in PHP.
I have the linux/amd64 Instant Client 10.1 from the Oracle website but it does not have the headers file.
The docs say I need SDK for Instant Client but it is not listed on the downloads page for Instant Client. The docs also say there is a 11.1 version of IC but no trace of that either.
Is there another page which has all of these files?
I get as far as this in the configure script: "checking for oci.h... configure: error: I'm too dumb to figure out where the include dir is in your instant client install"
Thanks for your help!You could search the 'net for instant client downloads x86-64, click relevant link, search page for SDK. Versions from 11.2, 11.1 and 10.2 releases should exist on found page.
Note that a dedicated forum exist, {forum:id=190}.
Edit:
added forum link
Edited by: orafad on Jan 16, 2012 10:52 PM -
ODBC Driver for Instant Client
Hello.
First of all I would like to thank Oracle for giving us the Instant Client. It seems to be the solution for making stand-alone client application in a very simple way. Thanks!
Even Though, I need to know if there is a way to download the so called "ODBC Supplement". I suppose it's a Windows ODBC Driver for Instant Client.
Thanks!Here's a Registry script to set up a sample 10g-driver data source. After this I used MS Access 2002 to connect to a 9i database. It found all the table names, etc, and read fine from some of them, but others came back with some kind of error such that Access reported the row as already Deleted. I have not done any more research, yet.
REGEDIT4
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources]
"SS585D_ORA10_SYS"="Oracle in bin"
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\SS585D_ORA10_SYS]
"Driver"="C:\\OraWin10\\Bin\\SQORA32.DLL"
"ServerName"="SS585D"
"Description"="Sys SS585D using Oracle 10 driver"
"DSN"="SS585D_ORA10_SYS"
"User"="ABC"
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\ODBC Drivers]
"Oracle in bin"="Installed"
[HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBCINST.INI\Oracle in bin]
"APILevel"="1"
"CPTimeout"="60"
"ConnectionFunctions"="YYY"
"Driver"="C:\\OraWin10\\bin\\SQORA32.DLL"
"DriverODBCVer"="03.51"
"FileUsage"="0"
"Setup"="C:\\OraWin10\\bin\\SQORAS32.DLL"
"SQLLevel"="1"
As for the ODBC admin program, I used RegMon and FileMon to watch it in action. It loads the 10g setup DLL okay and reads various ODBC values from the registry, then GPF's. I think I'm seeing some kind of buffer overrun problem. I can send logs to anybody who gives me an e-mail address. Mine is [email protected] -
Missing sdk download for instant client for Linux
Hi,
I'm following Ubuntu community documentation here https://help.ubuntu.com/community/PHPOracle to get started developing php/oracle applications.
My problem is that the sdk download is missing. It is in the list here http://www.oracle.com/technetwork/database/features/instant-client/index-100365.html but the link for it is missing. I don't see anything else looking like sdk or development files for instant client.
Can anyone tell me where the download is?
Thank youHow about the following link:
http://www.oracle.com/technetwork/topics/linuxsoft-082809.html -
USername and password for Instant Client
Hi,
Im trying to install the instant client on my desktop for an SQL plus remote server. When I run sqlplus.exe it asks me for a username and password.. where do I get that from?That would be the user name and password for the database you are trying to connect to. The DBA may be in charge of creating accounts and handing out passwords-- if not, he should know who is.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
SQL*Plus two fetches for getting one row.
Hi all.
I have tested following script.
alter session set events '10046 trace name context forever, level 12';
select * from dual;And achieved such results (extract from .trc file).
SQL*Plus: Release 11.2.0.1.0; (Oracle Version 10.2.0.4.0, 11.2.0.1.0)
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 2 0.00 0.00 0 0 0 1
total 4 0.00 0.00 0 0 0 1SQL*Plus: Release 8.1.7.0.0; (Oracle Version 8.1.7.0.0)
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 2 0.00 0.00 0 0 0 0
Fetch 2 0.00 0.00 0 1 4 1
total 5 0.00 0.00 0 1 4 1Allround Automations PL/SQL Developer 8.0.4; (Oracle Version 10.2.0.4.0, 11.2.0.1.0)
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.00 0 0 0 1
total 3 0.00 0.00 0 0 0 1Allround Automations PL/SQL Developer 8.0.4; (Oracle Version 8.1.7.0.0)
call count cpu elapsed disk query current rows
Parse 1 0.00 0.00 0 0 0 0
Execute 1 0.00 0.00 0 0 0 0
Fetch 1 0.00 0.00 0 1 4 1
total 3 0.00 0.00 0 1 4 11) I can't figure out why sqlplus does TWO fetches for getting ONE row (instead of pl/sql developer).
8i raw trace
PARSING IN CURSOR #1 len=31 dep=0 uid=0 oct=3 lid=0 tim=0 hv=3549852361 ad='4a0155c'
select 'hello world' from dual
END OF STMT
PARSE #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0
BINDS #1:
EXEC #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=4,tim=0
WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1111838976 p2=1 p3=0
FETCH #1:c=0,e=0,p=0,cr=1,cu=4,mis=0,r=1,dep=0,og=4,tim=0
WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1111838976 p2=1 p3=0
FETCH #1:c=0,e=0,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,tim=0
WAIT #1: nam='SQL*Net message to client' ela= 0 p1=1111838976 p2=1 p3=0
WAIT #1: nam='SQL*Net message from client' ela= 0 p1=1111838976 p2=1 p3=0
STAT #1 id=1 cnt=1 pid=0 pos=0 obj=195 op='TABLE ACCESS FULL DUAL '11g raw trace
PARSING IN CURSOR #3 len=30 dep=0 uid=96 oct=3 lid=96 tim=1581355246985 hv=1158622143 ad='b8a1bcdc' sqlid='5h2yvx92hyaxz'
select 'hello world' from dual
END OF STMT
PARSE #3:c=0,e=130,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1388734953,tim=1581355246984
EXEC #3:c=0,e=40,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=1,plh=1388734953,tim=1581355247154
WAIT #3: nam='SQL*Net message to client' ela= 7 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=1581355247252
FETCH #3:c=0,e=18,p=0,cr=0,cu=0,mis=0,r=1,dep=0,og=1,plh=1388734953,tim=1581355247324
STAT #3 id=1 cnt=1 pid=0 pos=1 obj=0 op='FAST DUAL (cr=0 pr=0 pw=0 time=0 us cost=2 size=0 card=1)'
WAIT #3: nam='SQL*Net message from client' ela= 193 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=1581355247735
FETCH #3:c=0,e=2,p=0,cr=0,cu=0,mis=0,r=0,dep=0,og=0,plh=1388734953,tim=1581355247800
WAIT #3: nam='SQL*Net message to client' ela= 5 driver id=1111838976 #bytes=1 p3=0 obj#=-1 tim=15813552478552) Is there any possibility to view data provided by each fetch?
Thanks in advance!
P.S.
SQL> sho arraysize
arraysize 15Thanks.
I have tested two statements.
select 'hello world' from dual where 1=1;
select 'hello world' from dual where 1=0;When query returns no data, there is only one SQL*Net roundtrip (and one fetch)
SQL> set autot on statistics
SQL> select 'hello world' from dual where 1=1;
'HELLOWORLD
hello world
Statistics
0 recursive calls
0 db block gets
0 consistent gets
0 physical reads
0 redo size
528 bytes sent via SQL*Net to client
492 bytes received via SQL*Net from client
2 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
1 rows processed
SQL> select 'hello world' from dual where 1=0;
no rows selected
Statistics
0 recursive calls
0 db block gets
0 consistent gets
0 physical reads
0 redo size
329 bytes sent via SQL*Net to client
481 bytes received via SQL*Net from client
1 SQL*Net roundtrips to/from client
0 sorts (memory)
0 sorts (disk)
0 rows processedBut in both cases i found in client trace this sequence of bytes:
] nsprecv: 00 00 36 01 00 00 00 00 |..6.....|
] nsprecv: 00 00 00 00 00 00 00 00 |........|
] nsprecv: 00 00 90 19 43 13 00 00 |....C...|
] nsprecv: 00 00 00 00 00 00 00 00 |........|
] nsprecv: 00 00 00 00 00 00 00 00 |........|
] nsprecv: 00 00 00 00 00 00 00 00 |........|
] nsprecv: 00 00 00 00 00 00 00 00 |........|
] nsprecv: 00 00 00 00 00 00 00 00 |........|
] nsprecv: 00 00 00 00 00 00 00 00 |........|
] nsprecv: 00 00 00 00 00 00 00 00 |........|
] nsprecv: 00 00 19 4F 52 41 2D 30 |...ORA-0|
] nsprecv: 31 34 30 33 3A 20 6E 6F |1403:.no|
] nsprecv: 20 64 61 74 61 20 66 6F |.data.fo|
] nsprecv: 75 6E 64 0A |und. |In first case - it was in 2nd packet and in second case (query returns no data) - part of 1st packet. -
Please help me to debug a bug for instant client on linux x86-64
I am a c junior programmer, I wrote a c demo based on <Call Interface Programmer's Guide>,but i found failed sometimes and successful somtimes when i run my demo on linux x86-64.
I wondered why it was failed sometimes and successful sometimes, so i used command strace to debug my demo.
I found my demo was failed when called function getsockopt whose third argument was negative. The following code:
getsockopt (5, SOL_SOCKET, SO_SNDBUF, [-8683868481690533888], [4]) = 0
my demo run successful when the third argument of function getsockopt was positive.The following code:
getsockopt(5, SOL_SOCKET, SO_SNDBUF, [4636081913715490816], [4]) = 0
I downloaded rpm package of instant client for linux x86-32 and installed, the same demo worked perfectly on linux x86-32.
Did instant client for linux x86-64 has a bug?
any advise would be great.
Thank you!thanks.
I have solved this problem that result in my c demo.
I was a wrong way to use this function OCIBindByName. I ignored it's Indicator Variables must be 0 , -1 or -2. -
SQL*Plus assignment works for 8i but not 9i
We have scripts that connect to each database on the box and perform database tasks nightly. The scripts first set the environment then connects to each database with SQL*Plus. This works for 8i but fails in the recently created 9i environment.
Because the SQL*Plus connection appears in many areas in the scripts, we assign the following connection string to a variable:
SQLPLUS="/usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba'"
Export SQLPLUS
echo "$SQLPLUS"
(This echo out correctly: /usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba')
It fails when the script calls the assigned variable:
$SQLPLUS <<-EOF
with the following error:
Usage: SQLPLUS [ [<option>] [<logon>] [<start>] ]
where <option> ::= -H | -V | [ [-L] [-M <o>] [-R <n>] [-S] ]
<logon> ::= <username>[<password>][@<connect_string>] | / | /NOLOG
<start> ::= @<URI>|<filename>[.<ext>] [<parameter> ...]
"-H" displays the SQL*Plus version banner and usage syntax
"-V" displays the SQL*Plus version banner
"-L" attempts log on just once
"-M <o>" uses HTML markup options <o>
"-R <n>" uses restricted mode <n>
"-S" uses silent mode
However, if I remove the SQLPLUS variable assignment and changed all occurrence of
$SQLPLUS <<-EOF to
/usr/oracle/product/9.2.0/bin/sqlplus -s 'xxx/xxxxxx@xxxx as sysdba' <<-EOF
Then the script runs successfully. But this solution is cumbersome.
Any ideas as to how to have the script work with assigning the SQLPLUS variable????
Any help is appreciatedI has an immediate suspicion it might be related to the issue
mentioned in
http://otn.oracle.com/support/tech/sql_plus/htdocs/sub_var2.html#2_7
but this proved wrong: the SP2-306 still occurs in the latest
SQL*Plus.
I wonder what version of 8i you had working? With an old SQL*Plus
8.1.7.0 my connection failed the same as in 9.2 and 10i.
My solution was to do:
SQLPLUS='sqlplus -s'
UNPW='/ as sysdba'
$SQLPLUS "$UNPW" <<EOF
EOFThis worked in 9.2.0.5, 10.1.0.2 and 8.1.7.0.
One common security risk on UNIX remains: putting the username and
password on the command line. On some systems a "ps" command will
show the password to any user. If OS authentication cannot be used
for connection, perhaps putting the username/password in the SQL
script may be more secure?
A final note is that in SQL*Plus 10g, no quotes are needed around
AS SYSDBA, i.e.
sqlplus / as sysdba works from the OS prompt, whereas in 9.2 you need to do
sqlplus "/ as sysdba"This makes a solution easy:
SQLPLUS="/usr/oracle/product/10.1.0/bin/sqlplus -s xxx/xxxxxx@xxxx as sysdba"-- CJ -
Help Using SQL*Plus Format Commands (like TTITLE) in Packages
Where (within a package) can/should SQL*Plus format commands such as TTITLE, COLUMN & BREAK be coded?
A package is coded in PL/SQL.
TTITLE, COLUMN and BREAK are SQL*Plus commands, they cannot be used in PL/SQL.
If you want to output data (using dbms_output) in your package, you'll have to implement the features yourself. But probably just using SQL*Plus is better in your case.
Regards,
Rob. -
Please excuse my ridiculous question,
But I still can4t use mySQL. After installing Oracle 8i and setting all environment path variables, I tried to use SQL plus. But it asked me for an username, password and hostname.
I4ve Win2000 on a stand-alone PC. How can I tell SQL plus the needed parameters???
please help me, because I need mySQL for my examen!!!
mail to: [email protected]I don4t exactly know what you mean, but if you installed the Oracle Server on your Windows 2000 box you can log in to Oracle using useracount SYSTEM with password MANAGER or SYS and CHANGE_ON_INSTALL.
This has nothing to do with mySQL though
Maybe you are looking for
-
DAM for video and integrated FCE - opinions?
I have just recently moved up to FCE 4 from iMovie 09, liking it a lot, and still going through Apple Pro Training book of course . My workflow for pulling clips off of my Canon HF10 AVCHD camcorder is now either: (1) if they were short clips with no
-
I recently added two pictures to a project I've been working on and all of the sudden some things became wierd so I saved it, shut it down and re-opened it to find out that it DOES NOT WORK! All I see is a blank page and the clock goes bananas! I wil
-
Adding Bootcamp Partition, on SuperDrive failing Macbook 2011 Early
I need to install my Windows License on my Macbook Pro 2011 Earyl, Lion. My SuperDrive began to fail nearly a month ago. My goal is to try install windows from an USB Windows 7 Bootable, helping me with rEFIt. Initiating process when trying to make m
-
Don't Know About ASIO Settings
Ok someone recently told me to check the ASIO drivers and said I had a latency problem because my recording problem, the soundcard records or the vocals be off beat. I don't know how to check the latency or whatever I s there anything that I can chan
-
(( Hello -ENABLE REPORT PRINTING - OPTION NOT SHOWING ))
2010-07-28 Hello, I am trying to print a report in APEX 4.0 using the free account APEX.ORACLE.COM . I learning how to do this using the tutorial at: http://st-curriculum.oracle.com/obe/db/apex/r40/apexstart/apexstart_b/apexstart_b_ll.htm In the tuto