adspace
Answer Posted / Shobhit Tyagi
To view a trace file (.trc) in SQL Server, you can use tools like SQL Server Profiler or SQLCMD with the -v option to parse the events and display them.
| Is This Answer Correct ? | 0 Yes | 0 No |
Post New Answer View All Answers
How to remove duplicate rows from table except one?
What are the kinds of subquery?
How can I check that whether automatic statistic update is enabled or not?
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 system functions or built-in functions? What are different types of system functions?
How to provide default values to function parameters?
What are the different subsets of sql?
Explain “row_number()” in sql server with an example?
How to convert numeric expression data types using the cast() function?
If any stored procedure is encrypted, then can we see its definition in activity monitor?
Can one drop a column from a table?
How to enter binary string literals in ms sql server?
what is the Ticketing tool used in Wipro technologies at Bangalore...???
Can sql servers link to other servers like oracle?
What is subquery? Explain the properties of a subquery?