View Full Version : SQL
- What is web server
- What are functions
- What is a NOLOCK
- What command do we use to rename a database
- What are tasks
- What are the four main query statements
- How to get the automatic backup of the database in the SQL server
- What is SQL server agent
- What is the purpose of UPDATE STATISTICS
- Explain some DBCC commands
- What is the purpose of using COLLATE in a query
- What is data integrity? Explain constraints
- What is the STUFF function and how does it differ from the REPLACE function
- Explain what are db_options used for
- How to know description of a table in SQL server 2000
- How to Execute an Operating System Command From Within SQL Server
- How can I create a plain-text flat file from SQL Server input to another application
- What is the Difference between 'Count' and 'Count(*)'
- How to count the number of duplicate items in a table
- What are cursors
- What are the types of indexes available with SQL Server
- When do we use the UPDATE_STATISTICS command
- Which TCP/IP port does SQL Server run on
- Can you tell me the difference between DELETE & TRUNCATE commands
- Can we use Truncate command on a table which is referenced by FOREIGN KEY
- What is the use of DBCC commands
- What is the difference between a HAVING CLAUSE and a WHERE CLAUSE
- What do you mean by COLLATION
- What is a Join in SQL Server
- When do you use SQL Profiler
- What is a Linked Server
- Can you explain the role of each service
- Where do you think the user?s names and passwords will be stored in SQL server
- What are the OS services that the SQL Server installation adds
- Which stored procedure will you be running to add a linked server
- How do you troubleshoot SQL Server if its running very slow
- What are the authentication modes in SQL Server
- What are three SQL keywords used to change or set some ones permissions
- What is BCP? When do we use it
- Can you explain the types of Joins that we can have with SQL Server
- How to Run a Query on a Remote SQL Server
- How to Generate a Series of Random Integers with T-SQL
- How to know Who Is Blocking Your SQL Server
- How to Display, Amount of Disk Activity Generated by Transact-SQL Statements
- How to get the last identity value used
- How to Check Whether a Global Temporary Exists in a SQL Database or not
- What are the pros and cons of creating extended stored procedures
- What should we do to copy the tables, schema and views from one SQL Server to another
- How do we compare two values when one value is char and the other is an integer
- Which command using Query Analyzer will give you the version of SQL server
- What is database normalization
- Explain DBMS, RDBMS
- What are primary keys and foreign keys
- Explain sp_configure commands, set commands
- How do we upgrade from SQL Server 6.5 to 7.0 and 7.0 to 2000
- Explain the new features of SQL server 2000
- Explain fundamentals of Data ware housing & OLAP
- How do you find the number of rows in a table
- Explain couple of features of SQL server
- Explain the basic concepts of SQL server architecture
- Explain basic SQL queries with SELECT from where Order By, Group By-Having
- How do you check the performance of a query and how do you optimize it
- How do you load large data to the SQL server database
- What is the difference between a local and a global variable
- Name four types of cursors and when each one would be applied
- What is the difference between a Local temporary table and a Global temporary table
- How do you use DBCC statements to monitor various aspects of SQL server installation
- What is referential integrity and how is it achieved
- What is indexing
- What is referential integrity? What are the advantages of it
- What is one of the first things you would do to increase performance of a query
- What are the basic functions for master, msdb, tempdb databases
- What are the difference between writing SQL query and stored procedure
- Explain about types of indexes in SQL server
- How to find nth highest salary
- What is the use of CASCADE CONSTRAINTS
- Which command executes the contents of a specified file
- Which command displays the SQL command in the SQL buffer, and then executes it
- Which system tables contain information on privileges granted and privileges obtained
- Which system table contains information on constraints on all the tables created
- What command is used to create a table by copying the structure of another table
- What operator performs pattern matching
- What is the advantage of specifying with GRANT OPTION in the GRANT command
- What are the types of Indexes? which one is best one and why
- How to work on DTS? what is the main requirement
- Which is the subset of SQL commands used to manipulate Oracle Database structures
- What are constraints? Explain different types of constraints
- What are the new features introduced in SQL Server 2000
- What changed between the previous version of SQL Server and the current version
- Explain the storage models of OLAP
- Explain the architecture of SQL Server
- What is lock escalation
- What's the difference between DELETE TABLE and TRUNCATE TABLE commands
- What's the maximum size of a row
- Explain different isolation levels
- How to display a particular row details from a given table
- How do you measure the performance of a stored procedure
- Which virtual table does a trigger use
- How do you know which index a table is using
- How m-m relationships are implemented
- What is a transaction and what are ACID properties
- How do you optimize SQL queries
- Define candidate key, alternate key and composite key
- What is blocking and how would you troubleshoot it
- What are the steps you will take, if you are tasked with securing an SQL Server
- What are the steps you will take to improve performance of a poor performing query
- What's the difference between a primary key and a unique key
- What is Trigger
- What is an extended Stored Procedure
- Can we remove the default constraint columns in SQL SERVER
- What is the difference between distinct clause and group by clause
- Can we call stored Procedure in Function in SQL Server 2000 and vice versa
- What is the datatype returned by count(*)
- Can you have a nested transaction
- What is the system function to get the current user's user id
- How to determine the service pack currently installed on SQL Server
- What is database replication
- What are the different types of replication you can set up in SQL Server
- Explain different types of Backups available in SQL Server
- What are the different ways of moving data/databases between servers and databases
- How to restart SQL Server in single user mode
- How to start SQL Server in minimal configuration mode
- Explain Active/Active and Active/Passive cluster configurations
- What is RAID and what are different types of RAID configurations
- What is the difference between having and where clause
- Why we need a group by clause
- What is a join and their types
- What is an index
- What is ACID Property of Transaction
- What is the difference between referencing and joining
- What is the difference between constraints and triggers
- What is normalization and its forms
- What is a view? Is View updatable
- What is a cursor in SQL Server 2000 and their types
- How do we get month name in SQL Server 2000, Oracle, MS Access
- What are the magic tables in SQL Server 2000
- How do we get current date in SQL Server 2000, Oracle, MS Access
- What are the differences between stored procedure and functions in SQL Server 2000
- What are the advantages of SQL server 2000
- Can anybody explain me cold backup and hot backup
- What is the purpose of creating view in SQL server 2000
- How to connect Sybase to SQL server 2005
- How to write stored procedure to update the data in 10 tables
- How to select a field with first letter as capital and remaining are small letters
- What is Data Transformation Services (DTS)
- What is difference between view and Dip
- What are the new features of SQL server 2005
- How to write query to delete the records in child table and corresponding records
- What is Magic Table
- What are file groups
- What is the cursor life span
- What is the difference between NOROW and LOCKROW
- How to delete an attribute from the emp table
- How many index keys possible for a table
- How to retrieve only second row from table in SQL server 2000
- Write the query for taking database backup in SQL
- What are SQL Reporting Services and analysis services
- Can we create clustered index on non primary key column
- How to find out the repeated value from table using groupby function
- How to find the employee details who are getting same salary in emp table
- Which data type can be used only on OUTPUT parameters of the stored procedure
- How we create SQL Server 2005 Reporting Services
- How to find the second largest salary in the emp database
- What is meant by SQL injection with example and one more question
- What are the all different types of Joins in SQL Server 2000
- Why cluster and non cluster index are used in SQLserver 2000
- What will be the SQL query to extract only last 3 records from table
- Which is best Subquery (or) joins in SQL server
- IN Vs OR operator which is best to use SQL server
- How to write test cases for testing databases, especially for testing and writing
- What is an extended stored procedure? Can you instantiate a COM object by using T-SQL
- What are user defined datatypes and when you should go for them
- What is bit datatype and what's the information that can be stored inside bit column
- What is the difference between Users defined function and stored procedure
- What is a table called if it does not have neither Cluster nor Non-cluster Index
- Can a stored procedure call another stored procedure
- How will you test the stored procedure taking two parameters namely first name
- What are the differences between server transfer and server execute method
- What is better - 2nd Normal form or 3rd normal form
- What are the difference between Function and Procedure-in general
- What does it mean to have quoted_identifier on
- What are the implications of having it off
- Can we rewrite sub queries into simple select statements or with joins
- Can you link only other SQL Servers or any database servers such as Oracle
- How do I list the available tables in a database I'm querying
- Can you create UNIQUE and PRIMARY KEY constraints on computed columns in SQL 2000
- What is a deadlock and what is a live lock
- How will you go about resolving deadlocks
- How can you get @@error and @@row count at the same time
- Create Index myIndex On myTable What type of Index will get created after executing
- What is log shipping
- What are statistics, under what circumstances they go out of date
- What are defaults? Is there a column to which a default can't be bound
- How do you find the error, how can you know the number of rows effected by last SQL
- How would you Update the rows which are divisible by 10, given a set of numbers
- What is an execution plan? When would you use it? How would you view the execution
- Let us say the SQL Server crashed and you are rebuilding the databases
- Let us say master db itself has no backup. Now you have to rebuild the db
- What are sub-queries? In which case sub-queries are not feasible
- If a stored procedure is taking a table data type, how it looks