Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Can I Legally Use Microsoft Undocumented Stored Procedures?
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  8 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
David Selwood  
View profile  
 More options Dec 30 2002, 10:46 am
Newsgroups: microsoft.public.sqlserver.server
From: "David Selwood" <Da...@Selwood.name>
Date: Mon, 30 Dec 2002 07:38:46 -0800
Local: Mon, Dec 30 2002 10:38 am
Subject: Can I Legally Use Microsoft Undocumented Stored Procedures?
Various news-groups and web-sites exist (such as (i.e.
http://www.sql-server-
performance.com/ac_extended_stored_procedures.asp) which
document the Microsoft undocumented stored procedures.
With regard to these undocumented stored procedures can I
legally use them in my programs?

The reason I require to know this is that I am currently
implementing a SQL Server backup tool and part of it
functionality requires that the clients can navigate the
directories and files on the server.  To achieve this
latter functionality the Microsoft undocumented stored
procedures xp_subdirs and  xp_fileexist could be used.

David Selwood.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Allan Mitchell  
View profile  
 More options Dec 30 2002, 10:58 am
Newsgroups: microsoft.public.sqlserver.server
From: "Allan Mitchell" <al...@no-spam.SQLDTS.com>
Date: Mon, 30 Dec 2002 15:49:43 -0000
Local: Mon, Dec 30 2002 10:49 am
Subject: Re: Can I Legally Use Microsoft Undocumented Stored Procedures?
Yes you can legally use them.

I am wary of using anything undocumented as Undocumented usually =
unsupported = in trouble if it goes wrong.

Rather like using the system tables.  They belong to MS and are subject to
change at their discretion.

--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"David Selwood" <Da...@Selwood.name> wrote in message

news:04bb01c2b019$8a6dae30$cef82ecf@TK2MSFTNGXA08...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Andrew J. Kelly  
View profile  
 More options Dec 30 2002, 10:58 am
Newsgroups: microsoft.public.sqlserver.server
From: "Andrew J. Kelly" <ake...@targitinteractive.com>
Date: Mon, 30 Dec 2002 10:53:33 -0500
Local: Mon, Dec 30 2002 10:53 am
Subject: Re: Can I Legally Use Microsoft Undocumented Stored Procedures?
AKAIK there is nothing stopping you from using them legally but any time you
use an undocumented sp, command etc. you run the risk of shooting yourself
in the foot.  Being that they are undocumented they can change or disappear
with any upgrade or even service pack and are not guaranteed to even work as
expected in the first place.  If this was for your own utility it might not
be such a big deal but if you put it into production or another product you
run a risk of not working in the future.  The 2 you mentioned have been
around for a while but again there is no guarantee.

--
Andrew J. Kelly
SQL Server MVP

"David Selwood" <Da...@Selwood.name> wrote in message

news:04bb01c2b019$8a6dae30$cef82ecf@TK2MSFTNGXA08...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Aaron Bertrand [MVP]  
View profile  
 More options Dec 30 2002, 11:02 am
Newsgroups: microsoft.public.sqlserver.server
From: "Aaron Bertrand [MVP]" <aaronATaspfaq.com>
Date: Mon, 30 Dec 2002 10:52:56 -0500
Local: Mon, Dec 30 2002 10:52 am
Subject: Re: Can I Legally Use Microsoft Undocumented Stored Procedures?

> With regard to these undocumented stored procedures can I
> legally use them in my programs?

Yes, but in addition to Allan's comments about being unsupported, this can
land you in hot water if functionality is changed or removed entirely, which
is a known caveat with undocumented procedures / functions.  So you can use
them in your programs if you really want to, but be prepared to change the
code and re-distribute if the functionality changes or is disabled in a
future service pack or version of SQL Server.  If you can, it is preferable
to use other methods.  Directory traversing and checking for the existence
of a file, for example, can be achieved using a VBS, VB, etc. program and
doesn't need to be handled exclusively by XPs.  Especially at the risk of
having to fall back to one of these methods after you use the XP and its
functionality changes, after you've deployed your app etc.

--
Aaron Bertrand, MVP
Please check http://www.aspfaq.com/ first...

FREE server diagnostics component:
http://www.perfhound.com/


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
David Selwood  
View profile  
 More options Dec 30 2002, 11:16 am
Newsgroups: microsoft.public.sqlserver.server
From: "David Selwood" <Da...@Selwood.name>
Date: Mon, 30 Dec 2002 08:09:03 -0800
Local: Mon, Dec 30 2002 11:09 am
Subject: Can I Legally Use Microsoft Undocumented Stored Procedures?
Dear Andrew, Aaron, Allan and Mitchell.

Thanks for your response with regard to the undocumented
stored procedures, what I'm however for is looking for
clarification from Microsoft via my MSDN license. I really
require an answer from Microsoft since I do not want
Microsoft to sue me and claim that I have been reverse
engineering their code, even though these undocumented
stored procedures are listed on various web-sites.

Hopefully I shall get some positive feed back from
Microsoft soon.

Cheers

David Selwood.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Kalen Delaney  
View profile  
 More options Dec 30 2002, 11:58 am
Newsgroups: microsoft.public.sqlserver.server
From: "Kalen Delaney" <kalen_please_reply_on_public_newsgroups_dela...@compuserve.com>
Date: Mon, 30 Dec 2002 08:54:59 -0800
Local: Mon, Dec 30 2002 11:54 am
Subject: Re: Can I Legally Use Microsoft Undocumented Stored Procedures?
David

If you will not trust all the SQL Server MVPs on this, and you need an
absolute answer from Microsoft in order to be comfortable, these public
newsgroups are NOT the place to get that answer. Although occasionally,
people from MS SQL Server support, and even some SQL Server dev team
members, show up here, their responses are not the Official Microsoft
Answer. You would have to have your legal department contact Microsoft's
legal department if you are this paranoid.

Good Luck
--
Kalen Delaney
SQL Server MVP
www.SolidQualityLearning.com

"David Selwood" <Da...@Selwood.name> wrote in message

news:06c801c2b01d$c54c0930$d6f82ecf@TK2MSFTNGXA13...


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
"Bill Hollinshead [MSFT]"  
View profile  
 More options Dec 30 2002, 1:06 pm
Newsgroups: microsoft.public.sqlserver.server
From: bill...@online.microsoft.com ("Bill Hollinshead [MSFT]")
Date: Mon, 30 Dec 2002 18:02:28 GMT
Local: Mon, Dec 30 2002 1:02 pm
Subject: Re: Can I Legally Use Microsoft Undocumented Stored Procedures?
Hi David,

The best I can do is point you to the CD's eula.txt, and say that my skills
are technical (not legal).  I can also confirm that we have had customers
call us after we 'suddenly' changed an undocumented xproc. When such cases
are opened, our response is invariably "Yes - we confirm that we changed
that undocumented xproc. No - we will not revert the code back to its old
behavior, in part because its old behavior is undefined and in part because
it was written for our needs (and not yours <g>). Should your needs differ;
you should write your own xproc. For example, you can very easily use FSO
(File System Object) to perform the identical tasks of those xprocs (plus,
you will gain additional functionality)."

Technically, I believe it is important that you very wisely avoid using
undocumented commands in any shipping code (and I think the able
respondents to your post have made this very clear <g>). Otherwise, you
should expect such code to fail.

Finally, keep in mind that your customers can call Microsoft, and thus
*your* customers can *also* hear what I quoted above. My experience has
been that some of these customers (after hearing the above) will
subsequently refuse to use/purchase their now-former RDBMS vendor's
product. IOW, I believe that the use of undocumented xprocs can expose your
company to financial risk via a loss of a reputation for producing solid
stable code <g>.

Thanks,

Bill Hollinshead
Microsoft, SQL Server

This posting is provided "AS IS" with no warranties, and confers no
rights. Subscribe to MSDN & use http://msdn.microsoft.com/newsgroups.


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Alan Brewer [MSFT]  
View profile  
 More options Dec 30 2002, 3:48 pm
Newsgroups: microsoft.public.sqlserver.server
From: "Alan Brewer [MSFT]" <ala...@microsoft.com>
Date: Mon, 30 Dec 2002 12:48:27 -0800
Local: Mon, Dec 30 2002 3:48 pm
Subject: Re: Can I Legally Use Microsoft Undocumented Stored Procedures?
I cannot speak for the legality of using undocumented features in your code,
if you need a definitive answer on that you should contact Microsoft's legal
department.

While the SQL Server documentation does not explicitly give a policy
regarding the use of undocumented features, I have been warning customers
not to use them in applications. Undocumented features are not intended for
general use, and are not tested to the same extent as the features covered
in the SQL Server product documentation. The general use of these features
is not supported by Microsoft Product Support Services, and I do not
recommend using unsupported features in production systems.

Also, these features are intended for use only by a small set of code owned
by Microsoft. This means that Microsoft can change the functionality from
release to release without impacting customers. All that Microsoft has to do
is to make sure all Microsoft code using the features is updated. This means
that you cannot assume the same level of backward compatibility for these
undocumented features as you can for documented features.

The following topic in the SQL Server 2000 Books Online does have a warning
about undocumented system stored procedures not being supported (at the
bottom of the topic):

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/tsql...
sp_00_519s.asp?frame=true

--
Alan Brewer [MSFT]
Lead Technical Writer
SQL Server Documentation Team


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »