getTitle = "Movies_(Romance)" SongName = "Let Me Know" <% ' Both getTheSong and getTitle are coming from form fields.' getTheSong = replace(SongName," ","_") strTerm = "%" & getTitle & "%" Set sqlUsage = Server.CreateObject("ADODB.Command") sqlUsage.ActiveConnection=Conn sqlUsage.Prepared = true sqlUsage.commandtext="SELECT SongTitle, PageList FROM Songs WHERE SongTitle=? and PageList like ?" sqlUsage.Parameters.Append sqlUsage.CreateParameter("@SongTitle", adVarChar, adParamInput, 250, getTheSong) sqlUsage.Parameters.Append sqlUsage.CreateParameter("@PageList", adVarChar, adParamInput, 250, strTerm) set rschSong = sqlUsage.execute if rschSong.eof then response.write "Does not exist" else response.write "Already exist!" end if %>
Experts Exchange always has the answer, or at the least points me in the correct direction! It is like having another employee that is extremely experienced.
When asked, what has been your best career decision?
Deciding to stick with EE.
Being involved with EE helped me to grow personally and professionally.
Connect with Certified Experts to gain insight and support on specific technology challenges including:
We've partnered with two important charities to provide clean water and computer science education to those who need it most. READ MORE