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

  Main Index MAIN
INDEX
Search Posts SEARCH
POSTS
Who's Online WHO'S
ONLINE
Log in LOG
IN

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



Jasmine
Administrator / Moderator

Jan 23, 2003, 8:47 AM


Views: 3478
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:


Code
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