Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

sql select a table

Status
Not open for further replies.

thegroak

Programmer
Oct 8, 2001
1
GB
here is my code:


case "display"

sql="select * from headlines where log = "&u_log


case else

sql="select * from headlines order by date desc "
end select

basicaly I want to turn the table select part headlines into a query string so I can select different tables from within my databases using the url. Im a bit of a beginner so its got me stumped.Can anyone help?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top