int is incompatible with uniqueidentifier !
boujour,
j'ai voulu changer quelques fichiers .sql pour modifier la création d'une base de donnée et je veux des champs uniqueidentifier dans ma table.
voici le code de la table :
Code:
1 2 3 4 5 6 7 8
|
CREATE TABLE [dbo].[maTable] (
[champ1] [Int] NOT NULL ,
[champUniqueID] [uniqueidentifier] NOT NULL CONSTRAINT [DF__AutreTable_champUniqueID] DEFAULT (0),
[champUniqueID_2][uniqueidentifier] NOT NULL ,
ON [PRIMARY]
GO |
avec sa je me retrouve avec l'erreur :
Citation:
Operand type clash: int is incompatible with uniqueidentifier
comment faire ?