Want to get rid of Google Ads, click here.
+ Reply to Thread
Results 1 to 2 of 2

Thread: where clause

  1. #1
    hwal
    Guest

    Default where clause

    Hi,

    I want to setup a where clause (Asset Center connector) to process only records of the current date. For doing this I defined the following statements in the source connector where part:

    LeftPart([dtLastModif]," ",0)= Date()

    When I have a look at the output of these 2 statements (LeftPart & Date) they have the same value.

    But I receive the following error:
    'Asset Management' API error:'
    Parsing error: invalid keyword near line 1 (text: '[')
    Parsing error: invalid keyword near line 1 (text: ']')
    Parsing error: invalid keyword near line 1 (text: '\"')
    Parsing error: invalid keyword near line 1 (text: '\"')
    line 1: syntax error 'LeftPart'; 'LeftPart' should be Select_field
    line 1: syntax error '='; '=' should be Eof
    Format error:'

    Who has an idea what the problem could be?

    thanks for an answer
    Hanspeter

  2. #2
    Member
    Join Date
    Nov 2001
    Location
    Boston, MA - United States
    Posts
    79

    Default where clause

    LeftPart is strictly for string values. What you should try is:

    datevalue([dtLastModif]) = date()

+ Reply to Thread

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Bookmarks

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts