Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Other SQL Server Topics (2005)
 varchar(max)

Author  Topic 

murali_utr
Starting Member

1 Post

Posted - 2008-05-13 : 03:04:42
while scripting the database varchar(max) database comes as varchar(-1). Error Occured while restoring the database. Sample script generated query. Filename testname is datatype of varchar(max)

CREATE TABLE [newtest] (
[testno] [int] NULL ,
[testname] [varchar] (-1) COLLATE SQL_Latin1_General_CP1_CI_AS NULL
) ON [PRIMARY]
GO

Need any suggestion.

Thanks in advance!

Have A Nice Day!

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2008-05-13 : 03:21:53
Which tool and version did you use to script the table?



E 12°55'05.25"
N 56°04'39.16"
Go to Top of Page
   

- Advertisement -