Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

prevent execution of piggy backed variables

Status
Not open for further replies.

gcole

Programmer
Aug 2, 2000
390
US
I have a variable sent from an asp page as follows:

set @test = 'OConnor';select * from dbo.TableName

The SP only recognizes the 'OConnor' piece. How can I prevent the select code from executing? Can this be done at the DB level?
 
Yes it is. It looks to me like it has to be handled at the page level.
 
Yes, I think that would be much easier to deal with. if you could change the string that is passed back.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top