Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
All versions of MySQL (not Microsoft SQL Server). Please also add a version-specific tag like mysql-5.7 if that is relevant to the question.
5
votes
2
answers
15k
views
Storing html in mysql text fields, or include files? (html formatted articles)
I'm wondering if I should store long html formatted articles in my MySQL database, or if it would be better to store a reference to a file, and include that instead. …
2
votes
2
answers
13k
views
How to update "sorting_order" column of other rows when changing one?
I need to set a custom order sequence for categories when adding new ones, and changing existing ones. I believe the code and sql query will be the same in both scenarios.
In my webshop_categories-tab …
1
vote
How to recover deleted/updated record in sql server or mysql?
Don't really think so. Once deleted, it gets deleted permanently...
This is a bit old, but haven't heard of anything else: http://forums.mysql.com/read.php?21,135990,137776#msg-137776
0
votes
2
answers
190
views
Is my JOIN syntax not valid? And have I understood JOIN correctly?
I've been reading up a bit regarding JOINs. And i just noticed that I've been writing the syntax a little bit different. Although I don't think there's any problem with it, I would like to hear your o …
0
votes
2
answers
2k
views
How can I push data from my local MAMP database to my remote database?
I'm developing a site locally using MAMP Pro, and I've created a mysql database locally that have the same structure as the remote server. … I have MySQL Workbench, but all I could find was a way to sync the models. As in updating the table structures, adding new tables and stuff like that... …
0
votes
1
answer
225
views
Would it be better to do a sepparate query instead of a left JOIN?
And it looks like it uses ALL as the join type - which is not good since that is a full table scan according to the MySQL Refrence.. … Also; "MySQL found no index to use for executing the query more efficiently" more than? - the PK? - or non at all? …