write down the code for "how we delete a table without
using of Drop command " ?
Answer Posted / shanmugam
truncate table tablename
Is This Answer Correct ? | 7 Yes | 3 No |
Post New Answer View All Answers
How to execute the cursor queries with "open" statements?
What is the difference between a local and a global temporary table?
Explain what are magic tables in sql server?
How you can minimize the deadlock situation?
How will you monitor replication activity and performance? What privilege do you need to use replication monitor? : sql server replication
Which event (check constraints, foreign key, rule, trigger, primary key check) will be performed last for an integrity check?
What are the limitations/drawbacks or ssrs 2008 r2?
What function does a database engine serve in the sql server?
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?
Explain what is “asynchronous” communication in sql server service broker?
What is t-sql script to take database offline – take database online.
What program is used to store the data source file?
How to insert data with null values?
What is the difference between a clustered index and a non-clustered index?
How to find tables without indexes?