Re: SQL Injection Code Help
- From: "pblse2" <lundin.patrik@xxxxxxxxx>
- Date: 20 Jun 2006 12:11:15 -0700
Dan Sullivan wrote:
A parameter used in a TOP statement must be in parantheses.
DECLARE @n INT
SET @n = 2
SELECT TOP(@n) * From #tbl
Dan
Thanks, you live and learn :)
PL.
.
- References:
- Re: SQL Injection Code Help
- From: pblse2
- Re: SQL Injection Code Help
- From: Dan Sullivan
- Re: SQL Injection Code Help
- Prev by Date: Re: SQL Injection Code Help
- Next by Date: Re: SQL Injection Code Help
- Previous by thread: Re: SQL Injection Code Help
- Next by thread: Re: SQL Injection Code Help
- Index(es):
Relevant Pages
|
|