home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.databases
- Path: sparky!uunet!taipei.rs.com!shiv@rs.com
- From: shiv@rs.com (Shiv)
- Subject: Sybase DBLibrary error/bug -- Need help
- Message-ID: <1992Jul31.101424.11193@rs.com>
- Sender: news@rs.com (USENET News System)
- Reply-To: shiv@rs.com
- Organization: Renaissance Software, Inc.
- Date: Fri, 31 Jul 1992 10:14:24 PDT
- Lines: 27
-
- There is a serious problem I encountered in the DB-Library C code.
-
- Consider the following code segment:
-
- dbcmd("insert into tmptable values ("The interest rate is 15%"));
- dbsqlexec(dbproc);
-
-
-
-
-
-
- Problem:
- dbsqlexec gives an error or segmentation fault sometimes whenever there is
- a '%' in the data to be inserted (for varchar datatypes, in my case). Even
- '\%' does not help. The behaviour of dbsqlexec is unpredictable in such
- situations. Any workaround/solution?
-
- Thanx in advance.
- ---
- Shiv | Tel: (415) 856-8000
- Software Engineer | FAX: (415) 941-8943
- Renaissance Software Inc. | email: shiv@rs.com
- 175 S. San Antonio Road |
- Los Altos, CA 94022 |
-
-
-