Aracılığıyla paylaş


/ (Bölme (SSIS ifade))

İlk sayısal ifade tarafından ikinci bir böler.

Sözdizimi


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

İki bağımsız değişkenlerin veri türlerini belirledi.Daha fazla bilgi için bkz: İfadelerde örtülü veri türü dönüştürme.

Açıklamalar

Ya da işlenen null ise null bir sonucudur.

Sıfıra bölme yasal değil.Bağlı olarak nasıl divisor Alt ifadeyi değerlendirildi, aşağıdaki hatalardan biri oluşur:

  • If the divisor subexpression that evaluates to zero is a constant, the error appears at design time, causing the expression to fail validation.

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

  • If the divisor subexpression that evaluates to zero contains input columns, the error appears at run time and is handled according to the error flow rules of the data flow component.

Örnekler

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

25 / 5

Bu örnek değerleri ayıran ListPrice sütun değerleri tarafından StandardCost sütun.

ListPrice / StandardCost