Connect to an Oracle database with SQL Server 2000 Reporting Services? - oracle

I am trying to create a report in SSRS2000 that will query an ORACLE database and pass one parameter, I am getting the following error message:
ORA-01036: illegal variable name/number
But have been unable to find much help elsewhere on the web with this error code
I was hoping that this would be fairly simple to do, does anyone have any idea how to accomplish this task?

You'll have to accept some Answer in order to show this question as "Answered" and you can't accept your own, so it might as well be this one.
Guys, I Swear I'm not trolling for rep, I don't even know what the proper term for that is. But if I mark it as Wiki, I won't right? So I did.

It turns out that the parameter had to be named Parameter1 for this to work, and that the dba had to correct a connection issue!

Related

Connection to a oracle database

This one seems like it should be obvious but could I get some guidance on how you use HHVM and Hack to connect to an Oracle DB? Has anyone done this? If so could we provide some guidance on this? I am sure someone has done this in the past.
Apologies in advance if this has already been answered - I did try to search for it but can't find anything related to connecting to a db?

oracle - Schemas issues when migration from discoverer to OBIEE

I'm working on migrating some reports from Oracle Discoverer to OBIEE. I've already exported the layouts from discoverer to OBIEE. I have all I need in the OBIEE Admin tool now, but when I try to perform this operation:
I got this message:
I've read in many forums that this is because of the query (enter link description here) but I've executed the query in SQL Developer and all is fine.
Any idea?
Thanks,
I can see from the icon on your object that it is an Opaque View that your trying to run View Data on.
This is probably because of a syntax issue in your opaque view. Make sure the code in the opaque view doesn't end with a semi-colon or slash, that will cause problems. Try eliminating any blank lines, if there are any. However, without knowing exactly the syntax of the code it's impossible to say exactly what the cause is.
It's also possible that there is a connection script attached to the connection pool you are using to View Data, running on connection or before execution with bad syntax.
Otherwise have a look in the Admin Tool log to see if there's more information about what is causing the error. It will usually contain more detailed information than is passed back through the GUI.

VB6 user requested cancel of current operation Oracle error

I'm currently troubleshooting a VB6 application that sporadically comes up with the following error:
[Oracle][ODBC][Ora]ORA-01013: user requested cancel of current operation
All of the research I've done on this error states that it is either an actual request for cancellation by the user or a timeout. It can't be a request for cancellation because the input is coming in from an automated source, so it must be a timeout. One thing I read online was to un-check the query timeout checkbox in the DSN configuration box but my program uses a DSN-less connection to the database, which is an Oracle 10g database.
There are several queries in this program but it always fails on one query in particular, however I can't reproduce the error in a test environment using all of the same input to the program that caused the error in the first place.
A co-worker of mine suggested doing a rollback after each query even though the queries are read only because some kind of buffer might be getting filled up or something of the like, but this didn't work. At this point I don't even know how to continue troubleshooting it because I can't reproduce the error. If someone could give me any idea of what is going on and how to fix the problem I'd greatly appreciate it. Thanks in advance!
All of the options that you can choose when setting up a DSN can be specified in the connection string if you are using a DSN-less connection. If you want to disable query timeouts, you would add
QTO=F
to the connection string. So your new connection string would be something like
DRIVER={Oracle ODBC Driver};UID=Kotzwinkle;PWD=whatever;DBQ=instl_alias;QTO=F;

how do i generate SQL script at runtime in VB6.0

how do i Generate SQL Script at runtime from VB6.0 and DB as SQL Server, generate all tables,views,PK,FK.Stored Procedures,Triggers from existing database. thanks in advance.
The simplest way I found to do this sort of thing was to use the SQL Distributed Object Model that you get with SQL Server and it works great with VB6. The last time I tried it was with SQL Server 2000 but the theory should still be good.
Give this link a try as a good start and take it from there, this shows you how to get at the stored procedures http://support.microsoft.com/kb/315505
Once you have got this bit down the other bits you need should be simple enough.
I hope this helps.
Cheers

Oracle ODP.NET BulkCopy to temporary table issue

I'm using BulkCopy method from ODP.NET to insert a DataTable to a temporary table.
If the temporary table is simple (no triggers or indexes) it works, fine, but as soon as I create an index or trigger, i get the "End-of-file on communication channel" error at BulkCopy.WriteToServer() method.
Any idea how could i fix this?
Thank you!
In case of an ORA-03113: end-of-file on communication channel, the server process dedicated to your session died because of a bug or error. The client process detects that the server process is missing and raises the ORA-03113. The server process has written its error message to the alert file. Check this file on the server to find out what went wrong. You may have to ask your DBA to do this for you.
Regards,
Rob.
I concur with the posters above. Check your alert log file. If you see an ORA-600 there, you (or your DBA) should contact Oracle support because you may need a patch.
Christian Shay
Oracle
Temporary tables in Oracle are almost always a bad idea. Can you re-design the program to use either a regular table or a PL/SQL collection?
I've contacted Oracle about this. Apparently it's a bug, that was fixed in 11g. They're now trying to release a patch

Resources