Re: UPDATE Problem with FoxPro Linked Server
From: James Thompson (jwegge_at_cox.net)
Date: 02/06/05
- Next message: Cindy Winegarden: "Re: UPDATE Problem with FoxPro Linked Server"
- Previous message: James Thompson: "Re: UPDATE Problem with FoxPro Linked Server"
- In reply to: Cindy Winegarden: "Re: UPDATE Problem with FoxPro Linked Server"
- Next in thread: Cindy Winegarden: "Re: UPDATE Problem with FoxPro Linked Server"
- Reply: Cindy Winegarden: "Re: UPDATE Problem with FoxPro Linked Server"
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 06 Feb 2005 10:26:15 -0800
If I leave spaces/padding for the field I get the following error no
matter what I do:
Server: Msg 7399, Level 16, State 1, Line 3
OLE DB provider 'MSDASQL' reported an error.
[OLE/DB provider returned message: [Microsoft][ODBC Visual FoxPro
Driver]SQL: Statement too long.]
OLE DB error trace [OLE/DB Provider 'MSDASQL' IRowsetChange::SetData
returned 0x80004005: ].
SELECTs work fine with the spaces/padding. If I remove the padding for
UPDATE, no rows are found.
If I perform the same UPDATE query where there the field value equals
the length of the field, I have no problems with UPDATES.
Additionally, because the error above refers to a statement that is too
long, I have verified that the field is actually 10 characters and my
where value is 10 characters.
I guess that I am looking for something like Oracle's LPAD() or RPAD()
functions.
Thanks,
Jim
*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!
- Next message: Cindy Winegarden: "Re: UPDATE Problem with FoxPro Linked Server"
- Previous message: James Thompson: "Re: UPDATE Problem with FoxPro Linked Server"
- In reply to: Cindy Winegarden: "Re: UPDATE Problem with FoxPro Linked Server"
- Next in thread: Cindy Winegarden: "Re: UPDATE Problem with FoxPro Linked Server"
- Reply: Cindy Winegarden: "Re: UPDATE Problem with FoxPro Linked Server"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|