How to generate create procedure script on an existing stored procedure?
No Answer is Posted For this Question
Be the First to Post Answer
What is an extended stored procedure? Can you instantiate a COM object by using T-SQL?
What is difference between views and stored procedures?
Define clusters?
Assume,there are three tables in a database, Can i have both primary key and foreign key for each table in the same database?
What are the type of joins? When do we use Outer and Self joins?
How check triggers in sql server?
Why does sql studio use a single registered database repository? : sql server management studio
How to give a user the option of importing Excel and a delimited text file into a SQL Server Database without manually using SQL DTS?
How to select top 5 coloumn from a table without using coloumn name
What is an etl file?
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 de-normalization and when do you do it?