PrintMax
Returns an nvarchar(MAX) user defined message to the client
- Stored Procedure
- SQL Server Compatibility: 2008, 2012, 2014, 2016, 2017
EXEC SQLHTTP.net.PrintMax @Text [, @WrapAtWidth]
Name | Type | Description |
---|---|---|
@Text | nvarchar(MAX) | Text to be returned to the client. |
@WrapAtWidth | int | Optional. The maximum value of characters to be returned in a single line if no line break is encountered. Max value is 4000 characters. |
This function is similar to SQL Server’s PRINT command, but with a @Text parameter of type nvarchar(MAX).
1 2 3 |
EXEC SQLHTTP.net.PrintMax 'This can be a very long text', 12 |
This can be
a very long
text
a very long
text