C
chrisgirl77
Hello,
My appliction was connected to SQL SERVER, and was using a STORED
PROCEDURE (created using T-SQL) in SQL SERVER.
The code for the procedure is:
CREATE PROCEDURE proc_name
@par1 varchar(100),
@par2 varchar(100)
AS
BEGIN
SET NOCOUNT ON;
SELECT par1, par2 from table_name
where par1= @val1 and par2=@val2
END
GO
MY PROBLEM IS:
Am trying to create a stored procedure in MS Access (using query) to
function as above. But its giving me an error:
SYNTAX ERROR IN CREATE TABLE.
Tried to run as simple query too:
CREATE PROCEDURE procName as SELECT * FROM tabName.
Still a failure, with same error message.
As far as I came to know after Researching is that ACCESS doesnt
support 'CREATE PROCEDURE' table. Is there any other work-around? I
prefer calling the procedure from the application.
Any help appreciated...
My appliction was connected to SQL SERVER, and was using a STORED
PROCEDURE (created using T-SQL) in SQL SERVER.
The code for the procedure is:
CREATE PROCEDURE proc_name
@par1 varchar(100),
@par2 varchar(100)
AS
BEGIN
SET NOCOUNT ON;
SELECT par1, par2 from table_name
where par1= @val1 and par2=@val2
END
GO
MY PROBLEM IS:
Am trying to create a stored procedure in MS Access (using query) to
function as above. But its giving me an error:
SYNTAX ERROR IN CREATE TABLE.
Tried to run as simple query too:
CREATE PROCEDURE procName as SELECT * FROM tabName.
Still a failure, with same error message.
As far as I came to know after Researching is that ACCESS doesnt
support 'CREATE PROCEDURE' table. Is there any other work-around? I
prefer calling the procedure from the application.
Any help appreciated...