Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Raiserror question
Message
General information
Forum:
Microsoft SQL Server
Category:
Stored procedures, Triggers, UDFs
Environment versions
SQL Server:
SQL Server 2000
Miscellaneous
Thread ID:
01477486
Message ID:
01477488
Views:
34
>>Hi All, I'm playing around with Raiserror() and would like to display my own error message without all the other stuff i.e. sp name, line number etc..., is this possible ?
>
>You have to supply to the RAISERROR statement at least 3 parameters
>
>--RAISERROR (<message>, <severity>,<state>)
>RAISERROR ('My Message', 10,1)
>
Hi Sergey, that is exactly what I'm doing and see a MessageBox with five lines of information - Index #0 - 'The error' - LineNumber: 12 - Source: >NET.SqlClient Data Provider - Procedure: MySP. What I would like, is , to just see the message text without all the other stuff
Regards,
Peter J. Kane



Pete
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform