[
https://issues.apache.org/jira/browse/JUDDI-1011?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17156717#comment-17156717
]
Steve Luisser commented on JUDDI-1011:
--------------------------------------
When you run the command to create table j3_tmodel_instance_info on Microsoft
SQL Server you get the following error message:
Msg 131, Level 15, State 2, Line 1
The size (8192) given to the column 'instance_parms' exceeds the maximum
allowed for any data type (8000).
> MS SQL Server table - length of field too large
> -----------------------------------------------
>
> Key: JUDDI-1011
> URL: https://issues.apache.org/jira/browse/JUDDI-1011
> Project: jUDDI
> Issue Type: Bug
> Components: core
> Reporter: Steve Luisser
> Priority: Major
>
> File mssql2000.ddl
>
> create table j3_tmodel_instance_info (id numeric(19,0) not null,
> instance_parms varchar(8192), tmodel_key varchar(255) not null, entity_key
> varchar(255) not null, primary key (id));
>
> The instance_parms column exceeds the maximum length of a varchar field in
> SQL Server of 8000 characters. I’ve reviewed the scripts for the other
> database engines and the best option is to define this column as
> instance_parms varchar(max). Another option is to define this column as
> instance_parms varchar(8000) although if there was a good reason to make it
> 8192 this value could overflow.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)