Write a stored procedure for emplpoyee and department table to get DeptName which having no employee. Table Structure- Emp-Emp_Id,Emp_Name,Dept_id Dept-Dept_Id,Dept_Name
WHAT IS THE DIFFERENCE BETWEEN CANDIDATE KEY ,COMPOSITE KEY AND PRIMARY KEY. THAN U.1 4625
System variable and temporary variables1063
How should i optimize the time for execution of stored procedure having single input and many output from the different tables?903
how many no of arguments can be passed in procedures and functions
my name is sejal I have cleared the sbi clerk exam. I am BCA graduate My favorite subject RDBMS Relational database management system. so please send me rRDBMS related interview questions
can any body tell me how to know the password of current user in sql server
If user is owning any SQL Objects, can we drop that user
1.how to find the dead lock in sql server? 2.How to fine the memory leaks in sql server? 3.suppose transaction log file increasing what action will take ?
Issues related in upgrading SQL Server 2000 to 2005 / 2008
How to trouble shoot if unable to connect SQL Server
What are the dis_advantages of stored procedures, triggers, indexes?
How do use Having,Group by,Group function in SQL?
what are the critical issues you have resloved in your company
what is the Ticketing tool used in Wipro technologies at Bangalore...???
Can you give me some DBCC command options?(Database consistency check) - DBCC CHECKDB - Ensures that tables in the db and the indexes are correctly linked.and DBCC CHECKALLOC - To check that all pages in a db are correctly allocated. DBCC SQLPERF - It gives report on current usage of transaction log in percentage. DBCC CHECKFILEGROUP - Checks all tables file group for any damage.
Can anyone tell that the extra features are there in SQL SERVER 2008 that are not available in previous versions .
How can we call UDF(User Define Function) using C# code in ASP.net ?
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?