Questions regarding Raiseerror?



Questions regarding Raiseerror?..

Answer / chandra rekha

Raiseerror command is used to generate user defined error
messages.Syntax is as follows: RAISEERROR
('Message',sevierity,state)
message is the user defined error message
sevierty defines the seriousness of the error (1 to 25)
state defines the number of places from where the error
might get generated

Is This Answer Correct ?    4 Yes 0 No

Post New Answer

More SQL Server Interview Questions

How to concatenate two binary strings together?

0 Answers  


What are the purpose of Normalisation?

0 Answers   HCL,


Describe how to use the linked server?

0 Answers  


What is normalization and its forms?

4 Answers   Challenger Financial,


What is the new security features added in sql server 2014? : sql server security

0 Answers  






What are the differences between clustered and non-clustered index?

0 Answers  


What is data source in connection string?

0 Answers  


How to edit table in sql server 2017?

0 Answers  


What is a scheduled job or what is a scheduled task?

0 Answers  


How to test values returned by a subquery with the in operator?

0 Answers  


This question asked during interview, 2) At the end of each month, a new table is created for each bank that contains monthly metrics consolidated at the account level. The table naming convention is bankX_YYYYMM where X represents the numeric designation of the bank and YYYYMM indicates the 4 digit year and 2 digit month. The tables contain the following fields: name data type description account text account number registered boolean indicates whether the account is registered num_trans integer number of transactions made during the time period spend numeric(9,2) total spend during the time period a) Write a SQL query that will display the total number of transactions and total spend for "Bank1" during the 4th quarter of 2009. b) Write a SQL query that will display the total number of transactions and total spend at "Bank1" and "Bank2", broken out by registered vs. non-registered accounts, during January 2010 not sure what is correct answer and how to solve?

0 Answers   TCS,


What are functions in the sql server?

0 Answers  


Categories