February 27, 2006 at 1:52 am
[name] [sysname] NOT NULL ,
[id] [uniqueidentifier] NOT NULL ,
[versionid] [uniqueidentifier] NOT NULL ,
[description] [nvarchar] (1024) COLLATE Traditional_Spanish_CI_AS NULL ,
[categoryid] [uniqueidentifier] NOT NULL ,
[createdate] [datetime] NULL ,
[owner] [sysname] NOT NULL ,
[packagedata] [image] NULL ,
[owner_sid] [varbinary] (85) NOT NULL CONSTRAINT [DF__sysdtspac__owner__1332DBDC] DEFAULT (suser_sid(N'sa')),
[packagetype] [int] NOT NULL CONSTRAINT [DF__sysdtspac__packa__14270015] DEFAULT (0),
CONSTRAINT [pk_dtspackages] PRIMARY KEY CLUSTERED
(
[id],
[versionid]
  ON [PRIMARY] ,
UNIQUE NONCLUSTERED
(
[versionid]
  ON [PRIMARY] ,
FOREIGN KEY
(
[categoryid]
  REFERENCES [sysdtscategories] (
[id]
 
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
[DtsId] [int] IDENTITY (1, 1) NOT NULL ,
[Name] [varchar] (35) COLLATE Traditional_Spanish_CI_AS NULL ,
[Owner] [varchar] (75) COLLATE Traditional_Spanish_CI_AS NULL ,
[PackageID] [nvarchar] (75) COLLATE Traditional_Spanish_CI_AS NULL ,
[CreationDate] [datetime] NULL ,
[CreatorComputerName] [varchar] (25) COLLATE Traditional_Spanish_CI_AS NULL ,
[Description] [varchar] (50) COLLATE Traditional_Spanish_CI_AS NULL ,
CONSTRAINT [PK_VISDTS_Dts] PRIMARY KEY CLUSTERED
(
[DtsId]
  ON [PRIMARY]
) ON [PRIMARY]
GO
February 27, 2006 at 11:03 am
Have you declared all sizes in your stored procedure?
Like convert(varchar(mylength),my variable) instead of convert(varchar, myvariable)?
Viewing 2 posts - 1 through 1 (of 1 total)
You must be logged in to reply to this topic. Login to reply