| |||||
| Auteur | Sujet : BlaBla@SQL |
|---|---|
Shinuza This is unexecpected | Reprise du message précédent :
Solr est overkill pour ce que je veux faire. J'ai pas non plus besoin d'une seconde table simplement parce que l'ORM est infoutu de comprendre que je veux un index de type FULLTEXT --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
Publicité | Posté le 07-05-2013 à 17:56:55 ![]() ![]() |
skeye |
Non. Sauf s'ils faisaient déjà tous 5 caractères. Message cité 1 fois Message édité par skeye le 13-05-2013 à 16:32:10 --------------- Can't buy what I want because it's free - |
Shinuza This is unexecpected |
J'ai rajouté
--------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
skeye | c'est quoi comme sgbd? Le type du champ?
--------------- Can't buy what I want because it's free - |
flo850 moi je | zipcode est bien un char/varchar ? --------------- |
Shinuza This is unexecpected | Enfoiré c'était un int, il me dit rien ce con --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
skeye |
--------------- Can't buy what I want because it's free - |
flo850 moi je | --------------- |
masklinn í dag viðrar vel til loftárása |
edit: te manque sûrement un warning planqué et un strict mode à la con Message cité 1 fois Message édité par masklinn le 13-05-2013 à 16:49:43 --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Publicité | Posté le 13-05-2013 à 16:44:59 ![]() ![]() |
Shinuza This is unexecpected | Postgres:
Message cité 1 fois Message édité par Shinuza le 13-05-2013 à 17:00:44 --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
flo850 moi je |
skeye |
--------------- Can't buy what I want because it's free - |
flo850 moi je | SQL server aussi l'accepte sans broncher --------------- |
masklinn í dag viðrar vel til loftárása |
Message édité par masklinn le 13-05-2013 à 17:28:15 --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Shinuza This is unexecpected |
--------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
masklinn í dag viðrar vel til loftárása | MEANWHILE, http://www.postgresql.org/docs/dev [...] e-9-3.html --------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Shinuza This is unexecpected | J'ai déjà fait du GIS avec Postgresql mais pas avec Mysql, des retours là dessus?
--------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
flo850 moi je | les derniers retours que j'ai eu de mysql spatial n’étaient pas bon du bons ( je crois que c'est 0x90 qui l'avait dit) --------------- |
Shinuza This is unexecpected | Bon, j'ai dégagé la recherche par region/département, je ferais simplement une jointure sur les tables correspondantes pour récupérer une liste de ville correspondantes.
--------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
skeye |
--------------- Can't buy what I want because it's free - |
Shinuza This is unexecpected |
Non, t'as raison, my bad. --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
skeye | Par contre ça risque pas d'être vachement lent, tout ça? J'imagine que t'en as un paquet, de villes... --------------- Can't buy what I want because it's free - |
Shinuza This is unexecpected | C'est assez lent, mais par contre j'ai les champs lat, lon en VARCHAR, me demande si ça boosterait pas un peu de convertir le truc en FLOAT. Sinon c'est bien HAVING qu'il faut mettre, ça doit etre considéré comme une fonction d'aggrégat.
Message édité par Shinuza le 14-05-2013 à 16:08:20 --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
skeye | ça pourrait être pire...faut juste pas avoir 40 appels par seconde, quoi. --------------- Can't buy what I want because it's free - |
Shinuza This is unexecpected | Y'a pas un truc pour faire un ORDER BY sur la likeliness d'un LIKE 'foo%'? --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
skeye |
--------------- Can't buy what I want because it's free - |
Shinuza This is unexecpected |
--------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
Volkhen |
--------------- Main/Alt1/Alt2/Alt3 |
Shinuza This is unexecpected |
Merci de ta contribution. Mais fulltext me renvoit des trucs un peu moisis, et renverra rien si j'ai 50% ma recherche matche plus de 50% de la table (MySQL ftw) --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
Volkhen |
--------------- Main/Alt1/Alt2/Alt3 |
Shinuza This is unexecpected | Overkill. C'est pour de l'autocomplétion. --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
Volkhen |
--------------- Main/Alt1/Alt2/Alt3 |
skeye |
--------------- Can't buy what I want because it's free - |
Shinuza This is unexecpected |
OK, je vais faire ça côté front alors. --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
LeRiton |
|
Farian |
|
Shinuza This is unexecpected |
Je pars du principe que quand c'est relatif à un seul utilisateur tu stockes tout en UTC et t'ajoutes la TZ à la volée, puisqu'elle peut varier. Après le DST est appliqué en fonction de la TZ, donc faut revenir à l'UTC à partir de là. Edit: En fait tout pareil que Farian Message cité 1 fois Message édité par Shinuza le 28-05-2013 à 16:57:31 --------------- Mains power can kill, and it will hurt the entire time you’re dying from it. |
LeRiton |
|
flo850 moi je | Est ce qu'il y a un équivalent a ON DUPLICATE KEY UPDATE en postgresql ? --------------- |
masklinn í dag viðrar vel til loftárása |
--------------- I mean, true, a cancer will probably destroy its host organism. But what about the cells whose mutations allow them to think outside the box by throwing away the limits imposed by overbearing genetic regulations? Isn't that a good thing? |
Publicité | Posté le ![]() ![]() |

| Sujets relatifs | |
|---|---|
| Requete SQL de selection complexe | [SQL SERVER] Ajout d'une colonne en PS...mais inutilisable |
| [ODBC] DSN pour se connecter à une base SQL | [PDO/SQL] Aide selection et classement (JOIN ??) |
| Problème conditions requete SQL | SQL/PHP BDD de réservation de chambres |
| Jointure 'LIKE' SQL => BO | table SQL Ajouter une colonne au lieu de creer une nouvelle table |
| Requête SQL complexe | |
| Plus de sujets relatifs à : BlaBla@SQL | |





