Answer Posted / yoshita
DML triggers use the deleted and inserted logical
(conceptual) tables. They are structurally similar to the
table on which the trigger is defined, that is, the table
on which the user action is tried. The deleted and inserted
tables hold the old values or new values of the rows that
may be changed by the user action. For example, to retrieve
all values in the deleted table, use
Is This Answer Correct ? | 5 Yes | 3 No |
Post New Answer View All Answers
How can you set the threshold at which sql server will generate keysets asynchronously?
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 is an expression in ms sql server?
What are the different types of triggers in SQL SERVER?
Is it possible to update the views? If yes, how, if not, why?
What is difference between inner join and full join?
Can you pass expressions to stored procedure parameters?
Explain raiserror in sql server?
What are system databases into sql server (2005/2008) : sql server database administration
what is unique and xaml nonclustered index
Explain the creation and execution of a user-defined function in the sql server?
Do you know the different ddl commands in sql?
can any body tell me how to know the password of current user in sql server
What is the difference between DataRow.Delete() and DataRow.Remove()?
Explain what is it unwise to create wide clustered index keys?