SIGN (SSIS Expression)
Applies to:
SQL Server
SSIS Integration Runtime in Azure Data Factory
Returns the positive (+1), negative (-1), or zero (0) sign of a numeric expression.
Syntax
SIGN(numeric_expression)
Arguments
numeric_expression
Is a valid signed numeric expression. For more information, see Integration Services Data Types.
Result Types
DT_I4
Remarks
SIGN returns a null result if the argument is null.
Expression Examples
This example returns the sign of a numeric literal. The return result is -1.
SIGN(-123.45)
This example returns the sign of the result of subtracting the StandardCost column from the DealerPrice column.
SIGN(DealerPrice - StandardCost)
See Also
प्रतिक्रिया
https://aka.ms/ContentUserFeedback.
जल्द आ रहा है: 2024 के दौरान हम सामग्री के लिए फीडबैक तंत्र के रूप में GitHub मुद्दों को चरणबद्ध तरीके से समाप्त कर देंगे और इसे एक नई फीडबैक प्रणाली से बदल देंगे. अधिक जानकारी के लिए, देखें:के लिए प्रतिक्रिया सबमिट करें और देखें