run it at phpmyadmin it fails, then i tried to run a part of my .sql
> file which creates a trigger in a mysql prompt and it works fine.
I believe the DELIMITER command is currently only a mysql client command
(i.e. it only works in the command line client). Perhaps it works in
the Query Brow
a trigger in a mysql prompt and it works fine.
>
> Is there some trouble using the delimiter comand by a php script?
>
>
>
> ""Dan Buettner"" <[EMAIL PROTECTED]> escreveu na mensagem
> news:[EMAIL PROTECTED]
> João, the pipe character | often needs
mysql prompt and it works fine.
Is there some trouble using the delimiter comand by a php script?
""Dan Buettner"" <[EMAIL PROTECTED]> escreveu na mensagem
news:[EMAIL PROTECTED]
João, the pipe character | often needs to be escaped, usually with a
backslash lik
xecute DELIMITER | in my mysql
5 server.
Could anyone help me about it?
--
João Cândido de Souza Neto
Curitiba Online
[EMAIL PROTECTED]
(41) 3324-2294 (41) 9985-6894
http://www.curitibaonline.com.br
--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
Hi everyone.
I have getting a sintax error when i try to execute DELIMITER | in my mysql
5 server.
Could anyone help me about it?
--
João Cândido de Souza Neto
Curitiba Online
[EMAIL PROTECTED]
(41) 3324-2294 (41) 9985-6894
http://www.curitibaonline.com.br
--
MySQL General Mailing List
Asif Lodhi wrote:
Hi,
I am replying back to my own post. Sorry, I forgot to mention that I
am using mysql client on WinXP Pro SP2 and MySQL-5.0.22 is installed
on the same machine.
Any hints as to why mysql client is showing this behavior?
The only thing you're changing is the deli
TED]> wrote:
Hi,
When I create scripts, I change the delimiter at the beginning of the
create_table script from ";" (without quotes) to "//". At the end of
the script, I change the delimiter back to the original ";". This is
according to what is described in doc at
Hi,
When I create scripts, I change the delimiter at the beginning of the
create_table script from ";" (without quotes) to "//". At the end of
the script, I change the delimiter back to the original ";". This is
according to what is described in doc at www.mysql.c
o: Dave Kennedy; mysql@lists.mysql.com
Subject: RE: SQLquery: delimiter // - #1064 error
Hi Dave,
The DELIMITER statement is a command to the mysql client not an SQL
statement. This is why phpAdmin is objecting. Here are a listing of the
mysql client commands
http://dev.mysql.com/doc/refm
ssage-
From: Logan, David (SST - Adelaide) [mailto:[EMAIL PROTECTED]
Sent: Tuesday, November 29, 2005 2:59 PM
To: Dave Kennedy; mysql@lists.mysql.com
Subject: RE: SQLquery: delimiter // - #1064 error
Hi Dave,
The DELIMITER statement is a command to the mysql client not an SQL
statement. Th
Hi Dave,
The DELIMITER statement is a command to the mysql client not an SQL
statement. This is why phpAdmin is objecting. Here are a listing of the
mysql client commands
http://dev.mysql.com/doc/refman/5.0/en/mysql-commands.html
Regards
David Logan
Database Administrator
HP Managed Services
Windows XP
phpMyAdmin 2.7.0-rc1
MySQL 5.0.16-nt running on localhost as [EMAIL PROTECTED]
The DELIMITER statement works in the command line, but not in phpmyadmin
(see error below)
mysql> DELIMITER //
mysql> use mysql //
Database changed
mysql>
PHPmyadmin ===
Hello.
For a pity I'm not familiar with Deplhi.
>
> Thanks. So it seems that it's only a command line statement.
>
> Any idea why I get the error when executing the full CREATE
> from a Delphi VCL component? Weird thing is, the procedure
> is saved to the database.
>
> With r
> > Comments from:
> > http://bugs.mysql.com/bug.php?id=12344
> >
> > might be helpful.
>
> Thanks. So it seems that it's only a command line statement.
>
> Any idea why I get the error when executing the full CREATE
> from a Delphi VCL component? Weird thing is, the procedure
> is saved to the d
gt; > I'm a bit puzzled about the DELIMITER statement.
> >
> > Is this a command-line SQL statement only, or is this actually processed
> > on the server?
> >
> > And if it's a command-line thingy only, shouldn't I be able to execute
> > something
Hello.
Comments from:
http://bugs.mysql.com/bug.php?id=12344
might be helpful.
"Martijn Tonies" <[EMAIL PROTECTED]> wrote:
> Hi there,
>
> I'm a bit puzzled about the DELIMITER statement.
>
> Is this a command-line SQL statement only,
Hi there,
I'm a bit puzzled about the DELIMITER statement.
Is this a command-line SQL statement only, or is this actually processed
on the server?
And if it's a command-line thingy only, shouldn't I be able to execute
something
like:
CREATE PROCEDURE P_AA()
MODIFIES SQL DATA
be
At 17:17 -0500 2/23/04, David Perron wrote:
Thanks Garth. Actually Im trying to change the delimiter in the context of
running a sql file from the command line - so in this case, I would want to
change from tab to csv
mysql -h db#-reports.adz -u readonly -p < script.sql > output.csv ads
Thanks Garth. Actually Im trying to change the delimiter in the context of
running a sql file from the command line - so in this case, I would want to
change from tab to csv
mysql -h db#-reports.adz -u readonly -p < script.sql > output.csv ads12
-Original Message-
From: Gart
I'm not sure in what context you want to change the delimiter, but
here's the doc page on the LOAD DATA command which shows how to
terminate (a.k.a. delimit) fields with different characters:
http://www.mysql.com/doc/en/LOAD_DATA.html
On Mon, 2004-02-23 at 13:53, David Pe
Greetings -
Been scouring the docs for this all day and I come up with nothing for
'delimiter' - Id like to change the default delimiter in mysql to something
other than tab.
Is there a command to do this, and what are the options?
Thank you!
David
On 04-May-01 [EMAIL PROTECTED] wrote:
> Hi Paul,
>
> I am now confronted with another problem. I need to also provide a CSV
> version.
> I need to use , seperated and " protected text. I have a copy of phpMyAdmin
> that will
> export to this format, but I need to use this at the shell.
> I h
>Hi Paul,
>Thanks for the help. I was hoping to accomplish this with MySQl, but in the
>end a script works just as good and this is just the first of several I am
>using. For what it's worth I ended up using sed. Here is is if somone else
>could use it:
>sed "s/ /|/g"
>^This is
age-
> From: Paul DuBois [mailto:[EMAIL PROTECTED]]
> Sent: Wednesday, May 02, 2001 9:38 PM
> To: [EMAIL PROTECTED]; [EMAIL PROTECTED]
> Subject: Re: specifying a delimiter
>
>
> At 9:11 PM -0500 5/2/01, Paul DuBois wrote:
> >At 10:01 AM -0500 5/2/01, [EMAIL PROTECTED] wrote:
At 9:11 PM -0500 5/2/01, Paul DuBois wrote:
>At 10:01 AM -0500 5/2/01, [EMAIL PROTECTED] wrote:
>>Hi,
>>Being new to MySQL, I am having a problem getting output from it to the
>>shell that is formatted the way I need. I need a table to be written to a
>>file with a
At 10:01 AM -0500 5/2/01, [EMAIL PROTECTED] wrote:
>Hi,
>Being new to MySQL, I am having a problem getting output from it to the
>shell that is formatted the way I need. I need a table to be written to a
>file with a delimiter.
>something like :
>
>#!/bin/sh
>mysql -uro
Hi,
Being new to MySQL, I am having a problem getting output from it to the
shell that is formatted the way I need. I need a table to be written to a
file with a delimiter.
something like :
#!/bin/sh
mysql -uroot -ptest database < sql
Then I run that script like this:
./script.sh > outp
Hi,
Can somebody help me, with changing the default delimiters of MySQL. For Example I
want to change the single quotes that enclose a string in an INSERT statement to #.
How can it be done.
Thanks in advance.
Shambhu kumar Singh.
_
Chat
28 matches
Mail list logo