SQLite help.
#4

Quote:
Originally Posted by LoLeRo
Посмотреть сообщение
Now working, thanks you a lot!! But one question, if im expecting only one field, then why i have to put "LIMIT 1"?
The LIMIT is for rows not fields, and you are not expecting one field, you are extracting data from more than 10 fields ("userid", "admin", "vip" etc.).

LIMIT 1 means only one row will be loaded in cache/result.
Reply


Messages In This Thread
SQLite help. - by LoLeRo - 26.07.2016, 02:58
Re: SQLite help. - by Gammix - 26.07.2016, 03:07
Respuesta: Re: SQLite help. - by LoLeRo - 26.07.2016, 03:22
Re: Respuesta: Re: SQLite help. - by Gammix - 26.07.2016, 03:26
Respuesta: SQLite help. - by LoLeRo - 26.07.2016, 03:43
Re: Respuesta: SQLite help. - by Gammix - 26.07.2016, 03:46
Respuesta: SQLite help. - by LoLeRo - 26.07.2016, 03:48

Forum Jump:


Users browsing this thread: 1 Guest(s)