RE: changing mySQL table name screws phpMyAdmin?? reverting change fixes??

2012-08-08 Thread Rick James
t; To: mysql list > Subject: changing mySQL table name screws phpMyAdmin?? reverting change > fixes?? > > I changed a name of the table from within phpMyAdmin, and immediately > it crapped. after that when I try to connect using phpMyAdmin > (/phpMyAdmin/index.php) I get error in log: >

changing mySQL table name screws phpMyAdmin?? reverting change fixes??

2012-08-08 Thread Rajeev Prasad
I changed a name of the table from within phpMyAdmin, and immediately it crapped. after that when I try to connect using phpMyAdmin (/phpMyAdmin/index.php) I get error in log: [Wed Aug 0814:18:582012][error]Query call failed:Table'mydb.mychangedtbls'doesn't exist (1146) (I changed the name from

Re: Encoding "Table Name" and "Filed Name"

2011-06-18 Thread Vikram A
han De Meersman' Cc: 'MY SQL Mailing list' Sent: Friday, 17 June 2011 7:41 PM Subject: RE: Encoding "Table Name" and "Filed Name" >-Original Message- >From: Vikram A [mailto:vikkiatb...@yahoo.in] >Sent: Friday, June 17, 2011 2:54 AM >To: Joh

RE: Encoding "Table Name" and "Filed Name"

2011-06-17 Thread Jerry Schwartz
>-Original Message- >From: Vikram A [mailto:vikkiatb...@yahoo.in] >Sent: Friday, June 17, 2011 2:54 AM >To: Johan De Meersman >Cc: MY SQL Mailing list >Subject: Re: Encoding "Table Name" and "Filed Name" > >Sir, > >I agree, its impossible

Re: Encoding "Table Name" and "Filed Name"

2011-06-17 Thread Johan De Meersman
- Original Message - > From: "Vikram A" > I agree, its impossible to do manual look ups. But our aim is to > avoid the use of DB with out code. Also we have ensured, 'secret > data is encrypted using some functions with key'. > I shall follow both enc

Re: Encoding "Table Name" and "Filed Name"

2011-06-16 Thread Vikram A
Sir, I agree, its impossible to do manual look ups. But our aim is to avoid the use of DB with out code. Also we have ensured, 'secret data is encrypted using some functions with key'.  I shall follow both encode i.e,  1) filed and table name, 2) data level? Or only data level is

Re: Encoding "Table Name" and "Filed Name"

2011-06-16 Thread Johan De Meersman
- Original Message - > From: "Vikram A" > > My question is, DO i face any negative project management problems by > doing this? Pleas share your experience on this aspect and commend > our idea. Seems... a bit pointless, no? If someone has access to the database, they can still see the

Encoding "Table Name" and "Filed Name"

2011-06-16 Thread Vikram A
Hello there, I request you to give your commends on the following,  1. We have planned to cipher our table name  and filed name [the necessary data will be ciphered with predefined functions with 'key'] 2. This cipher functions will be our own code 3. Using these functions we can

temporary merge table as table name alias

2009-12-11 Thread Dante Lorenso
r me, though, because I want the table name "dante" to not be visible to other connections. The whole point of this code is to enable me to create "alias" names for tables inside a stored procedure. Can someone tell me why the temporary merge table is failing? Dante

Re: stored procedure and random table name -> temp table, merge, prepared statement

2009-12-10 Thread D. Dante Lorenso
yhow, let me know what you think of this strategy for sidestepping the need for prepared statements when working with MyISAM tables passed to stored procedures. -- Dante Regards, Gavin Towey -Original Message- From: Dante Lorenso [mailto:da...@lorenso.com] Sent: Thursday, December 10, 2009 3:20

RE: stored procedure and random table name -> temp table, merge, prepared statement

2009-12-10 Thread Gavin Towey
To: mysql@lists.mysql.com Subject: stored procedure and random table name -> temp table, merge, prepared statement All, I have a stored procedure that I'm writing where I need to run a lot of queries against a particular table. The name of the table will be a parameter to the stored procedure

stored procedure and random table name -> temp table, merge, prepared statement

2009-12-10 Thread Dante Lorenso
table, I don't want to have to use prepared statements for all the queries because treating my queries as strings gets ugly. Ideally I want to use the table name as a variable in the stored procedure, but as a hack around that, I thought about trying this trick instead: give the table name an a

Re: dynamic table name

2009-04-26 Thread Peter Brawley
table for this table. Also, this table name is passed as a parameter for another SP, but instead of get the value of the parameter, I got the name of the parameter. For example: CREATE PROEDURE my_test_sp() BEGIN DECLARE my_table CHAR(32); SET my_table = UNIX_TIMESTAMP(); CREATE

dynamic table name

2009-04-26 Thread Mauricio Tellez
Hi, I'm creating a stored procedure and inside this procedure I have a CREATE TABLE statement, but I want to make a dynamic table for this table. Also, this table name is passed as a parameter for another SP, but instead of get the value of the parameter, I got the name of the parameter

Re: How to set db property so that table name queries are case-insensitive?

2009-03-19 Thread Martijn Engler
d > with MySQL.  I found that some of the tests were failing, apparently because > of table name case-sensitivity issues.  I was able to fix some of the code > references, but after that I hit other, probably for the same issue.  The > tables were created with lower case names, but g

How to set db property so that table name queries are case-insensitive?

2009-03-18 Thread David M. Karr
Ubuntu 8.10. I was experimenting with the Spring Petclinic sample application, configured with MySQL. I found that some of the tests were failing, apparently because of table name case-sensitivity issues. I was able to fix some of the code references, but after that I hit other, probably

Re: How to execute prepare statement when the placeholder is a specific table name?

2009-02-15 Thread Joerg Bruehe
Hi, I made a silly typo: Joerg Bruehe wrote: > [[...]] > > So allowing placeholders (variables) for identifiers (table, column, and > other database object names) would block (future) optimization. > > That is (probably) the reason why the SQL standard also does not allow > this.

Re: How to execute prepare statement when the placeholder is a specific table name?

2009-02-15 Thread Joerg Bruehe
Hi all! Paul DuBois wrote: > > On Feb 14, 2009, at 8:00 PM, Moon's Father wrote: > >> Thanks for your fast reply. >> >> Do you know MySQL will support this feature in the future? (("this feature" = placeholders for table names in prepared statements)) > > It doesn't need to. Baron indicated h

Re: How to execute prepare statement when the placeholder is a specific table name?

2009-02-15 Thread Paul DuBois
set @b = 'g'; set @stmt = concat('select * from ?,? where a.id = g.id'); prepare s1 from @stmt; execute s1; drop prepare s1; END$$ DELIMITER ; But it didn't work for me. So what I want to know is how to table name when there're a placeholder within sproc. You c

Re: How to execute prepare statement when the placeholder is a specific table name?

2009-02-14 Thread Moon's Father
> >drop prepare s1; > >END$$ > > > > DELIMITER ; > > > > But it didn't work for me. > > So what I want to know is how to table name when there're a placeholder > > within sproc. > > You can't use placeholders for identif

Re: How to execute prepare statement when the placeholder is a specific table name?

2009-02-14 Thread Baron Schwartz
from ?,? where a.id = g.id'); >prepare s1 from @stmt; >execute s1; >drop prepare s1; >END$$ > > DELIMITER ; > > But it didn't work for me. > So what I want to know is how to table name when there're a placeholder > within sproc. You can'

Re: escape a dash in table name

2008-08-28 Thread Peter Brawley
>How do you escape a dash in a table name such as temp-08-08-28? Best not to use them at all. If you must for some odd reason, use backticks round the name. PB Dan O'Keefe wrote: How do you escape a dash in a table name such as temp-08-08-28? Thanks, Dan -- MySQL General

Re: escape a dash in table name

2008-08-28 Thread ewen fortune
Using backticks `temp-08-08-28` Cheers, Ewen On Thu, Aug 28, 2008 at 1:01 PM, Dan O'Keefe <[EMAIL PROTECTED]> wrote: > How do you escape a dash in a table name such as temp-08-08-28? > > Thanks, > > Dan > > -- > MySQL General Mailing List > For list archi

Re: escape a dash in table name

2008-08-28 Thread metastable
Dan O'Keefe wrote: How do you escape a dash in a table name such as temp-08-08-28? Thanks, Dan How about `` ? hth, Stijn -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

escape a dash in table name

2008-08-28 Thread Dan O'Keefe
How do you escape a dash in a table name such as temp-08-08-28? Thanks, Dan -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

RE: select with table name

2008-02-16 Thread roger.maynard
Can you just do SELECT t1.*, "t1" as tablename FROM t1 UNION SELECT t2.*, "t2" as tablename FROM t2 Roger -Original Message- From: Miguel Vaz [mailto:[EMAIL PROTECTED] Sent: 17 February 2008 00:04 To: mysql@lists.mysql.com Subject: select with table name

Re: select with table name

2008-02-16 Thread Paul DuBois
At 12:04 AM + 2/17/08, Miguel Vaz wrote: Hi, I have a small issue that i can get my head around to solve: Is it possible to do a select from two tables using a union all (select * from t1 union all select * from t2), and have it display the table name in front of each

select with table name

2008-02-16 Thread Miguel Vaz
Hi, I have a small issue that i can get my head around to solve: Is it possible to do a select from two tables using a union all (select * from t1 union all select * from t2), and have it display the table name in front of each row? What i need is, on the big resulting

Re: Prefixing fields with table name when joining?

2006-12-11 Thread Visolve DB Team
AIL PROTECTED]> To: Sent: Monday, December 11, 2006 8:39 PM Subject: Prefixing fields with table name when joining? I have three tables (x, y, and z) with the same 3 fields (id, name, number). If I do: SELECT * FROM x, y, z WHERE ... each row of my result will contain 3 id fields, 3 name fiel

Prefixing fields with table name when joining?

2006-12-11 Thread Kelly Jones
, y.id AS y_id, y.name AS y_name, y.number AS y_number, z.id AS z_id, z.name AS z_name, z.number AS z_number FROM x, y, z WHERE ... Short of scripting, is there any way to get MySQL to do this? Something like: SELECT * FROM x, y, z PREFIX FIELDS WITH TABLE NAME WHERE ... -- We're

Re: Droping multiple tables by a pattern in the table name

2006-01-18 Thread Gleb Paharenko
Hello. My advice doesn't solve your issue, but if you had a 5.0, you would have been able to use INFORMATION_SCHEMA to retrieve the table names and assign them to variables. Then using prepared statements and variables you can dynamically drop a table. And at the end, you can put all this stuff in

Droping multiple tables by a pattern in the table name

2006-01-17 Thread Yair Zohar
Hello, I'm using mysql 4.1.14-standard. I would like to drop multiple tables in one or few queries. I don't have an easy way to predict their names (I have a way to find their names, but it's by using software and I prefer doing it with mysql). All of the table names have a fixed part which I

Re: using dinamic table name inside stored procedure

2005-11-20 Thread Jason Martin
:41PM +0200, Gleb Paharenko wrote: > AESYS S.p.A. [Enzo Arlati] wrote: > > I need to pass to a stored procedure a var a table name. -- Definition of Terror: A female Klingon having a bad hair day. This message is PGP/MIME signed. pgpnepMnZ0Wfx.pgp Description: PGP signature

Re: using dinamic table name inside stored procedure

2005-11-19 Thread Gleb Paharenko
to a stored procedure a var a table name. > But I don't known how use the variable in the sql statement. > If I use the method described belowe I get an error, the procedure use the > variable name as the name of the table. > Someone can help ? > > CREATE FUNCTION `myF

using dinamic table name inside stored procedure

2005-11-17 Thread AESYS S.p.A. [Enzo Arlati]
I need to pass to a stored procedure a var a table name. But I don't known how use the variable in the sql statement. If I use the method described belowe I get an error, the procedure use the variable name as the name of the table. Someone can help ? CREATE FUNCTION `myFunc`( tbl_name va

Re: Auto Table Name Completion has stopped working?

2005-01-06 Thread Kieran Kelleher
y, when you type the first few letters of a table name and press tab, the mysql client does not auto complete anymore. Can this be enabled with a my.cnf setting or something since it is no longer the default behaviour on my machine?

Re: Auto Table Name Completion has stopped working?

2005-01-06 Thread Gleb Paharenko
Hello. Try 'rehash' command. Kieran Kelleher <[EMAIL PROTECTED]> wrote: > [-- text/plain, encoding 7bit, charset: US-ASCII, 15 lines --] > > Normally, when you type the first few letters of a table name and press > tab, the mysql client does not auto co

Auto Table Name Completion has stopped working?

2005-01-05 Thread Kieran Kelleher
Normally, when you type the first few letters of a table name and press tab, the mysql client does not auto complete anymore. Can this be enabled with a my.cnf setting or something since it is no longer the default behaviour on my machine? Regards, Kieran

Re: SELECT or SHOW full table name?

2004-11-04 Thread Gleb Paharenko
Hi. select concat(database(),_utf8".",_utf8'table') works fine. It is not clear for me - what is the problem? You can choose charset according to your local settings. Nick Arnett <[EMAIL PROTECTED]> wrote: > I don't see a way to ask MySQL what the "full" name of a table is... the

SELECT or SHOW full table name?

2004-11-03 Thread Nick Arnett
I don't see a way to ask MySQL what the "full" name of a table is... the equivalent of this: SELECT CONCAT(DATABASE(), ".", "table_name") which would return something like this (assuming the current database is called "my_database": my_database.table_name The reason I want this is to ensure tha

Re: Table name aliases in FULLTEXT and table locking

2004-10-18 Thread Sergei Golubchik
ase at http://bugs.mysql.com/ ? > b) > SELECT products.*, categories.name AS categoryname FROM products, > categories WHERE MATCH(products.name,products.description) > AGAINST('keywords'); > > works anyway well. > > 2) Table name locking doesn't work with ta

Table name aliases in FULLTEXT and table locking

2004-10-05 Thread Ville Mattila
.name,p.description) AGAINST('keywords'); It will cause an error that there is no FULLTEXT index matching the query. b) SELECT products.*, categories.name AS categoryname FROM products, categories WHERE MATCH(products.name,products.description) AGAINST('keywords'); works anyway we

Re: table name is lower case if there is an index on it (4.0.18 )

2004-03-09 Thread Victoria Reznichenko
"Bluemel, Marco" <[EMAIL PROTECTED]> wrote: > I have a problem with mysql 4.0.18 on WindowsXP > I set the lower_case_table_names=2 as it is mentioned for windows > t the mysql website. > > (before I'm using version 4.0.15 and had set it to 0) > so the tablenames should be stored in this case as I w

table name is lower case if there is an index on it (4.0.18 )

2004-03-05 Thread Bluemel, Marco
Hi, I have a problem with mysql 4.0.18 on WindowsXP I set the lower_case_table_names=2 as it is mentioned for windows at the mysql website. (before I'm using version 4.0.15 and had set it to 0) so the tablenames should be stored in this case as I wrote it. So I create a table in Java wi

Re: Table Name Case Sensitivity

2004-02-23 Thread Peter Zaitsev
On Mon, 2004-02-23 at 08:56, Tim Hayes wrote: > OK > > There is still the possibility of an in-compatability between the 2 > platforms. > > However - in both Linux and Windows (MySQL 4.0.17) the variable is not > recognized / updateable using the set command! > > > I get - Unknown system variab

Re: Table Name Case Sensitivity

2004-02-23 Thread Paul DuBois
At 16:56 + 2/23/04, Tim Hayes wrote: OK There is still the possibility of an in-compatability between the 2 platforms. However - in both Linux and Windows (MySQL 4.0.17) the variable is not recognized / updateable using the set command! Correct. You must set it using an option at server start

Re: Table Name Case Sensitivity

2004-02-23 Thread Heikki Tuuri
fault setting. " I think it is bad programming style to have tables whose name only differs in case. I recommend using in my.cnf lower_case_table_names=1 on all platforms. Regards, Heikki .. List: MySQL General Discussion From: Tim Hayes Date:February 23 2004 5:56pm Subject: Re:

Re: Table Name Case Sensitivity

2004-02-23 Thread Tim Hayes
al Message - From: "Peter Zaitsev" <[EMAIL PROTECTED]> To: "Tim Hayes" <[EMAIL PROTECTED]> Sent: Monday, February 23, 2004 4:19 PM Subject: Re: Table Name Case Sensitivity > On Mon, 2004-02-23 at 08:15, Tim Hayes wrote: > > Can anyone offer advice? >

Re: Table Name Case Sensitivity

2004-02-23 Thread Alec . Cawley
"shortcoming"? > Postgress rejects duplicate table names. It is a design feature - shortcoming if you will. For MyISAM tables, each table is a file (well, three files). The table name therefore shares the case (in)sensitivity of the underlying OS. The same will apply to database names, b

Re: Table Name Case Sensitivity

2004-02-23 Thread Jochem van Dieten
Tim Hayes said: > Can anyone offer advice? > > I have come across a MySQL database on Linux with duplicate table > names - "Accounts" and "accounts". This seems fine on Linux, but > does not transfer to the Windows environment - it is rejected > because of the duplicate name. However I do see that

Table Name Case Sensitivity

2004-02-23 Thread Tim Hayes
Can anyone offer advice? I have come across a MySQL database on Linux with duplicate table names - "Accounts" and "accounts". This seems fine on Linux, but does not transfer to the Windows environment - it is rejected because of the duplicate name. However I do see that Column Names have to be

FW: Table Name

2003-10-26 Thread Freddie Sorensen
Eduardo MySQL does not use the square brackets [] as field delimiters. Try to use `Clientes of Supermarkets` instead Note, these are not single quotes (') but ASCII 96 Freddie -Original Message- From: Eduardo Melo [mailto:[EMAIL PROTECTED] Sent: Sonntag, 26. Oktober 2003 14:40 To: [EM

Table Name

2003-10-26 Thread Eduardo Melo
Hi all ! I am migrating my database from MS-ACCESS to MYSQL. When I try to use a select statement below the application fails. select * from [Clientes of Supermarkets] anybody have an idea ? best regards, Eduardo F. Melo _ MSN M

Re: Pronunciation of ISAM table name

2003-10-20 Thread Jim Mathews
ccess Method > > > > > > Matt > > > > > > - Original Message - > > From: "Jim Mathews" > > Sent: Saturday, October 18, 2003 3:44 PM > > Subject: Pronunciation of ISAM table name > > > > > > > I have a very b

Re: Pronunciation of ISAM table name

2003-10-18 Thread minky
Hi - Original Message - From: "Matt W" <[EMAIL PROTECTED]> To: "Jim Mathews" <[EMAIL PROTECTED]>; <[EMAIL PROTECTED]> Sent: Saturday, October 18, 2003 10:18 PM Subject: Re: Pronunciation of ISAM table name > Hi Jim, > > As far as I kn

Re: Pronunciation of ISAM table name

2003-10-18 Thread Matt W
Hi Jim, As far as I know: eye-sam & my-eye-sam. At least that's how I pronounce them. :-) Matt - Original Message - From: "Jim Mathews" Sent: Saturday, October 18, 2003 3:44 PM Subject: Pronunciation of ISAM table name > I have a very basic newbie question th

Pronunciation of ISAM table name

2003-10-18 Thread Jim Mathews
I have a very basic newbie question that, despite multiple searches, I have been unable to find an answer to. How is ISAM pronounced? Is it:   1. eye-sam (As in “I don’t like green eggs and ham, Sam I am.”)   2. is-am   3. I-S-A-M (with the individual letters spoken out like most acronyms) I

Re: Table Name as UserName with a Blank Password

2003-07-02 Thread Nils Valentin
anonymous user accounts. Must have dropped that ;-) > > Best regards > > Nils Valentin > Tokyo/Japan > > 2003年 7月 3日 木曜日 06:18、Dan Ullom さんは書きました: > > I recently stumbled onto the ability to log into a mysql server from the > > command line with any table name, an

Re: Table Name as UserName with a Blank Password

2003-07-02 Thread Nils Valentin
anonymous user accounts. ;-) Best regards Nils Valentin Tokyo/Japan 2003年 7月 3日 木曜日 06:18、Dan Ullom さんは書きました: > I recently stumbled onto the ability to log into a mysql server from the > command line with any table name, and a blank password. ie: mysql -u mysql > My root account has

Table Name as UserName with a Blank Password

2003-07-02 Thread Dan Ullom
I recently stumbled onto the ability to log into a mysql server from the command line with any table name, and a blank password. ie: mysql -u mysql My root account has a password set, and a few users with limited access but I haven't done much else as far security goes. I've tried

Re: CREATE TABLE with date as part of table name

2003-06-23 Thread Egor Egorov
"Me" <[EMAIL PROTECTED]> wrote: > > I would like to know how to create a table within MySQL at the command > prompt where the table name will be something like: > > > MyTableName_TodaysDate > > > Is this possible while at the command prompt? I a

CREATE TABLE with date as part of table name

2003-06-22 Thread Me
I would like to know how to create a table within MySQL at the command prompt where the table name will be something like: MyTableName_TodaysDate Is this possible while at the command prompt? I am trying to create a batch file that will create a table in MySQL based on todays date. The

RE: get table name from select staement as output as field

2003-03-30 Thread Dan Rossi
thanks heaps that works abosultely fine -Original Message- From: Don Read [mailto:[EMAIL PROTECTED] Sent: Sunday, March 30, 2003 6:00 PM To: Daniel Rossi Cc: [EMAIL PROTECTED] Subject: RE: get table name from select staement as output as field On 30-Mar-2003 Daniel Rossi wrote: >

RE: get table name from select staement as output as field

2003-03-29 Thread Don Read
On 30-Mar-2003 Daniel Rossi wrote: > hi guys is this possible ? select tablename1 as table1, id from > tablename1 , tablename2 ? > select 'tablename1' as table1, id from ... Regards, -- Don Read [EMAIL PROTECTED] -- It's always darkest before the dawn. So

get table name from select staement as output as field

2003-03-29 Thread Daniel Rossi
hi guys is this possible ? select tablename1 as table1, id from tablename1 , tablename2 ? -- MySQL General Mailing List For list archives: http://lists.mysql.com/mysql To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]

Re: get the table name from a field for 3 different tables

2003-03-27 Thread Jeff Shapiro
At 15:40 +1100 3/28/03, Daniel Rossi wrote: hi there i would like to find out how to get the table from a field if i am joining three tables together for instance select a.id, b.id, c.id from a, b, c when i get the results i need to be able to get the table name a if i get the result from

get the table name from a field for 3 different tables

2003-03-27 Thread Daniel Rossi
hi there i would like to find out how to get the table from a field if i am joining three tables together for instance select a.id, b.id, c.id from a, b, c when i get the results i need to be able to get the table name a if i get the result from a.id , is it possible ? -- MySQL General

Re: [repost] Finding table name when using Union

2003-03-11 Thread Martin Waite
On Tue, 2003-03-11 at 07:33, Richard Taubo wrote: > > When using the Union statement in MySQL, is it possible to retrieve the > corresponding table name for a given row? The reason I need to know > this is that I present info from different tables in their own way. I > know

[repost] Finding table name when using Union

2003-03-10 Thread Richard Taubo
Hi! Sorry for the repost, but I am really eager to hear the verdict so I give it another go, thanks ;-) When using the Union statement in MySQL, is it possible to retrieve the corresponding table name for a given row? The reason I need to know this is that I present info from different tables

Finding corresponding table name when using Union

2003-03-10 Thread Richard Taubo
Hi! When using the Union statement in MySQL, is it possible to retrieve the corresponding table name for a given row? I know I can create a column in each table that describes which table the row actually is being retrieved from, but I am looking for a more intelligent solution. Thanks

table name case in mysql.db for 3.23.55-max

2003-02-26 Thread Brian Blood
names "MLSData1" and we had those table names programmed into the mysql.db permissions table with the mixed case for our PHP scripts to connect. (localhost) Upgrading to 3.23.55 from a previous version prevented our PHP from connecting until we lowercased the table name column entry to &#

Re: Table name 'con' ignored.

2003-02-12 Thread Roger Baklund
* Ben Clewett > I was trying to create a table named 'con' on version 3.23.52-max-nt and > found my request was ignored: > > mysql> >create table if not exists con ( > code integer unsigned not null auto_increment primary key, > ... > ... >) type=innodb; > Query OK, 0 rows af

Table name 'con' ignored.

2003-02-12 Thread Ben Clewett
MySql, I was trying to create a table named 'con' on version 3.23.52-max-nt and found my request was ignored: mysql> create table if not exists con ( code integer unsigned not null auto_increment primary key, ... ... ) type=innodb; Query OK, 0 rows affected (0.00 sec) A 'show ta

WG: Odd behaviour if you use incorrect case for table name

2002-09-26 Thread Moestl, Wolfgang
12:12 An: MySQL Betreff: Odd behaviour if you use incorrect case for table name I thought you might be interested in a bug that I traced to my having used the wrong case for the table name. This had me baffled for a while because the behaviour was not consistent, sometimes the error was duplicat

Odd behaviour if you use incorrect case for table name

2002-09-26 Thread Phoebe Bright
I thought you might be interested in a bug that I traced to my having used the wrong case for the table name. This had me baffled for a while because the behaviour was not consistent, sometimes the error was duplicate key, other times wrong column count CORRECT BEHAVIOR

select box result on page1 to insert statement table name on page2- not working

2002-08-04 Thread Chip Wiegand
the contents of the hidden field just to be sure it is correct, and that does indeed show what I expect. I then make the query statement point to the variable but it always responds that it cannot find the table. The table does exist, the variable does contain the appropriate table name, but is not

RE: Is Table Name 'PURGE' ALLOWED

2002-06-11 Thread Basil Hussain
Hi, > To answer my own question yes this word is reserved. Yes, it is reserved, but you may still use it any query that you like, by quoting the name. To take from the manual: "Note that if the identifier is a restricted word or contains special characters you must always quote it with ` when y

Re: Is Table Name 'PURGE' ALLOWED

2002-06-11 Thread Daniel Negron/KBE
I get the ID-10-T award of the day. http://www.mysql.com/doc/R/e/Reserved_words.html To answer my own question yes this work is reserved. PEBKAC Thank You /\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\ Does mysql allow you to name your table

Is Table Name 'PURGE' ALLOWED

2002-06-11 Thread Daniel Negron/KBE
Does mysql allow you to name your tables anything. I created a table called 'purge' and insert 3 field purgeday, purgemonth, purgeyear. ALL of the fields are set to INT or INT NOT NULL. When I try to add a record to this table I get and error 'SELECT * FROM purge LIMIT 0,50' Anyone have a clu

Re: Can I create a table name 'INT'?

2002-04-30 Thread Dan Nelson
TABLE IF > EXISTS INT' > > Is there any way around this, or must I use a different table > name than 'INT' You can use reserved words as table and field names by putting them inside backtics ` `. http://www.mysql.com/doc/L/e/Legal_names.h

Can I create a table name 'INT'?

2002-04-30 Thread Tim Johnson
use a different table name than 'INT' -- Tim Johnson <[EMAIL PROTECTED]> http://www.alaska-internet-solutions.com http://www.johnsons-web.com - Before posting, please check: http://www.mysql.com/ma

Re: mysqldump generates "create table" commands with wrong table name case.

2002-04-27 Thread Benjamin Pflugmann
Hello. To answer only a part: On Fri, Apr 26, 2002 at 03:26:15PM -0400, [EMAIL PROTECTED] wrote: [...] > Having loaded these tables, the mysql > monitor appears not to care about case: > > mysql> select ID from Maps; > ++ > | ID | > ++ > | 1 | > ++ > 1 row in set (0.00 sec) > > my

mysqldump generates "create table" commands with wrong table name case.

2002-04-26 Thread Bill Taylor
mysqldump does not preserve table name case when dumping tables on my Windows platform. Distribution file name: mysql-3.23.49-win.zip C:\mysql\bin>mysqladmin version mysqladmin Ver 8.23 Distrib 3.23.49, for Win95/Win98 on i32 Copyright (C) 2000 MySQL AB & MySQL Finland AB & TCX Dat

RE: "-" character in table name

2002-04-10 Thread nickg
oesn't exist mysql> nickg -Original Message- From: David Chen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 2:20 PM To: nickg; [EMAIL PROTECTED] Subject: Re: "-" character in table name mysql> describe 'A-14c'; ERROR 1064: You have an error in

Re: "-" character in table name

2002-04-10 Thread David Chen
lt;[EMAIL PROTECTED]> Sent: Wednesday, April 10, 2002 2:13 PM Subject: RE: "-" character in table name > Try enclosing it: > > describe `A-14c`; > > nickg > > > -Original Message- > From: David Chen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday

RE: "-" character in table name

2002-04-10 Thread Gregory Junker
Have you tried delimiting the table name with some form of quotes? > -Original Message- > From: David Chen [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, April 10, 2002 4:05 PM > To: [EMAIL PROTECTED] > Subject: "-" character in table name > > > Hell

RE: "-" character in table name

2002-04-10 Thread nickg
Try enclosing it: describe `A-14c`; nickg -Original Message- From: David Chen [mailto:[EMAIL PROTECTED]] Sent: Wednesday, April 10, 2002 2:05 PM To: [EMAIL PROTECTED] Subject: "-" character in table name Hello, I probably installed a PHP script that created a table with

"-" character in table name

2002-04-10 Thread David Chen
Hello, I probably installed a PHP script that created a table with a - in its name. I can't figure out how to even touch this table. If I try: mysql> describe A-14c; ERROR 1064: You have an error in your SQL syntax near '-14c' at line 1 This table exists for sure though: | Tables_in_blesysdb

Re: table name including current date

2002-03-24 Thread Paul DuBois
At 19:00 +0200 3/24/02, Okan CIMEN wrote: >Hello, > >I am trying to write a script that creates tables via a cronjob but I want >to name these tables including the current date as a suffix -like >transections_20020324- . Does anybody know the SQL statement that entegrates >the t

table name including current date

2002-03-24 Thread Okan CIMEN
Hello, I am trying to write a script that creates tables via a cronjob but I want to name these tables including the current date as a suffix -like transections_20020324- . Does anybody know the SQL statement that entegrates the table name with the current date? I tried to do it by storing the

MySQL table name case sensitivity

2001-11-29 Thread Michael Collins
Since Mac OS X is Unix it should use the same rules as a Unix machine when it comes to MySQL and case sensitivity of table and database names. According to Dubois: "DB and tables in MySQL correspond to directories and files in the underlying file system on the server host. As a result, case se

Re: change table name?

2001-06-22 Thread Nessi
Is this what you are looking for? RENAME TABLE tbl_name TO new_table_name[, tbl_name2 TO new_table_name2,...] Just take a look at the manual! Cheers, Nessi At 09:22 22/06/01 , you wrote: >how do i change a table's name without recreating it? > >

Re: change table name?

2001-06-22 Thread Seth Northrop
> how do i change a table's name without recreating it? See: http://www.mysql.com/doc/A/L/ALTER_TABLE.html ALTER TABLE RENAME TO Take care, seth --- Seth Northrop Manager of Information Technology Reflectivity, Inc. 3910 Freedom Circle, Suite 103 Santa Clara, CA 95054 voice: 408-970-8881 x

change table name?

2001-06-22 Thread trogers
how do i change a table's name without recreating it? - Before posting, please check: http://www.mysql.com/manual.php (the manual) http://lists.mysql.com/ (the list archive) To request this thread, e-mail <[EMA

Re:Error/crash with InnoDB if table name = database name

2001-06-21 Thread Markus Wichitill
Heikki, > when you try to create the table test with type = innodb, > does the server print into the error log or to the screen: > Innobase: error: table test/test already exists in Innobase data dictionary Yes, indeed. I missed that line between all the stack backtrace output. > If so, then yo

Re:Error/crash with InnoDB if table name = database name

2001-06-20 Thread Heikki Tuuri
Markus, when you try to create the table test with type = innodb, does the server print into the error log or to the screen: Innobase: error: table test/test already exists in Innobase data dictionary If so, then you have probably created the table already in the InnoDB format and deleted the .

Re: Error/crash with InnoDB if table name = database name

2001-06-20 Thread Miguel Angel Solórzano
At 20:41 20/06/2001 +0200, Markus Wichitill wrote: Hi, Thanks for the bug report. I was be able to repeat the issue after I dropped the already existing database test. The problem is InnoDB applies the following error: Innobase: error: table test/test already exists in Innobase data dictionary

Error/crash with InnoDB if table name = database name

2001-06-20 Thread Markus Wichitill
Hi, I'm using MySQL 3.23.39-log compiled from sources on SuSE Linux 6.4. When I create an InnoDB table with the same name as the database, I get the following error message: mysql> create database test; Query OK, 1 row affected (0.01 sec) mysql> create table test (x int) type=innodb; ER

Re: space in column name and table name, standard?.

2001-05-03 Thread Van
hamad Ilhami" <[EMAIL PROTECTED]> > To: <[EMAIL PROTECTED]> > Sent: Friday, May 04, 2001 10:13 > Subject: space in column name and table name, standard?. > > > Hi, > > > > I think mysql support space in column name and table name, using left > >

Re: space in column name and table name, standard?.

2001-05-03 Thread Rolf Hopkins
;[EMAIL PROTECTED]> Sent: Friday, May 04, 2001 10:13 Subject: space in column name and table name, standard?. > Hi, > > I think mysql support space in column name and table name, using left > tick " ` " like > > create table `my foo` (`foo column` char(10) primary &

  1   2   >