Visualizzazione dei risultati da 1 a 2 su 2

Discussione: [MySql] RLIKE

  1. #1

    [MySql] RLIKE

    Ciao.
    C'è differenza tra queste due query ?

    Codice PHP:
    SELECT 
    FROM categories 
    WHERE position 
    RLIKE 
    '^80>81>83>([0-9]+\>){1}$' 
    ORDER BY name 
    LIMIT 0 
    30 


    SELECT 

    FROM categories 
    WHERE position 
    RLIKE 
    '^80>81>83>[0-9]+\>$' 
    ORDER BY name 
    LIMIT 0 
    30 
    perchè mi ritornano gli stessi records





    EDIT
    SELECT *
    FROM categories
    WHERE position
    RLIKE '^80>81>83>([0-9]+\>){1}$'
    ORDER BY name
    LIMIT 0 , 30


    SELECT *
    FROM categories
    WHERE position
    RLIKE '^80>81>83>[0-9]+\>$'
    ORDER BY name
    LIMIT 0 , 30
    Without faith, nothing is possible. With it, nothing is impossible
    http://ilwebdifabio.it

  2. #2
    Dalla regia mi dicono che sono la stessa
    cosa
    Without faith, nothing is possible. With it, nothing is impossible
    http://ilwebdifabio.it

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.