This topic is locked

SQL statement in the ASP page

8/19/2003 2:15:24 PM
ASPRunnerPro General questions
swat author

hi all,
I would like to display my SQL code into my ASP page (not into ....._list.asp) different one lets call it ....._list2.asp.
thx <img src='https://asprunner.com/forums/file.php?topicimage=1&fieldname=question&id=149&image=1&table=forumtopics' class='bbcemoticon' alt='<<' />

Sergey Kornilov 8/20/2003

You can use

Response.Write gstrSQL


whenever you like to display SQL code
Sergey Kornilov

Support team

swat author 8/21/2003

I did put this SQL into asp but not working am I doing something wrong here ?????
Response.Write gstrSQL = "select [ID], [ Month], [Year], [Contact] From [patt]"
thx

Sergey Kornilov 8/22/2003

This code won't work. You need to use line of code from my previous message.
Sergey Kornilov

Support team