Please start any new threads on our new site at https://forums.sqlteam.com. We've got lots of great SQL Server experts to answer whatever question you can come up with.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 Quick Question about SQL Parameters

Author  Topic 

krista80
Starting Member

29 Posts

Posted - 2011-02-25 : 09:24:33
Just a quick question. Can a select statement be put into a SQL parameter value?

robvolk
Most Valuable Yak

15732 Posts

Posted - 2011-02-25 : 09:33:07
Yes, but it's a poor programming practice due to the possibility of SQL injection attacks.
Go to Top of Page

krista80
Starting Member

29 Posts

Posted - 2011-02-25 : 09:40:33
Ok. Thank you.
Go to Top of Page
   

- Advertisement -