Bug 217321 - Cannot edit/run stored procedures on SQL server 2005
Summary: Cannot edit/run stored procedures on SQL server 2005
Status: NEW
Alias: None
Product: Data Tools
Classification: Tools
Component: Enablement (show other bugs)
Version: Ganymede   Edit
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Target Milestone: future   Edit
Assignee: Project Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
Depends on:
Blocks:
 
Reported: 2008-01-31 14:43 EST by Adrian Pang CLA
Modified: 2009-08-27 15:10 EDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Adrian Pang CLA 2008-01-31 14:43:28 EST
Build ID: I20071213-1700

Steps To Reproduce:
1.On a MS SQL Server 2005 system, create a stored procedure in a database:

ALTER PROCEDURE [dbo].[testFunction]
AS
BEGIN
	SET NOCOUNT ON;
	SELECT * from testTable
END
2. run the stored procedure; it runs fine and return the data in the table "testTable"
3. create a connection profile and connect to the sql server, and navigate to the "Stored Procedures" node.  The function is shown.
4. Right-click on the function and select "Run..."  It will fail with the error:

call testDB.dbo.testFunction
The value is not set for the parameter number 1.

5. right click on the function and select "Edit...".  This is the code:

CREATE PROCEDURE testFunction (
		IN @RETURN_VALUE INTEGER)
	NOT DETERMINISTIC
	NO_SQL

which is different from the definition of the function

More information:
The MS JDBC driver for SQL Server 2005 is used.
Comment 1 Brian Fitzpatrick CLA 2008-01-31 18:41:41 EST
This would be an issue with the SQL Server support in Enablement. Currently we have basic SQL Server support, but that's all. We welcome help further developing this area.