Results 1 to 2 of 2

Thread: Access and | (pipe) character

  1. #1

    Thread Starter
    Junior Member
    Join Date
    Oct 1999
    Posts
    31

    Post

    How do you enter a string which has | (pipe) character in Access. The following stmt

    update table1 set fld1 = 'abc|xyz' where fld2=somthing

    works fine on Oracle and DB2 but pukes on Access.

    TIA

  2. #2
    Guru Clunietp's Avatar
    Join Date
    Oct 1999
    Location
    USA
    Posts
    1,844

    Post

    try this
    (this is how I can pass quotes to SQL server)

    "update table1 set fld1 = 'abc" & Chr(124) & "xyz' where fld2=somthing"

    HTH

    Tom

    ------------------
    [email protected]
    [qualifications and/or certifications here]

Posting Permissions

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



Click Here to Expand Forum to Full Width