Article View: borland.public.cppbuilder.database.ado
Article #3555Re: Where can I get a complete Reference of Microsoft Jet SQL?
From: Vassiliev V.V.
Date: Thu, 01 Aug 2002 06:45
Date: Thu, 01 Aug 2002 06:45
58 lines
2944 bytes
2944 bytes
If you have MS Office, look jetsql40.chm. It should be somewhere on your
hard drive. For example, at
c:\Program Files\Common Files\Microsoft Shared\Office10\1033\jetsql40.chm
If you need substr() or other function - look MSDN. Jet uses the same
function as VB (but not all of them). For your case InStr can help.
Regards,
Vassiliev V.V.
http://www.oledbdirect.com
Returns the position of the first occurrence of one string within another.
InStr([start, ]string1, string2[, compare])
Arguments
start
Optional. Numeric expression that sets the starting position for each
search. If omitted, search begins at the first character position. If start
contains Null, an error occurs. The start argument is required if compare is
specified.
string1
Required. String expression being searched.
string2
Required. String expression searched for.
compare
Optional. Numeric value indicating the kind of comparison to use when
evaluating substrings. See Settings section for values. If omitted, a binary
comparison is performed.
Settings
The compare argument can have the following values:
Constant Value Description
vbBinaryCompare 0 Perform a binary comparison.
vbTextCompare 1 Perform a textual comparison.
Return Values
The InStr function returns the following values:
If InStr returns
string1 is zero-length 0
string1 is Null Null
string2 is zero-length start
string2 is Null Null
string2 is not found 0
string2 is found within string1 Position at which match is found
start > Len(string2) 0
"Joachim" <mfgjojo@gmx.de> �������/�������� � �������� ���������:
news:3d4796b4$2_1@dnews...
> Hi NG,
> Where can I get a complete Reference of Microsoft Jet SQL?
>
> Thanks,
> Joachim
>
>
Technical Details
Message-ID:
<3d48ddc3_1@dnews>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!64.152.100.70.MISMATCH!ps01-sjc1!news.webusenet.com!newsfeed1.cidera.com!Cidera!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mailReferences:
<3d4796b4$2_1@dnews>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII X-Google-Thread: 10698b,f37153e09d531ac3 X-Google-Attributes: gid10698b,public X-Google-ArrivalTime: 2002-08-01 00:17:11 PST From: "Vassiliev V.V." <news@vassilievvv.mtu-net.ru> Newsgroups: borland.public.cppbuilder.database.ado References: <3d4796b4$2_1@dnews> Subject: Re: Where can I get a complete Reference of Microsoft Jet SQL? Date: Thu, 1 Aug 2002 10:45:48 +0400 Lines: 60 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2600.0000 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000 NNTP-Posting-Host: 62.118.138.250 Message-ID: <3d48ddc3_1@dnews> X-Trace: dnews 1028185539 62.118.138.250 (1 Aug 2002 00:05:39 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-01!sn-xit-04!supernews.com!64.152.100.70.MISMATCH!ps01-sjc1!news.webusenet.com!newsfeed1.cidera.com!Cidera!newsfeed.icl.net!newsfeed.fjserv.net!lnewspeer00.lnd.ops.eu.uu.net!lnewspeer01.lnd.ops.eu.uu.net!emea.uu.net!newsfeed01.sul.t-online.de!t-online.de!dnews!not-for-mail