Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_web_howto thread: Re: Dunamic No. of parameter variables


Message #1 by "Ken Schaefer" <ken@a...> on Mon, 1 Jul 2002 16:26:25 +1000
You can pass an string and Exec() it (or call sp_executesql)

The question is: why?!? Sounds like a security problem waiting to happen...

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <william.sze@s...>
Subject: [asp_web_howto] Dunamic No. of parameter variables


: Any idea / sample to write a stored procedure in MS SQL server to accept
: dynamic no. of parameter from ASP?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Message #2 by "TomMallard" <mallard@s...> on Mon, 1 Jul 2002 06:23:53 -0700
Also, you can write the sp to accept null param's.

tom mallard
seattle

-----Original Message-----
From: Ken Schaefer [mailto:ken@a...]
Sent: Sunday, June 30, 2002 11:26 PM
To: ASP Web HowTo
Subject: [asp_web_howto] Re: Dunamic No. of parameter variables


You can pass an string and Exec() it (or call sp_executesql)

The question is: why?!? Sounds like a security problem waiting to happen...

Cheers
Ken

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
From: <william.sze@s...>
Subject: [asp_web_howto] Dunamic No. of parameter variables


: Any idea / sample to write a stored procedure in MS SQL server to accept
: dynamic no. of parameter from ASP?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~



---

Improve your web design skills with these new books from Glasshaus.

Usable Web Menus
http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
r-20
Constructing Accessible Web Sites
http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
r-20
Practical JavaScript for the Usable Web
http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
r-20


  Return to Index