Questions regarding Raiseerror?
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 |
How to concatenate two binary strings together?
What are the purpose of Normalisation?
Describe how to use the linked server?
What is normalization and its forms?
4 Answers Challenger Financial,
What is the new security features added in sql server 2014? : sql server security
What are the differences between clustered and non-clustered index?
What is data source in connection string?
How to edit table in sql server 2017?
What is a scheduled job or what is a scheduled task?
How to test values returned by a subquery with the in operator?
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?
What are functions in the sql server?