Pass it as a paramter to a SPROC or include it in the string of the SQL Statment. Fairly Straightforward. SPROCS are recommended as they are optimized
--- In [email protected], "higzog" <[EMAIL PROTECTED]> wrote: > > How do I use a session variable in an SQL select statement in order > to limit the record pulled from the statement to equal the value of > the session variable? > .NET and SQL Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
