What are constraints? Explain different types of
constraints?
Answer Posted / g.rajesh(m.tech)
constrain kis a rule.
types of constriants are
1.domain constrain:
eg:chjeck,default,not null.
2.entity constraints:
eg:primary key.
unique key
3.referential constrain:
eg:foreign key
| Is This Answer Correct ? | 7 Yes | 9 No |
Post New Answer View All 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?
What is resource governor in sql server?
What is bcp? When does it use?
What is ssl in sql server?
What is the difference between char, varchar and nvarchar?
When does a workload on SQL Azure get throttled?
What do you understand by integration services in sql server?
Mention what are the different types of ssrs reports?
What is tcl in sql server?
Write a sql query to sort on different column name according to the parameters passed in the function?
What are different types of subquery?
Explain DBCC?
What are the types of processing and explain each? : sql server analysis services, ssas
What is right outer join in sql server joins?
Explain about nested stored procedure?