Re: Show tables replacement

2006-07-06 Thread Ed Reed
Anyone have an idea on this?
 
Thanks

 Ed Reed [EMAIL PROTECTED] 7/5/06 1:54:25 PM 
Anyone have an idea on this?

Thanks

 Ed Reed  [EMAIL PROTECTED]  6/30/06 2:51:44 PM 
Opps!

Thanks for the quick reply, Dan. But I forgot to mention I'm running MySQL 
4.1.11

Any other suggestions?

Thanks again.

 Dan Nelson  [EMAIL PROTECTED]  6/30/06 2:48:57 PM 
In the last episode (Jun 30), Ed Reed said:
 Is there a Select statement I can use to get table names so that I
 could use other Select statement syntax on the results?
 
 What I'd like to do is this,
 
 SHOW Replace(TABLES, 'tbl','') Like 'tbl%';
 
 But this doesn't work so I need a Select statement that can do the
 same thing.

SELECT table_name FROM information_schema.tables;

-- 
Dan Nelson
[EMAIL PROTECTED] 







Re: Show tables replacement

2006-07-06 Thread Jochem van Dieten

On 7/6/06, Ed Reed [EMAIL PROTECTED] wrote:

Anyone have an idea on this?


Upgrade. Or at least stop repeating the question.

Jochem

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Show tables replacement

2006-07-06 Thread Ed Reed
Thanks for the helpful words. The fact of the matter is that I would love to 
upgrade but since 5.0x doesn't have all the capabilities of 4.1x, an upgrade is 
out of the question at this time. So I'm left to looking here for help.
 
Thanks for your time.

Anyone else have an idea on this?

 Jochem van Dieten [EMAIL PROTECTED] 7/6/06 9:47:26 AM 
On 7/6/06, Ed Reed  [EMAIL PROTECTED]  wrote:
 Anyone have an idea on this?

Upgrade. Or at least stop repeating the question.

Jochem

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql 
To unsubscribe: http://lists.mysql.com/[EMAIL PROTECTED] 





Re: Show tables replacement

2006-07-06 Thread Daniel da Veiga

On 7/6/06, Ed Reed [EMAIL PROTECTED] wrote:

Thanks for the helpful words. The fact of the matter is that I would love to 
upgrade but since 5.0x doesn't have all the capabilities of 4.1x, an upgrade is 
out of the question at this time. So I'm left to looking here for help.


What? An higher version not having some features of the lower
version?! What feature you need that 5 don't have and that exist in
4.1? I'm asking because I plan an upgrade in the next weeks.

Please, do not bump your question replying to yourself. We already
heard, no one had time/knowledge to help you, if they do, they'll
answer in your first mail.

As to your question, if there was a way of knowing the table name and
other info and getting a resultset out of it having access only to the
table (restrict access to information_schema at version 5), then I
guess SQL Injection attacks would ruin a LOT of sites. Table names are
supposed to be static, so, most apps hard code their names. (but that
IMHO). If someone point that out (I couldn't find it googling, nor
searching manuals) it would be pretty intersting.

--
Daniel da Veiga
Computer Operator - RS - Brazil
-BEGIN GEEK CODE BLOCK-
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
--END GEEK CODE BLOCK--

--
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Show tables replacement

2006-07-05 Thread Ed Reed
Anyone have an idea on this?
 
Thanks

 Ed Reed [EMAIL PROTECTED] 6/30/06 2:51:44 PM 
Opps!

Thanks for the quick reply, Dan. But I forgot to mention I'm running MySQL 
4.1.11

Any other suggestions?

Thanks again.

 Dan Nelson  [EMAIL PROTECTED]  6/30/06 2:48:57 PM 
In the last episode (Jun 30), Ed Reed said:
 Is there a Select statement I can use to get table names so that I
 could use other Select statement syntax on the results?
 
 What I'd like to do is this,
 
 SHOW Replace(TABLES, 'tbl','') Like 'tbl%';
 
 But this doesn't work so I need a Select statement that can do the
 same thing.

SELECT table_name FROM information_schema.tables;

-- 
Dan Nelson
[EMAIL PROTECTED] 






Re: Show tables replacement

2006-06-30 Thread Dan Nelson
In the last episode (Jun 30), Ed Reed said:
 Is there a Select statement I can use to get table names so that I
 could use other Select statement syntax on the results?
  
 What I'd like to do is this,
  
 SHOW Replace(TABLES, 'tbl','') Like 'tbl%';
  
 But this doesn't work so I need a Select statement that  can do the
 same thing.

SELECT table_name FROM information_schema.tables;

-- 
Dan Nelson
[EMAIL PROTECTED]

-- 
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:http://lists.mysql.com/[EMAIL PROTECTED]



Re: Show tables replacement

2006-06-30 Thread Ed Reed
Opps!
 
Thanks for the quick reply, Dan. But I forgot to mention I'm running MySQL 
4.1.11
 
Any other suggestions?
 
Thanks again.

 Dan Nelson [EMAIL PROTECTED] 6/30/06 2:48:57 PM 
In the last episode (Jun 30), Ed Reed said:
 Is there a Select statement I can use to get table names so that I
 could use other Select statement syntax on the results?
 
 What I'd like to do is this,
 
 SHOW Replace(TABLES, 'tbl','') Like 'tbl%';
 
 But this doesn't work so I need a Select statement that can do the
 same thing.

SELECT table_name FROM information_schema.tables;

-- 
Dan Nelson
[EMAIL PROTECTED]