Viewing 5 posts - 1 through 5 (of 5 total)
this is the script i execute and i get that return
declare @char varchar(1000)
execute @char = dbo.createInsertSP 'autosp','tblspmatic'
select @char
February 10, 2011 at 3:15 am
the function return this one
IF EXISTS (SELECT * FROM sys.objects WHERE object_id = OBJECT_ID(N'[autosp].[inserttblspmatic]') AND type in (N'P', N'PC')) DROP PROCEDURE [autosp].[inserttblspmatic]||CREATE PROC [autosp].[inserttblspmatic] ( ) AS -- Author:...
February 10, 2011 at 3:14 am
CREATE TABLE [dbo].[tblautosp](
[idprimary] [int] IDENTITY(1,1) NOT NULL,
[desc] [nchar](10) NULL,
CONSTRAINT [PK_tblautosp] PRIMARY KEY CLUSTERED
(
[idprimary] ASC
)WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON,...
February 10, 2011 at 3:06 am
Hey hey hey
when i execute the function
Msg 537, Level 16, State 5, Procedure createInsertSP, Line 78
Invalid length parameter passed to the LEFT or SUBSTRING function.
Msg 537, Level 16, State...
February 10, 2011 at 2:56 am
hello there
your script execute successfully but,it doesnt create stored procedure ,canb you post an example.
thanks
February 10, 2011 at 2:50 am
Viewing 5 posts - 1 through 5 (of 5 total)