|
|
Choosing A Webhost: |
AW: INSERT in DBPROC: msg#00199db.maxdb
David Radcliffe > > Hello, > > I have an INSERT statement in a DBPROC which gives error -5004 (missing > constant) when I try to place the name of a variable as a column value. If > I > place a literal character string in the insert statement, it compiles OK. > > What am I doing wrong? > did you define a variable, for example xyz and use it like this: INSERT tabname VALUES (xyz) The you forgot to prefix the variable_name (in SQL_statements only !) with : INSERT tabname VALUES (:xyz) Elke SAP Labs Berlin > > ======================================================= > This message is intended solely for the use of the individual or > organisation to whom it is addressed. It may contain privileged or > confidential information. If you have received this message in error, > please notify the originator immediately. If you are not the intended > recipient, you should not use, copy, alter, or disclose the contents of > this message. All information or opinions expressed in this message > and/or any attachments are those of the author and are not necessarily > those of VarTecTelecom Europe Ltd or its affiliates. VarTec Telecom Europe > Ltd accepts no responsibility for loss or damage arising from its use, > including damage from virus. > ======================================================= -- MaxDB Discussion Mailing List For list archives: http://lists.mysql.com/maxdb To unsubscribe: http://lists.mysql.com/maxdb?unsub=gcdm-maxdb@xxxxxxxxxxx
|
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | Re: AW: Daylight Saving Time, Dusan Kolesar |
|---|---|
| Next by Date: | RE: Crash in PHP Module, Simenec, Thomas |
| Previous by Thread: | INSERT in DBPROC, David Radcliffe @ Northampton |
| Next by Thread: | How Disable Triggers at runtime, Carlos Martínez |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
Free MagazinesCisco NewsReceive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business. subscribe Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field. subscribe The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business. subscribe Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company. subscribe Total Telecom Total Telecom is "The Economist of the communications industry". subscribe |
Home
| advertise | OSDir is
an inevitable website.
|