sql Raiserror with parameters
程序员文章站
2022-06-12 14:30:41
...
URL: http://msdn.microsoft.com/en-us/library/ms178592.aspx 无 DECLARE @raiseErrorCode nvarchar(50)SET @raiseErrorCode = CONVERT(nvarchar(50), YOUR UNIQUEIDENTIFIER KEY)RAISERROR('%s INVALID ID. There is no record in table',16,1, @raiseError
URL: http://msdn.microsoft.com/en-us/library/ms178592.aspxDECLARE @raiseErrorCode nvarchar(50) SET @raiseErrorCode = CONVERT(nvarchar(50), YOUR UNIQUEIDENTIFIER KEY) RAISERROR('%s INVALID ID. There is no record in table',16,1, @raiseErrorCode)
下一篇: Oracle 错误提示一览表(转)