Creating the error message raised if a user enters a temperature lower than absolute zero
To create the error message:
Choose
Edit
>
Insert
>
Error
and type the following information in the
New Error
wizard.
Error property
Mercury error value
SQL Error Code
UMRC0
Error Locale
en_us.1252
Register message as...
Both
SQL error text
Temperatures cannot go below absolute zero.
Click
Finish
and choose
Project
>
Save
to save your project.
Parent topic:
Tutorial exercise 2: Creating distinct data types and casts
Copyright© 2019 HCL Technologies Limited