Path: csiph.com!v102.xanadu-bbs.net!xanadu-bbs.net!feeder.erje.net!eu.feeder.erje.net!xlned.com!feeder3.xlned.com!newsfeed.xs4all.nl!newsfeed3.news.xs4all.nl!xs4all!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: OK 0.080 X-Spam-Evidence: '*H*': 0.87; '*S*': 0.03; 'subject:error': 0.03; 'subject:version': 0.09; 'cc:addr:python-list': 0.11; 'cc:name:python list': 0.16; 'subject: \n ': 0.16; 'wrote:': 0.18; "skip:' 30": 0.19; 'email addr:gmail.com>': 0.22; 'cc:addr:python.org': 0.22; 'mon,': 0.24; 'cc:2**0': 0.24; 'values': 0.27; 'header:In-Reply-To:1': 0.27; 'am,': 0.29; 'dec': 0.30; 'message-id:@mail.gmail.com': 0.30; 'subject:that': 0.31; 'values.': 0.31; 'probably': 0.32; 'subject:the': 0.34; 'received:google.com': 0.35; 'should': 0.36; 'skip:& 20': 0.39; 'to:addr:gmail.com': 0.65; 'subject:your': 0.76; 'subject:have': 0.80; 'subject:SQL': 0.84; 'subject:check': 0.84; 'subject:NEW': 0.91; '2013': 0.98 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=OHCzHfRAyB417R7klz6vqu7EUXmfQbxw/geezgdVOb8=; b=HcWiS5nov4mp/v2/HTC9pYymUj/ZhxSjb8jwHHXTCgcq7pb+6LAF4LQ0BQ3n5BZ2LN zKymNracA1+WT1xos3/N3SYYsoKwdt3uftAqPN5+dgSLBFR5bM0oAVal2YWz/RXLAOfQ Pm4o64x/ovdSYAEc/cB/+3SOE140bsht2rI6SFAExmrxD4Yepqx8FCq/zFDfR3lN9X9z tZZi0O81MhXAmB6lCmFHMM5NAVW9jS8zLzTBtwrqRuqyn5c5WiZkSpDG6TddcafP9WbR NUaR+Swl0x+3arTlfFCh+c61UcY7xvPyZpUfOiGoz9ENgGKLXNJv+gYGZt2Qq5jrr5Oz 85xw== MIME-Version: 1.0 X-Received: by 10.180.77.49 with SMTP id p17mr19754839wiw.30.1386692607789; Tue, 10 Dec 2013 08:23:27 -0800 (PST) In-Reply-To: <6b73a879-b490-48cb-a896-4d4abee90bf5@googlegroups.com> References: <6b73a879-b490-48cb-a896-4d4abee90bf5@googlegroups.com> Date: Tue, 10 Dec 2013 08:23:27 -0800 Subject: Re: ProgrammingError: (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'S SIZE 11.5 NEW IN BOX', '$49.99')' at line 1") From: Dan Stromberg To: Jai Content-Type: multipart/alternative; boundary=f46d043892134cd65104ed3088b5 Cc: Python List X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 29 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1386692609 news.xs4all.nl 2832 [2001:888:2000:d::a6]:59981 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:61476 --f46d043892134cd65104ed3088b5 Content-Type: text/plain; charset=ISO-8859-1 On Mon, Dec 9, 2013 at 12:41 AM, Jai wrote: > > sql = """insert into `category` (url, catagory,price) VAlUES > ('%s', '%s', '%s')"""%(link1,x,y) > Is that VALUES or VAlUES or VAIUES? It probably should be VALUES. --f46d043892134cd65104ed3088b5 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

= On Mon, Dec 9, 2013 at 12:41 AM, Jai <jaiprakashsingh213@gmail.= com> wrote:

=A0 =A0 =A0 =A0 sql =3D """insert into `category` (url, cata= gory,price) VAlUES ('%s', '%s', '%s')""&q= uot;%(link1,x,y)

Is that VALUES or VAlU= ES or VAIUES?=A0=A0 It probably should be VALUES.
--f46d043892134cd65104ed3088b5--