View Single Post
  #2 (permalink)  
Old November 28th, 2008, 12:17 AM
Lee Dumond's Avatar
Lee Dumond Lee Dumond is offline
Wrox Author
Points: 4,942, Level: 29
Points: 4,942, Level: 29 Points: 4,942, Level: 29 Points: 4,942, Level: 29
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2008
Location: Decatur, IL, USA.
Posts: 923
Thanks: 12
Thanked 166 Times in 162 Posts
Default

You use a question mark:

SELECT StudentId, FirstName, Lastname FROM Students WHERE StudentID = ?

_________________________________

Visit my blog at http://leedumond.com