Aracılığıyla paylaş


! (Mantıksal değil) (SSIS ifadeleri)

Bir Boole işlenen olumsuzlar.

Not

The !operator cannot be used in conjunction with other operators.For example, you cannot combine the !and the > operators into the !>.operator.


!boolean_expression
        

Bağımsız değişkenler

Sonuç türleri

dt_bool

Remarks

The following table shows the result of the !operation.

Özgün Boolean ifade

After applying the !operator

TRUE

FALSE

null

null

FALSE

TRUE

Örnekler

Bu örnek için YANLıŞ ise değerlendirir Renk sütun değeri "kırmızı" dir.

!(Color == "red")

Bu örnek için TRUE ise, değerini değerlendirir MonthNumber değişkeni geçerli ayı temsil eden bir tamsayı ile aynıdır.Daha fazla bilgi için bkz: Ay (SSIS ifadeleri) ve GETDATE (SSIS ifadeleri).

!(@MonthNumber != MONTH(GETDATE())