Re: ASP and SQL
- From: "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx>
- Date: Fri, 3 Feb 2006 06:45:36 -0500
Vexander wrote:
My mistake I want to use a view, not a stored procedure.
"Vexander" wrote:
A few questions that might be followed with more. Firstly I want to
run a stored procedure in an SQL server from a asp page. How this.
Is there a way to create a user on an SQL server from a ASP page,
and if there is is there a way to add that user to a group on in the
SQL server.
Thanx
For some reason, I did not see your original post. However, this followup
seems unnecessary because it is not really relevant to your question about
adding users via ADO from ASP.
Do you have SQL Books Online (BOL)? If so, look up the system stored
procedures for managing users. If not, you can download BOL from the
Microsoft web site:
http://www.microsoft.com/downloads/Browse.aspx?displaylang=en&productID=261BA873-F3AB-420E-96D6-E3004596A551
You will need to use an account with sysadmin privileges in order to execute
these procedures from ASP. Just don't fall into the trap of using the sa
acount. Create a new account that has the needed privileges: never use the
sa account in client applications that may be breached.
Bob Barrows
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
.
- Prev by Date: Re: Calling stored procedure - JScript
- Next by Date: Re: ASP and SQL
- Previous by thread: Calling stored procedure - JScript
- Next by thread: Re: ASP and SQL
- Index(es):
Relevant Pages
|
|