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

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 My question is:

Author  Topic 

AskSQLTeam
Ask SQLTeam Question

0 Posts

Posted - 2003-09-02 : 06:57:05
R5D4 writes "hi sql team:

i want to know if u could help me, how can I put the content of 2 cookies in a sql statement. The info come from web form:

eg:

(this contain: id_client, firts_name, last_name, city)

Response.Cookies("myfirstcookie")=camps
camps = Request.Form("info_camps")

(this contain: data )

Response.Cookies("mysecondcookie")=table
table = Request.Form("info_table")

sSQL = "SELECT Request.Cookies("myfirstcookie") FROM Request.Cookies("mysecondcookie");

Obviously this is not correct. Could you help me how can i do for my code run correct?

thanks a lot... guys"

AndyB13
Aged Yak Warrior

583 Posts

Posted - 2003-09-02 : 07:28:43
Have a look at this article regarding dynamic SQL in asp

[url]http://www.sqlteam.com/item.asp?ItemID=216[/url]
Go to Top of Page
   

- Advertisement -