A
AkAlan via AccessMonster.com
I tried to script a stored procedure from my development database to my
production database by scripting it. He are the steps I followed:
In SMS I right click on the sp and select Script Stored Procedure AS_ Create
to_ New Query editor.
I edit the database in the square brackets USE [My DatabaseDevelopment] to
USE [My DatabaseProduction].
I then execute the script.
Now when I tryu and opent the stored procedure in the production adp I get an
error saying it can't find the stored procedure. I am using a sql compare
product and the only difference between the two sp's is how the name looks.
In the Development database it reads:
CREATE PROCEDURE dbo.spSelectFAC_PowerPlantsBySiteID
in the Production database (where I can't read it in access adp) it reads:
CREATE PROCEDURE [dbo].[spSelectFAC_PowerPlantsBySiteID]
Is there another way of moving a stored procedure created in one database to
another that I need to be aware of?
production database by scripting it. He are the steps I followed:
In SMS I right click on the sp and select Script Stored Procedure AS_ Create
to_ New Query editor.
I edit the database in the square brackets USE [My DatabaseDevelopment] to
USE [My DatabaseProduction].
I then execute the script.
Now when I tryu and opent the stored procedure in the production adp I get an
error saying it can't find the stored procedure. I am using a sql compare
product and the only difference between the two sp's is how the name looks.
In the Development database it reads:
CREATE PROCEDURE dbo.spSelectFAC_PowerPlantsBySiteID
in the Production database (where I can't read it in access adp) it reads:
CREATE PROCEDURE [dbo].[spSelectFAC_PowerPlantsBySiteID]
Is there another way of moving a stored procedure created in one database to
another that I need to be aware of?