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

Our new SQL Server Forums are live! Come on over! We've restricted the ability to create new threads on these forums.

SQL Server Forums
Profile | Active Topics | Members | Search | Forum FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Site Related Forums
 Article Discussion
 URL QueryString in SQL FROM clause?
 Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

brandt719
Starting Member

2 Posts

Posted - 02/02/2007 :  12:59:55  Show Profile  Reply with Quote
Is it possible to pull a URL QueryString into the FROM clause of a SQL statement? I have an ASP page that has a drop-down list of names of people in a particular group. Now, I would like for the drop-down list to pull a NEW group of folks from another table IF a particular URL Querysting is present. For example: www.mysite.com/default.asp?GroupID="ZTA". Is this possible? I use url querystrings in WHERE clauses, but I get a syntax error when I try to use it in a FROM clause. I appreciate any advice you could give me. Thanks

Kristen
Test

United Kingdom
22859 Posts

Posted - 02/02/2007 :  13:11:15  Show Profile  Reply with Quote
Duplicate of: http://www.sqlteam.com/forums/topic.asp?TOPIC_ID=78505
Go to Top of Page
  Previous Topic Topic Next Topic  
 Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.02 seconds. Powered By: Snitz Forums 2000