GoFuckYourself.com - Adult Webmaster Forum

GoFuckYourself.com - Adult Webmaster Forum (https://gfy.com/index.php)
-   Fucking Around & Business Discussion (https://gfy.com/forumdisplay.php?f=26)
-   -   Mysql Question (https://gfy.com/showthread.php?t=776809)

Nails 10-15-2007 07:43 PM

Mysql Question
 
Is there anyway using mysql only you can do a

select * from table where str_length('password') < 5

So way to get a return of all passwords with less then 5
characters in them?

Or do I need to use php?

BigBen 10-15-2007 08:14 PM

Code:

SELECT * FROM table WHERE CHAR_LENGTH(password) < 5;

Iron Fist 10-15-2007 08:16 PM

Last to the party :)


All times are GMT -7. The time now is 04:03 AM.

Powered by vBulletin® Version 3.8.8
Copyright ©2000 - 2025, vBulletin Solutions, Inc.
©2000-, AI Media Network Inc123