all groups > sql server reporting services > february 2006 >
You're in the

sql server reporting services

group:

Sybase stored procedure


Sybase stored procedure Eric
2/8/2006 1:36:30 PM
sql server reporting services:
hi,

Im using an ODBC datasource linked to a Sybase database.

In the dataset designer, I can access data in a table using the following
syntax :
SELECT * FROM "exp"."PROJ"

However I can't seem to find the proper syntax to call a stored procedure. I
select Stored Procedure as the Command Type and type Get_Project_Title (a
stored procedure). But when I execute it, it displays the following error
message after asking for the parameters :

"An error occured while executing the query. [ErrorS0002][SYBASE][ODBC
DRIVER][ADAPTIVE ANYWHERE] The table or view cannot be found. The procedure
Get_Title_Project cannot be found."

However I find it extremely difficult to believe that the procedure cannot
be found, when it asks for the parameter of the stored proc just before ....
:s

Any ideas on what is the problem?

Thx

Re: Sybase stored procedure Bruce L-C [MVP]
2/8/2006 4:23:22 PM
Use the generic query designer (2 pane). Pick text as command type. Then do
this (for a stored proc with 2 parameters).

mystoredproc ?,?

Unfortunately I work against Sybase quite a bit. I see you are already using
ODBC. Stay with that. I had problems with OleDB and found ODBC to be best.

--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

Re: Sybase stored procedure Reeves Smith
4/17/2007 1:06:04 PM
Bruce,

You posted this over a year ago and I was wondering Is this still the case
today?

Unfortunately I work against Sybase quite a bit. I see you are already using
ODBC. Stay with that. I had problems with OleDB and found ODBC to be best.

We are working with Sybase IQ 12.6 soon to be 12.7 and ASE 12.5 heading to
15.0 soon.

Reeves
Re: Sybase stored procedure Reeves Smith
4/17/2007 3:20:02 PM
Thanks for the quick response. I'll give it a shot, and post anything I find,
a little new to Sybase so it might be a while.

Reeves

[quoted text, click to view]
Re: Sybase stored procedure Bruce L-C [MVP]
4/17/2007 4:50:47 PM
I don't know. There is the 15 client which I am using against 12.5.2
database. Seems to be a good client and quite fast. You might be OK with
OLEDB now. I say just give it a try but go to ODBC if you have any problems.

--
Bruce Loehle-Conger
MVP SQL Server Reporting Services

[quoted text, click to view]

AddThis Social Bookmark Button