Drop Table

Support Forum for database administrators and web based access to important newsgroups related to databases
Register on Database Support Forum Edit your profileCalendarFind other Database Support forum membersFrequently Asked QuestionsSearch this forum -> 
For Database admins: Free Database-related Magazines Now Free shipping to Texas


Post New Thread










Thread
Author

Update Web Form
I'm trying to create a online update form to a SQL table.  I've never
done this function before, and I'm not quite sure I have the coding
correct. Below is the coding for the Update statement.

final String udc = "UPDATE INTO " + "Comm_WebSubmission Set ProjectID
= request.getParameter("ProjectID")
 (Assigned,DateAssign
 ed,Status,StatusDesc
 ription,Resolution,C
ompletionDate)
values(?,?,?,?,?,?)";


Any help you can give me would be greatly appreciated.

Cat


Report this thread to moderator Post Follow-up to this message
Old Post
Cat
12-20-05 04:24 PM


Re: Update Web Form
Hi Cat

Three is no update into command check out Books online for the format of any
T-SQL function. If you don't have these the latest versions can be download
from:

SQL 2005
http://www.microsoft.com/downloads/...&DisplayLang=en

SQL 2000
http://www.microsoft.com/downloads/...&DisplayLang=en

Try something like:

final String udc = "UPDATE INTO Comm_WebSubmission Set ProjectID = " &
request.getParameter("ProjectID")

As well as http://msdn.microsoft.com/default.aspx this site should help you
alot http://www.aspfaq.com/categories.asp

John

"Cat" <clequieu@nuvell.com> wrote in message
news:1135093226.741803.275230@z14g2000cwz.googlegroups.com...
> I'm trying to create a online update form to a SQL table.  I've never
> done this function before, and I'm not quite sure I have the coding
> correct. Below is the coding for the Update statement.
>
> final String udc = "UPDATE INTO " + "Comm_WebSubmission Set ProjectID
> = request.getParameter("ProjectID")
>  (Assigned,DateAssign
 ed,Status,StatusDesc
 ription,Resolution,C
ompletionDate)
> values(?,?,?,?,?,?)";
>
>
> Any help you can give me would be greatly appreciated.
>
> Cat
>



Report this thread to moderator Post Follow-up to this message
Old Post
John Bell
12-30-05 01:24 AM


Sponsored Links





Last Thread Next Thread
Post New Thread

Microsoft SQL Server forum archive

Show a Printable Version Email This Page to Someone! Receive updates to this thread
Microsoft SQL Server
Access database support
PostgreSQL Replication
SQL Server ODBC
FoxPro Support
PostgreSQL pgAdmin
SQL Server Clustering
MySQL ODBC
Web Applications with dBASE
SQL Server CE
MySQL++
Sybase Database Support
MS SQL Full Text Search
PostgreSQL Administration
SQL Anywhere support
DB2 UDB Database
Paradox Database Support
Filemaker Database
Berkley DB
SQL 2000/2000i database
ASE Database
Forum Jump:
All times are GMT. The time now is 04:17 AM.

 
Mobile devices forum | Database support forum archive




Copyrights DropTable.com Database Support Forum 2004 - 2006