CGI/Perl Guide | Learning Center | Forums | Advertise | Login
Site Search: in

  Main Index MAIN
Search Posts SEARCH
Who's Online WHO'S
Log in LOG

Home: Perl Programming Help: DBI: Re: [skirrow] Limiting mySQL entries: Edit Log

Administrator / Moderator

Jan 23, 2003, 8:47 AM

Views: 4283
Re: [skirrow] Limiting mySQL entries

As far as I know, you can't limit the number of rows a table can have. You can do a quick count of existing rows by executing the following MySQL command:

SELECT count(*) FROM table_name

and then compare it to a number you have defined elsewhere.

(This post was edited by Jasmine on Jan 23, 2003, 8:48 AM)

Edit Log:
Post edited by Jasmine (Administrator) on Jan 23, 2003, 8:48 AM

Search for (options) Powered by Gossamer Forum v.1.2.0

Web Applications & Managed Hosting Powered by Gossamer Threads
Visit our Mailing List Archives