What you want to see on DotNetFunda.com ?
DotNetFunda.Com Logo
Twitter TwitterLinkedIn
YouTubeGoogle
 Online : 2184 |  Welcome, Guest!   Register  Login
 Home > Interview Questions > SQL Server Interview Questions > What is DESCRIBE command in SQL Server ? ...

What is DESCRIBE command in SQL Server ?

Interview question and answer by: Bharathi Cherukuri | Posted on: 6/6/2012 | Category: SQL Server Interview questions | Views: 1015 | | Points: 40


Answer:

DESCRIBE command is used in Oracle.
By using this command we can see the structure of the table. In SQL Server, we use sp_help fpr the same purpose.

Example:

To describe a procedure called CUSTOMER_LOOKUP, enter

DESCRIBE customer_lookup


Output:


PROCEDURE customer_lookup
Argument Name Type In/Out Default?
---------------------- -------- -------- ---------
CUST_ID NUMBER IN
CUST_NAME VARCHAR2 OUT

Asked In: Many Interviews | Alert Moderator 
Found interesting? Add this to:


>> Write Response - Respond to this post and get points

Even more ... | Submit Interview Questions and win prizes!

More Interview Questions from Bharathi Cherukuri

Even more ... | Submit Interview Questions and win prizes!


About Us | Contact Us | The Team | Advertise | Software Development | Write for us | Testimonials | Privacy Policy | Terms of Use | Link Exchange | Members | Go Top
General Notice: If you find plagiarised (copied) contents on this page, please let us know the original source along with your correct email id (to communicate) for further action.
Copyright © DotNetFunda.Com. All Rights Reserved. Copying or mimicking the site design and layout is prohibited. Logos, company names used here if any are only for reference purposes and they may be respective owner's right or trademarks. | 5/23/2013 9:57:23 PM