Aracılığıyla paylaş


/ ((SSIS ifadeleri) bölme)

Ilk sayısal ifade ikincisi böler.


dividend / divisor
        

Bağımsız değişkenler

  • dividend
    Is the numeric expression to divide.dividend can be any valid numeric expression.Daha fazla bilgi için bkz:Tümleştirme Hizmetleri veri türleri.

  • divisor
    Is the numeric expression to divide the dividend by.divisor can be any valid numeric expression except zero.

Sonuç türleri

Iki bağımsız değişkenlerin veri türlerini belirler.Daha fazla bilgi için bkz:Deyimler içinde örtülü veri türü dönüştürme.

Remarks

Her iki işlenen boş ise, null sonucudur.

Sıfıra bölme, geçerli değil.Bağlı nasıl divisor subexpression değerlendirilir aşağıdaki hatalardan biri oluşur:

  • If the divisor subexpression that evaluates to zero is a sabit, the error appears at design saat, causing the ifade to fail validation.

  • If the divisor subexpression that evaluates to zero contains variables, but no input columns, the component to which the ifade belongs fails the pre-execution validation that occurs before the paket runs.

  • If the divisor subexpression that evaluates to zero contains input columns, the error appears at run saat and is handled according to the error flow rules of the veri akışı bileşeni.

Örnekler

Bu örnek, iki sayısal hazır bilgi böler.

25 / 5

Bu örnek değerler böler ListPrice değerleri sütunuStandardCost sütun.

ListPrice / StandardCost