🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #4883

Re: syntaxfout

#4883
From: Leon Zandman
Date: Fri, 27 Jun 2003 14:18
22 lines
1866 bytes
> mijn asp-code geeft altijd de melding syntax-fout, terwijl ik totaal
geen
> fout terugvindt in mijn lijn.

Je zet alle parameters van de query tussen quotes ('). Maar als in je
database-ontwerp een veld bijv. numeric is, dan moet je er geen quotes
omheen zetten. Dus bijv.

select * from leden where (leeftijd > 10)

in plaats van

select * from leden where (leeftijd > '10')

Misschien is dat het probleem? Verder kan het natuurlijk zo zijn dat die
syntax error eigenlijk voor een andere regel geldt. Soms is de regel die
aangegeven wordt niet helemaal goed. Om echt een goed oordeel te geven
moet je eigenlijk je complete source posten.

Groeten,

Leon Zandman
Technical Details
Message-ID: <bdhjo8$7fs$1@news4.tilbu1.nb.home.nl>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!213.51.129.3.MISMATCH!newshub1.home.nl!home.nl!not-for-mail
References: <ocYKa.2872$P26.5420@afrodite.telenet-ops.be>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: 107324,b305f58fa980c7d7
X-Google-Attributes: gid107324,public
X-Google-Thread: fcea4,b305f58fa980c7d7
X-Google-Attributes: gidfcea4,public
X-Google-ArrivalTime: 2003-06-27 07:18:49 PST
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!newsfeed.news2me.com!newsfeed.icl.net!newsfeed.fjserv.net!skynet.be!skynet.be!213.51.129.3.MISMATCH!newshub1.home.nl!home.nl!not-for-mail
From: "Leon Zandman" <REMOVETHISleon@wirwar.com>
Newsgroups: be.comp.programming,nl.comp.programmeren
Subject: Re: syntaxfout
Date: Fri, 27 Jun 2003 16:18:53 +0200
Organization: @Home Benelux
Lines: 24
Message-ID: <bdhjo8$7fs$1@news4.tilbu1.nb.home.nl>
References: <ocYKa.2872$P26.5420@afrodite.telenet-ops.be>
NNTP-Posting-Host: cc6573-a.groni1.gr.home.nl
X-Trace: news4.tilbu1.nb.home.nl 1056723528 7676 217.120.144.207 (27 Jun 2003 14:18:48 GMT)
X-Complaints-To: abuse@home.nl
NNTP-Posting-Date: Fri, 27 Jun 2003 14:18:48 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1158
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165