Quantcast
Channel: SCN: Message List - SAP Adaptive Server Enterprise (SAP ASE) for Custom Applications
Viewing all articles
Browse latest Browse all 3587

Re: Sybase 16 and @table vars

$
0
0

Thanks

 

This error message is a bit odd

 

And this error message is a bit odd - not on the PK cols are nullable.

 

declare @tab table

(

UniqueIdentifier varchar(28) NOT NULL,

AsFrom datetime not NULL,

AsTo datetime not NULL,

ISINCode varchar(12) NULL

 

  primary key (UniqueIdentifier, AsTo, ValidTo)

)

 

>[Error] Script lines: 28-38 ------------------------

Nulls not allowed in a primary key column.

Msg: 7325, Level: 15, State: 1

Server: LN_DELTA_Q2_SQL, Line: 1 _

.


Viewing all articles
Browse latest Browse all 3587

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>