473,569 Members | 2,617 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

delimiter |

Hi.

In order to define a procedure I tried changing the delimiter to the
pipe symbol | so that the semicolon ; is not interpreted as end of
command. This idea is in the documentation file manual.txt.
delimiter |

create procedure myprocedure ()
begin
select user();
end
|
But when I type "delimiter |" the system says incorrect syntax. It
doesn't even respond to "delimiter |;" or "delimiter" .

Thanks.
Jul 20 '05 #1
2 1623
"Siemel Naran" <na*******@exci te.com> wrote in message
In order to define a procedure I tried changing the delimiter to the
pipe symbol | so that the semicolon ; is not interpreted as end of
command. This idea is in the documentation file manual.txt.
delimiter |


The above works correctly in 4.1. However stored procedure are only in 5.0
("1.8.4.4 Stored Procedures and Triggers / Stored procedures are being
implemented in our version 5.0 development tree").
Jul 20 '05 #2
"Siemel Naran" <na*******@exci te.com> wrote in message
In order to define a procedure I tried changing the delimiter to the
pipe symbol | so that the semicolon ; is not interpreted as end of
command. This idea is in the documentation file manual.txt.
delimiter |


The above works correctly in 4.1. However stored procedure are only in 5.0
("1.8.4.4 Stored Procedures and Triggers / Stored procedures are being
implemented in our version 5.0 development tree").
Jul 20 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
7024
by: j-marvin | last post by:
The example uses the mysql client delimiter command to change the statement delimiter from ; to // while the procedure is being defined. This allows the ; delimiter used in the procedure body to be passed through to the server rather than being interpreted by mysql itself. hi - i am using cli in interactive mode. i tried changing the...
3
14389
by: Laurent | last post by:
Hello, is it possible to read a file in python line by line by redefining a new end-of-line delimiter ? I would like for example to have the string "END" being the new delimiter for each line. Thanks
0
1232
by: paqogomez | last post by:
I have just upgraded mySQL to version 5.0 from version 4. I simply copied over the existing structure. All my databases are there and working just fine. When I try, however, to change the delimiter to create a stored procedure, I dont get a response until I enter a ";" and press enter. Then I get a syntax error. Am I missing some...
7
4071
by: Generic Usenet Account | last post by:
I am trying to set up a delimiter character string for the input stream such that the delimiter string is "skipped over" in the input stream. Can someone suggest how to do this with some sample code? I am attaching a "C" code snippet that does the same thing. The problem is that I don't know how to realize this using "cin" Thanks, Lee
4
11488
by: Raquel | last post by:
Could someone explain to me what the reason is for having a character delimiter (which is double quotes by default) for performing Loads/Imports on UDB? I would think that column delimiter along should have sufficed (of course it is the responsibility of the person performing the Load to ensure that the character he has chosen as column...
9
13728
by: _link98 | last post by:
Normally I use the semicolon for statement delimiters in plain SQL scripts (for DDL, simple DML etc.). But inside SQL/PL I tend to use % or @ as statement delimiters. But other people prefer other delimiters. I know that I can use the CLP option "-td" to specify the delimiter on the command line, when invoking the script. But this...
3
4046
by: magix | last post by:
Dear Guru, I have been thinking hard on how to token based on demiliter after certain position. Example, I have list of possible string below, and the the delimiter is "1" with the rules below - if the 5th character is "1", then it is delimiter elseif the 7th character is "1", then it is delimiter else this string is not a valid string
4
3412
by: kretik | last post by:
I've been trying to coax this class to use something other than the default '$' but it seems setting it to something else has no discernible effect. Is it necessary to inherit from the class to do this? I've only been using Python for a couple of weeks so I'm not sure what the best approach is here. Thanks in advance.
11
3101
by: Sven Reuter | last post by:
Hallo NG, ich versuche gerade ein PHP-Script zu bauen, das einen Trigger in einer MySQL-Datenbank erstellt. Doch leider funktioniert das nicht und ich habe auch über google keine Hinweise gefunden. Ich vermute, dass es am Delimiter liegt. Der Code, der per PHP abgeschickt wird:
0
7701
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main...
1
7677
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For...
0
7979
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the...
0
6284
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then...
1
5514
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes...
0
5219
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert...
0
3643
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2115
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
0
940
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.