crystal reports 11 accessing Stored procedures in sql server 2000
Pl. bear with me as this is the first time I am
dealing with SPs.
I created a very basic stored procedure in sql server:
CREATE PROCEDURE proc1 @ITEMID varchar(40) AS
SELECT MIITEM.ID,MIITEM.DESCR FROM MIITEM WHERE ID =
@ITEMID
GO
now i access this stored procedure through crystal v11 and
I am able to get the data I was expecting.
acc. to theory stored procedures donot return data and
functions return data.
in crystal help it says that ,in oracle we need to use
"REF cursor" which enables to get the data from the
stored procedure, but here i did not use any thing
like ref cursor in sql server, still i was able to get
all the data.
pl. help me understand the concept. thanks,
------------------------------------------
A Man can be only as happy.. as he makes up his mind to be
Pl. bear with me as this is the first time I am
dealing with SPs.
I created a very basic stored procedure in sql server:
CREATE PROCEDURE proc1 @ITEMID varchar(40) AS
SELECT MIITEM.ID,MIITEM.DESCR FROM MIITEM WHERE ID =
@ITEMID
GO
now i access this stored procedure through crystal v11 and
I am able to get the data I was expecting.
acc. to theory stored procedures donot return data and
functions return data.
in crystal help it says that ,in oracle we need to use
"REF cursor" which enables to get the data from the
stored procedure, but here i did not use any thing
like ref cursor in sql server, still i was able to get
all the data.
pl. help me understand the concept. thanks,
------------------------------------------
A Man can be only as happy.. as he makes up his mind to be