Find jobs | Jobseekers
Employer login
About us Sitemap of www.CareerRide.com Sitemap FAQ related with www.CareerRide.com FAQ Click here to Contact us Contact
       
Submit Resume Free ! | Access Resume Free !
Home Career Services Resume Services Interview questions Articles Books
Content
SQL Server part 1
SQL Server part 2
SQL Server part 3
SQL Server part 4
SQL Server part 5
SQL Server part 6
SQL Server part 7
SQL Server part 8
SQL Server part 9
SQL Server cursor
SQL Server replication
Structured query language
SQL Server architecture
SQL Server constraints
SQL Server cursors
Data Mining
Data warehousing
SQL Server DTS
SQL Server functions
SQL Server indexes
SQL Server joins
SQL Server locks
SQL Server Net integration
SQL Server optimization
SQL Server replication
SQL reporting services
SQL service broker
SQL Server stored procedures
SQL Server table
SQL Server transactions
SQL Server transactions Architecture
SQL Server triggers
SQL Server views
SQL Server XML integration
SQL Server DDL
SQL Server DML
SQL Server DCL
SQL Server identifier
SQL Server data integrity
SQL Server accessing data
SQL Server subqueries
SQL Server cube operator
SQL Server insert data
SQL Server distributed queries
SQL Server index tuning
 
Database concepts
Oracle
MySQL
Data warehousing
Service-oriented architecture
SQL Server notification services
SQL Server Reporting Services
Sharepoint
Biztalk interview questions
 
ASP.NET
ADO.NET
NET Remoting
NET Interview
C#.NET
VB.NET
AJAX
 
PHP
 
C
C++
Java
Data Structure
Oops
 
Operating System
Project Management
Linux
Testing
Networking
Software engineering
 
UML
XML
HTML
SOAP
CSS
VBScript
 
CV tips
Cover letter tips
Interview tips
Human resources
Soft skills
Group discussion

SQL Server Extended and Remote stored procedure


SQL Server stored procedure - May 20, 2008 at 18:00 PM by Nishant Kumar

Define temporary and extended stored procedure.

Temporary Stored Procedure
  • Temporary Stored Procedure is stored in TempDB database.
  • It is volatile and is deleted once connection gets terminated or server is restarted.
  • Temporary stored procedures are prefixed with pound sign #.
  • One pound sign means that it is temporary within the session.
  • Two pound signs ## means it is a global temporary procedure.
  • Global temporary procedure can be called by any connection to the SQL server during its lifetime.
Extended Stored Procedure

It is basically created to expand features of stored procedure.
It uses external program and compiles as DLL. Mostly xp_ prefix is used as naming convention for extended stored procedure.


SQL Server Stored procedure - Nov 20, 2008 at 18:00 PM by Rajmeet Ghai

Define stored procedure.

Answer
Stored procedure is a set of SQL commands that have been complied and stored on the database sever. They can be used in the code as and when required since hey stored. They need not be complied over and over again. They can be invoked by CALL procedure (..) or EXECUTE procedure(..)

What are the purposes and advantages stored procedure?

Answer
Purposes and advantages of stored procedures:

  • Manage, control and validate data
  • It can also be used for access mechanisms
  • Large queries can be avoided
  • Reduces network traffic since they need not be recompiled
  • Even though the stored procedure itself may be a complex piece of code, we need not write it over and over again. Hence stored procedures increases reusability of code
  • Permissions can be granted for stored procedures. Hence, increases security.

Determine when to use stored procedure to complete SQL Server tasks.

Answer

  • If a large piece of code needs to be performed repeatedly, stored procedures are ideal
  • When hundreds of lines of SQL code need to be sent; it is better to use stored procedure through a single statement that executes the code in a procedure, rather than by sending hundreds of lines of code over the network.
  • When security is required.

The answers to following questions will be made available soon. Keep visiting.

Explain the categories of stored procedure i.e. System stored procedure, local stored procedure, temporary stored procedure, extended stored procedure, remote stored procedure.
Explain nested stored procedure. Syntax and an example for create nested stored procedure.
What security features are available for stored procedure?
In what three ways is the RETURN statement used in a stored procedure.

NEXT>>

SQL Server Interview questions part 2 includes following questions with answers

Difference between DELETE and TRUNCATE commands in SQL Server. | What are constraints in SQL Server? | What is an index? | What is RAID? | Ways to troubleshoot performance problems in SQL Server. | Steps to secure an SQL Server. | What is a deadlock and what is a live lock? | What is blocking and how would you troubleshoot it? | Ways of moving data between servers and databases in SQL Server? | Explian different types of BACKUPs avaialabe in SQL Server? | What is database replicaion?

SQL Server Interview questions part 3 includes following questions with answers

What are cursors in SQL Server? | What is a join and explain different types of joins. | What is an extended stored procedure in SQL Server? | What are triggers in SQL Server? | What is a self join in SQL Server? | What is the difference between UNION ALL Statement and UNION? | Write some disadvantage of Cursor? | What is Log Shipping in SQL Server?

SQL Server Interview questions part 4 includes following questions with answers

What are the different types of Locks in SQL Server? | What is Extent and types of Extent? | What is the use of DBCC commands defined in SQL Server? | Define COLLATION in SQL Server? | Where is users names and passwords stored in SQL Server? | What is BCP? | How can we move data along with schema of the server object? | Define sub-query in SQL Server? | Define sp_grantlogin, sp_denylogin and sp_revokelogin. | Write SQL query to retrieve all tables of the database.

Question: What is transact-SQL? Describe its types?

SQL Server Provides three types of Transact-SQL statements namely DDL, DCL, and DML....

Question: Define Identity and uniqueidentifier property of Column.

Column with identity property contains unique system generated value in the table. Column with identity property is similar to AutoNumber field in MS Access....

 

Today's Hot Jobs
C++  SQL Server
.NET  Java  Oracle
Finance  Marketing
Seekers  Employers
Copyright © 2008 CareerRide.com. All rights reserved.