The Artima Developer Community
Sponsored Link

.NET Buzz Forum
Undocumented stored procedures

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Paschal

Posts: 1621
Nickname: bigapple
Registered: Nov, 2003

Paschal is a .Net developer
Undocumented stored procedures Posted: Feb 3, 2004 10:21 PM
Reply to this message Reply

This post originated from an RSS feed registered with .NET Buzz by Paschal.
Original Post: Undocumented stored procedures
Feed Title: help.net
Feed URL: http://www.asp.net/err404.htm?aspxerrorpath=/pleloup/Rss.aspx
Feed Description: .Net for mankind !
Latest .NET Buzz Posts
Latest .NET Buzz Posts by Paschal
Latest Posts From help.net

Advertisement

Thanks to Manuj Bahl for this:

SQL Server - Extended Stored Procs

SQL Servers has some undocumented extended stored procedures that can be really useful in certain cases.

I was searching google for T-SQL code to find out  free space left on the drives. I not only found that .. but when I looked into the master database ... found out a lot of undocumented stored procs I never knew about. Using this blog to document and serve as a reference later.

xp_getfiledetails

This procedure returns the following information about an existing file.

Alternate Name, Size, Creation Date, Creation Time, Last Written Date, Last Written Time, Last Accessed Date, Last Accessed Time, Attributes

xp_dirtree

This extended stored procedure brings out the directory tree of the drive you pass to it as parameter with depth and Folder name.

xp_fixeddrives

Returns free space in the fixed drives on the server in MB.  

xp_fileexist [, OUTPUT]

Gives the following resultset

File Exists [bit], File Is A Directory [bit], Parent Directory Exists [bit]

xp_enumgroups

Returns the User Groups on the Server

xp_availiblemedia

Free Space on the drives in bytes.

xp_enumdsn

List of DSN configued on the server.

 

Read: Undocumented stored procedures

Topic: Longhorn Developer FAQ Previous Topic   Next Topic Topic: IDEA#.Net is coming

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use