Omgili - forum search, search forums  
  

Discussions about queries

Displaying 1 - 10 out of 253,091 discussions.  
Time Frame: (Any time)   Minimum number of replies: (2)   Minimum number of discussing users: (0)
  |  

Page: 1   2   3   4   5   6   7   8   9   10  
Keep this page open to be updated with the newest discussions automatically.
Are JOIN queries faster than several queries? (You run your main query, and then you run many other SELECTs based on the results from your main query) I'm asking because JOINing them would complicate A LOT the design of my application If they are faster...
Started by on , 6 posts by 6 people.  
Construct both separate queries and joins, then time each of them.
To do 1 trip than several.
Hello I made a SQL test and dubious/curious about one question: In which sequence are queries and sub-queries executed by the SQL engine? the answers was primary query -> sub query -> sub sub query and so on sub sub query -> sub query -> prime...
Started by on , 6 posts by 6 people.  
But it's not quite "on the fly"....
This may vary for outwardly identical queries and tables depending on statistics, data distribution.
The part deciding about that is called a query optimizer it.
In which (sub)queries are executed.
Hello, I have 2 tables namely Person_Organization and Person_Organization_other and nested query is :- SELECT Person_Organization_id FROM Person_Organization_other WHERE company_name IN ( SELECT company_name from Person_Organization_other WHERE Person...
Started by on , 4 posts by 4 people.  
In fact the SQL server optimises all queries that it executes by reducing them to an execution....
Id The view that nested queries are less performant and should be flattened out using joins cases using a subquery is just as good as using a join.
Ask your Facebook Friends
Is there a way this hand coded query could become dynamic? SELECT master.id, (select count(0) as score1 from scores where scores.id = master.id AND scores.category = '1'), (select count(0) as score2 from scores where scores.id = master.id AND scores.category...
Started by on , 3 posts by 3 people.  
First, an easier way to do it, with less typing and less overhead would be: SELECT master.id , SUM(IF(s.category='1',1,0)) cat1 , SUM(IF(s.category='2',1,0)) cat2 , SUM(1) total FROM master m LEFT JOIN scores... .
Yes, basically you want to code a pivot table.
Hi, I have setup the following jQuery UI Dialog within my document.ready() section, i.e: $("#dialog").dialog({ autoOpen: false, bgiframe: true, resizable: false, modal: true, buttons: { 'Ok': function() { $(this).dialog("close"); } } }); 1) My question...
Started by on , 3 posts by 3 people.  
If you want the dialog appear only when that condition is met, you should set the autoOpen option to false , later in your code, after you increment your counter variable, you should check its value and show it if the counter has the particular value... .
I can log all the mysql queries by enabling the general log. But it does not show the failed queries. Is there a way to save failed queries as well?
Started by on , 3 posts by 3 people.  
There is....
You can log ALL queries by setting the sql_log_off variable to 0 (you should have super privilegies) or you can log failed queries by PHP : function sql_query($data) { $sql = mysql_query($data failed queries.
What is actually better? Having classes with complex queries responsible to load for instance nested objects? Or classes with simple queries responsible to load simple objects? With complex queries you have to go less to database but the class will have...
Started by on , 4 posts by 4 people.  
This is a key determinant in what you should do because if you can only execute up systems with awful performance due in large part to doing separate queries (particularly correlated queries) instead of joins....
queries in parallel.
What would be the best way to trouble shoot thousands of sql queries everyday? Trouble shooting might includes finding the blocked queries, improving performance of query, Queries that are hogging maximum processing time.
Started by on , 4 posts by 4 people.  
That way.
If queries are being generated ad hoc, then maybe providing some useful, debugged queries for users to select from.
Then maybe drilling down into the most proliferate queries causing the problem.
There are any query/way to show the last queries executed on ALL the server?
Started by on , 4 posts by 4 people.  
Additionally.
Generally you don't log all SELECT queries on a production server though /var/log/mysql/mysql.log Hey presto, you can watch the queries as they come in.
For that sort of diagnostic.
I want to execute a list of queries against an Access database using DAO. The "Database.Execute()" method seems suited for this with the remark that it can only execute "action queries", that is queries which don't return a result set ( MSDN reference...
Started by on , 6 posts by 6 people.  
But do you really want to execute....
Are select queries All INSERT , UPDATE , DELETE are action queries You just have to inspect.
FROM ...
So: All queries that execute a SELECT ...
This information applies to the type of the query.
Page: 1   2   3   4   5   6   7   8   9   10  
Related Searches
queries    filter with select query query acessdatasource    query string    Query scroll    microsoft query    bcp query    What is a query    sql queries    query combobox subform    bcp dump query   
More Information


Forum Search About Omgili Help Plugins Forum/Board Owners Privacy

i
In Title
In Topic
In Reply
Exclude
Boost