🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.perl.misc
Article #67

Re: Another ODBC/SQL question

#67
From: Dave Roth
Date: Sat, 26 Oct 1996 00:00
38 lines
2011 bytes
In article <54nomb$j88@news.NetVision.net.il>
yossik@accentsoft.com (Yossi Konijn) wrote:

To start with the easy question:
To include single quotes use the apostrophe (aka single quote) escape 
char so you would say the following:
   Field1 = 'Can''t'


> UPDATE ServiceRecords 
> SET 
> QueryID = '144', CustomerID='123456789012345',
> EmployeeID='YossiK', ServiceDate = '24/10/96', ServiceTime =
> 'ServiceTime', ProductVersion = '2.0',
> ServiceRecords.ProductName='Dagesh', ServiceRecords.Status='ON',
> ServiceRecords.AnswerDescription='goodbye',
> ServiceRecords.ProblemDescription='hello again?',
> ServiceRecords.Version='2.0' 
> WHERE 
> QueryID='144';  

This looks okay without spending tons o time lookat it. Try using 
Access to check out the SQL.
dave



================================================================
Dave Roth                             ...glittering prizes and
Roth Consulting                     endless compromises, shatter
rothd@roth.net                        the illusion of integrity

****************************************************************
Use of  this message or  email address  for commercial  purposes
(including "junk" mailings) is strictly prohibited and protected
under  current  international  copyright laws  and United States 
Code, Title 47, Chapter 5, Subchapter II.
Technical Details
Message-ID: <54tc01$jao@mets.tcimet.net>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <54nomb$j88@news.NetVision.net.il>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10f591,5d3951a8a6107760
X-Google-Attributes: gid10f591,public
X-Google-Thread: fa0ae,5d3951a8a6107760
X-Google-Attributes: gidfa0ae,public
X-Google-Thread: f6611,5d3951a8a6107760
X-Google-Attributes: gidf6611,public
From: rothd@roth.net (Dave Roth)
Subject: Re: Another ODBC/SQL question
Date: 1996/10/26
Message-ID: <54tc01$jao@mets.tcimet.net>
X-Deja-AN: 192265377
distribution: world
references: <54nomb$j88@news.NetVision.net.il>
organization: Roth Consulting
reply-to: rothd@roth.net
newsgroups: comp.lang.perl.misc,comp.lang.perl.modules,bit.databases.mssql-l