Like-Statment in WebDAV-Query

This is a discussion on Like-Statment in WebDAV-Query within the Microsoft Exchange forums in Microsoft Tools category; hi, what is the correct syntax for the LIKE-statment in a WebDAV-query? regards Oskar...

Go Back   Application Development Forum > Microsoft Tools > Microsoft Exchange

Object Mix

Register FAQ Calendar Search Today's Posts Mark Forums Read
  #1  
Old 09-14-2006, 04:02 PM
Oskar Vaia
Guest
 
Default Like-Statment in WebDAV-Query

hi,

what is the correct syntax for the LIKE-statment in a WebDAV-query?

regards

Oskar


Reply With Quote
  #2  
Old 09-15-2006, 01:25 AM
Oskar Vaia
Guest
 
Default Re: Like-Statment in WebDAV-Query

hello,

here my code where this does work:

sSql = "SELECT ""DAV:displayname"""
sSql = sSql & " FROM """ & strRootURI & """"
sSql = sSql & " WHERE ""urn:schemas:httpmail:subject"" = CAST(""TEST!""
AS String)"
sSql = sSql & " AND ""DAV:ishidden"" = false AND ""DAV:isfolder"" =
false"

but this NOT:

sSql = "SELECT ""DAV:displayname"""
sSql = sSql & " FROM """ & strRootURI & """"
sSql = sSql & " WHERE ""urn:schemas:httpmail:subject"" LIKE
CAST(""TEST!"" AS String)"
sSql = sSql & " AND ""DAV:ishidden"" = false AND ""DAV:isfolder"" =
false"

how have i to use the LIKE-statment in the last query?

best regards

Oskar


Reply With Quote
Reply


Thread Tools
Display Modes


All times are GMT -5. The time now is 01:42 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
vB Ad Management by =RedTyger=

In an effort to better serve ads to our visitors, cookies are used on objectmix.com. For more information, check out our Privacy Policy.