I am wondering if someone can help solve this question I have a table
in sql server 2000, I setup it using Enterprise manager.
When I generate an SQL Script for this table it scripts as:
CREATE TABLE [dbo].[CubicleConfigur ation] (
[CubicleConfigur ationID] [int] IDENTITY (1, 1) NOT NULL ,
[Description] [nvarchar] (255) COLLATE SQL_Latin1_Gene ral_CP1_CI_AS
NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
Which is fine, however when I try to insert that into another database
using query anaylser I get the following error:
Server: Msg 1709, Level 16, State 1, Line 2
Cannot use TEXTIMAGE_ON when a table has no text, ntext, or image
columns.
OK I know I can remove the TEXTIMAGE_ON [PRIMARY] and that solves the
problem, however I have written some scripts to automate script
generation process, and this TEXTIMAGE thing, throws a spanner in the
automation process.
Any to suggestions as to why this is happening?
If I try building a new table manually using enterprise manager
creating the same table definition above, then script it, I get:
CREATE TABLE [dbo].[CubicleConfigur ation2] (
[CubicleConfigur ationID2] [int] IDENTITY (1, 1) NOT NULL ,
[Description2] [nvarchar] (255) COLLATE Latin1_General_ CI_AS NULL
) ON [PRIMARY]
GO
Which is correct and should be generated in the first place
Any ideas as to why enterprise manager decides to add a TEXTIMAGE_ON
[PRIMARY] and break it?
The question is has something in the schema been corrupt?, how do I
return it back to normal?
in sql server 2000, I setup it using Enterprise manager.
When I generate an SQL Script for this table it scripts as:
CREATE TABLE [dbo].[CubicleConfigur ation] (
[CubicleConfigur ationID] [int] IDENTITY (1, 1) NOT NULL ,
[Description] [nvarchar] (255) COLLATE SQL_Latin1_Gene ral_CP1_CI_AS
NULL
) ON [PRIMARY] TEXTIMAGE_ON [PRIMARY]
GO
Which is fine, however when I try to insert that into another database
using query anaylser I get the following error:
Server: Msg 1709, Level 16, State 1, Line 2
Cannot use TEXTIMAGE_ON when a table has no text, ntext, or image
columns.
OK I know I can remove the TEXTIMAGE_ON [PRIMARY] and that solves the
problem, however I have written some scripts to automate script
generation process, and this TEXTIMAGE thing, throws a spanner in the
automation process.
Any to suggestions as to why this is happening?
If I try building a new table manually using enterprise manager
creating the same table definition above, then script it, I get:
CREATE TABLE [dbo].[CubicleConfigur ation2] (
[CubicleConfigur ationID2] [int] IDENTITY (1, 1) NOT NULL ,
[Description2] [nvarchar] (255) COLLATE Latin1_General_ CI_AS NULL
) ON [PRIMARY]
GO
Which is correct and should be generated in the first place
Any ideas as to why enterprise manager decides to add a TEXTIMAGE_ON
[PRIMARY] and break it?
The question is has something in the schema been corrupt?, how do I
return it back to normal?
Comment