안녕하세요.
아래와 같이 Create Table 도중 오류가 발생하는데 도무지 알 수가 없습니다.
관련 내용 아시는 분 계시면 조언 부탁드립니다. ㅜ.ㅜ
서버 버전이나 ODBC 버전에 영향을 받을까요???
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
ERROR [ZZZZZ] [Sybase][ODBC Driver][Adaptive Server Enterprise]Column 'bbb' is part of a primary key constraint and cannot be null.
ERROR [ZZZZZ] [Sybase][ODBC Driver][Adaptive Server Enterprise]Failed to create declarative constraints on table 'test' in database 'SPPRTL'.
CREATE TABLE test(
[aaa] [int] NOT NULL,
[bbb] [varchar](64) DEFAULT convert(varchar,GETDATE(),112) || str_replace(substring(convert(varchar,getdate(),20),1,8),':',null),
[ccc] [int] DEFAULT 0,
CONSTRAINT [PK_CUBE_SourceFigure] PRIMARY KEY CLUSTERED
(
[aaa] ASC,
[bbb] ASC
)
)
|