Path: csiph.com!usenet.pasdenom.info!weretis.net!feeder4.news.weretis.net!ecngs!feeder2.ecngs.de!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!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.034 X-Spam-Evidence: '*H*': 0.93; '*S*': 0.00; 'skip:% 20': 0.07; 'tom': 0.07; 'subject:Why': 0.09; 'cc:addr:python-list': 0.10; '%s,': 0.16; 'either.': 0.22; 'work,': 0.22; 'cc:2**0': 0.23; 'originally': 0.23; 'cc:no real name:2**0': 0.24; 'tried': 0.25; 'cc:addr:python.org': 0.25; 'header:In-Reply-To:1': 0.25; 'message-id:@mail.gmail.com': 0.27; 'interactions': 0.29; 'like:': 0.33; 'skip:l 40': 0.33; 'received:google.com': 0.34; 'subject:?': 0.35; 'received:209.85': 0.35; "didn't": 0.36; 'received:209': 0.37; 'subject:: ': 0.38; 'received:209.85.214': 0.39; 'header:Received:5': 0.40; 'your': 0.60; 'subject:This': 0.78; 'actually,': 0.84; 'was:': 0.91 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=RUp1ydhDxJoAbtGv0gteNfjWjReSqNQ8hKfqGa6QDow=; b=Rak93hyFU9Qt9rPOq6bnFbCZkXX4QoilwKWe7MOJQKOfPb+uxkmUYwVvk4A4zaJCpS WP93NsC42qiMQ/R6ZdKmBQ1+NSpgIKFFlYtAKe3bmtNjmOOEZxb3gtVOLT2BMfPg6QVr 24wg83RQJX4mLyRCnI7UbVkYjX9rvI91jPt7X0bNBdX1ljn3VHeFlrB1WGRWQKgEZpbI nK7Kh1PGrGK2sihgTwQRkJ5XkP/kIZg8e2DcxX8mYRI2BAugXNlkNQMej11kUixJUvUV 4VKwUpdzyDSW65NDMZC0DM08j5UsQx4xfjEj9IQoqZhQmntEuReottA239G/HKjQq5lO eWDA== MIME-Version: 1.0 In-Reply-To: <50d0f4c7$0$6952$e4fe514c@news2.news.xs4all.nl> References: <50d0f4c7$0$6952$e4fe514c@news2.news.xs4all.nl> Date: Tue, 18 Dec 2012 20:11:10 -0400 Subject: Re: Why Doesn't This MySQL Statement Execute? From: Tom Borkin To: Hans Mulder Content-Type: multipart/alternative; boundary=e89a8fb204469f7dd704d12973d4 Cc: python-list@python.org 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: 28 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1355875874 news.xs4all.nl 6966 [2001:888:2000:d::a6]:45274 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:35084 --e89a8fb204469f7dd704d12973d4 Content-Type: text/plain; charset=ISO-8859-1 Actually, what I originally had was: cursor.execute("""insert into interactions values(Null, %s, "Call Back", %s)""", (i_id, date_plus_2)) and that didn't work, either. I tried your variation like: cursor.execute("""insert into interactions values(Null, %s, "Call Back", %s)""" % (i_id, date_plus_2)) and no cigar :( Tom --e89a8fb204469f7dd704d12973d4 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Actually, what I originally had= was:
cursor.execute("""inse= rt into interactions values(Null, %s, "Call Back", %s)""= ;", (i_id, date_plus_2))
and that didn't work, either. I tried your v= ariation like:
cursor.execute(""&= quot;insert into interactions values(Null, %s, "Call Back", %s)&q= uot;"" %=A0(i_id, date_plus_2))
and no cigar :(
= Tom
--e89a8fb204469f7dd704d12973d4--