Dear Monks,

Is there anyway I can set MS SQL Server stored procedures so that they can only be activated by another stored procedure and can not be activated from an outside Perl DBI call? I would quite like to be able to set up a condition like this through use of a Perl code snippet? I have googled to try to get an answer but without too much luck.

Update A: What I am really looking for is a sproc path tracker with the capacity to set requirements for execution paths prior to a SPROC being activated. Is it feasible for such a thing to be programmed using SPROCS and a Perl coded interface?

Update B: Maybe I am jumping ahead of myself here. I should start by asking whether there is a means of calling MS SQL Server object dependencies using Perl.

2006-04-26 Retitled by planetscape, as per Monastery guidelines
Original title: 'Setting up SPROC permissions from a Perl snippit - Is it possible?'


In reply to (OT) Setting up SPROC permissions from a code snippit - Is it possible? by Win

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.