Share via


Function Parameter Properties

These read-only properties appear in the Properties window when you select a parameter for a function in Server Explorer.

Note

The properties in this topic are ordered by category rather than alphabet.

Note

Your computer might show different names or locations for some of the Visual Studio user interface elements in the following instructions. The Visual Studio edition that you have and the settings that you use determine these elements. For more information, see Customizing Development Settings in Visual Studio.

  • Identity Category
    Expands to show the Name property.

  • Name
    Shows the name of the selected parameter.

  • Misc Category
    Expands to show properties such as Length, Precision, and Scale.

  • Data Type
    Shows the data type of the selected parameter.

    Note

    For SQL Server, this property can take the value CURSOR if this is a stored procedures output parameter.

  • Length
    Shows the maximum number of digits allowed for numeric data types. This property shows 0 for nonnumeric data types.

  • Precision
    Shows the maximum number of digits that can appear to the right of the decimal point for numeric data types. This value must be less than or equal to the precision. This property shows 0 for nonnumeric data types.

  • Scale
    Displays the maximum number of decimal digits that can appear to the right of the decimal point. This value must be less than or equal to the precision. This property shows 0 for nonnumeric data types.

See Also

Other Resources

Properties in Visual Database Tools

Working with Stored Procedures and User-Defined Functions

Querying with Parameters