SQL error any help really appreciated!

This is a discussion on "SQL error any help really appreciated!" within the Databases section. This forum, and the thread "SQL error any help really appreciated! are both part of the Program Your Website category.



Go Back   Webforumz.com > Main Forums > Program Your Website > Databases

Notices


Reply
 
LinkBack Thread Tools
  #1 (permalink)  
Old Jun 16th, 2006, 11:35
Reputable Member
Join Date: Jun 2006
Location: uk
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
Smile SQL error any help really appreciated!

I have a SQL error I cannot see and was wondering if u can see it?;

Code: Select all
' build the SQL UPDATE "command string"
strCmdTxtMem="UPDATE link SET link_text='" & request("linkText") & "',"
strCmdTxtMem=strCmdTxtMem & " link_url='" & request("linkUrl") & "',"
strCmdTxtMem=strCmdTxtMem & " link_title='" & request("linkTitle") & "',"
strCmdTxtMem=strCmdTxtMem & " WHERE link_id=" & request("linkId")
I outptted the sql and get this error message;

UPDATE link SET link_text='Blue Anvil', link_url='http://www.blue-anvil.com/', link_title='go to blue anvil design', WHERE link_id=4
Microsoft JET Database Engine error '80040e14'
Syntax error in UPDATE statement.
/editmember_process_basic.asp, line 31


i really appreciate any help, Anthony
Reply With Quote

  #2 (permalink)  
Old Jun 16th, 2006, 11:50
Rob's Avatar
Rob Rob is offline
Head Admin & CEO

SuperMember
Join Date: Jul 2003
Location: at my desk
Age: 34
Posts: 2,950
Blog Entries: 7
Thanks: 7
Thanked 3 Times in 3 Posts
Send a message via MSN to Rob Send a message via Skype™ to Rob
Re: SQL error any help really appreciated!

remove the comma before the WHERE Clause
__________________
Rob - SEO Specialist
Owner & Founder of Webforumz.com

I am currently unavailable for private work
Reply With Quote
  #3 (permalink)  
Old Jun 16th, 2006, 11:57
Reputable Member
Join Date: Jun 2006
Location: uk
Posts: 115
Thanks: 0
Thanked 0 Times in 0 Posts
Re: SQL error any help really appreciated!

Thats great Rob! thanks!

you can never see ur own!
Reply With Quote
Reply

Tags
sql, error, help, appreciated

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
friendly criticism would be much appreciated :D bonnit Free Web Site Critique 2 Apr 10th, 2008 10:46
SEO tips appreciated ! alexgeek Search Engine Optimization (SEO) 6 Sep 6th, 2007 17:31
Hi All - Advice Appreciated! xzfzn Introduce Yourself 4 Feb 19th, 2007 16:59
Any help or guidence appreciated tiedtothewind Starting Out 4 Feb 7th, 2007 17:59
another sql error any help appreciated abrewitt Databases 2 Jun 21st, 2006 09:29


All times are GMT. The time now is 12:29.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC8
© 2003-2008 Webforumz.com : All Rights Reserved

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43