not all the rows, only the distinct q_id,
The subquery will give all distinct q_ids, but the select from in(subquery)
will give everything, because each row must have a q_id which is returned by
the subquery. The query after all says select all rows where the q_id is one
of the q_ids occuring
You cannot do this. A sql result alwas has the same number of columns in each
row. You could have null or in the column, though. This could be done via
the if(,,)-statement of mysql or by using a union and two selects, one for
pub_email=n and the other for the rest.
Gesendet: Dienstag, 05.
alternative if
one is available. If none are available, you might have to consider a
mutex.
- michael dykman
On Mon, Nov 5, 2012 at 9:28 AM, Stefan Kuhn stef...@web.de wrote:
Hi Dan,
thanks for your answer. The UDF only contains functions (the one called
in sql plus two functions
Hi Dan,
thanks for your answer. The UDF only contains functions (the one called in sql
plus two functions called in it). There are no variables outside them and
nothing is declared static. All variables inside the functions are declared
just like double x=0; etc. I am not an expert on C, but
On Monday 05 November 2012 18:02:28 h...@tbbs.net wrote:
2012/11/04 22:23 +, Stefan Kuhn
select * from table order by udf(column, 'input_value') desc;
For my understanding, this should give the same result always.
But if for your data function udf returns the same for more arguments
Hi all,
I have a weired (for me at least) problem with a user defined function,
written in C. The function seems to return different results in different
runs (the code of the function does not contain random elements). Basically,
the function calculates a score based on a column in a table and
to in the process of sorting.. keeping that
static instead of dynamic might sanitize your issue.
On 2012-11-04 4:24 PM, Stefan Kuhn stef...@web.de wrote:
Hi all,
I have a weired (for me at least) problem with a user defined function,
written in C. The function seems to return different results
.
On Thursday, October 18, 2012, Stefan Kuhn wrote:
Hi everybody,
I want to get insert statements from a mysql database for a number of
rows of
a table, specified by a where clause. I also need the inserts for the
datasets linked via foreign keys in other tables. So I need a sort of
partial
Hi everybody,
I want to get insert statements from a mysql database for a number of rows of
a table, specified by a where clause. I also need the inserts for the
datasets linked via foreign keys in other tables. So I need a sort of partial
dump, a bit like mysqldump, but restricted to a (small)
On Saturday 14 April 2012 09:51:11 Willy Mularto wrote:
Hi,
Please help what is wrong with this simple query SELECT COUNT(key_agent)
total FROM agents_consolidated WHERE total = 180 Thanks.
You need to use having instead of where, see the documentation.
Stefan
Willy Mularto
F300HD+MR18DE
into - but in a view?
It would need to be done in one query, if I understood it right.
Anybody an idea?
Thanks,
Stefan
--
Stefan Kuhn BSc MA
IPB Halle
AG Bioinformatik Massenspektrometrie
Weinberg 3
06120 Halle
http://www.ipb-halle.de http://msbi.bic-gh.de
[EMAIL PROTECTED] +49 (0) 345 5582 1474 Fax.+49 (0) 345
| a|
|1 | b|
|2 | c|
|2 | d|
+--+--+
4 rows in set (0.00 sec)
- Original Message -
From: Rolando Edwards [EMAIL PROTECTED]
To: Stefan Kuhn [EMAIL PROTECTED]
Cc: MySQL mysql@lists.mysql.com
Sent: Monday, July 16, 2007 9:44:48 AM (GMT-0500) America
process
from the DB2 corporate days ... but I just cannot wrap my head around
it. Anybody have any ideas, please?
Make a good day ...
... barn
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Z
wrap my head around it.
Anybody have any ideas, please?
Make a good day ...
... barn
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470
Am Thursday 27 October 2005 12:56 schrieb Raphaël 'SurcouF' Bordet:
Le vendredi 16 septembre 2005 à 18:14 +0200, Stefan Kuhn a écrit :
I'm using it with four machines (geographically separate) and it works
fine. Stefan
And can writes on each server in simultaneous time ?
I don't understand
! FareChase: Search multiple travel sites in one click.
http://farechase.yahoo.com
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-7786
My public PGP key is available
applications and the way they write/update the db. Just wondering if
anyone has had success or problems with this type of situation.
Thanks,
Jeff
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428
-connector-java-3.1.7, Java 1.4.2. I did not find anything about how to
resolve this and also not a real explanation what the error means.
Any ideas?
Thanks,
Stefan
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel
queries (see your mysql server error
log)
Nothing in the log
-Mark
--
Mark Matthews
MySQL AB, Software Development Manager - Connectivity
www.mysql.com
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel
there are tools reading from a (mysql) db and writing to another
(mssql) database via a programming language. But conversion of database
files? I don't think this exists.
Stefan
Thank you
Andrew
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de
-to-many relation two
tables make sense, but then your FK can't be unique.
Stefan
Am Wednesday 15 June 2005 12:41 schrieb Asad Habib:
As a follow up to my question, I did want to mention that the foreign key
I am using is unique.
- Asad
--
Stefan Kuhn M. A.
Cologne University BioInformatics
me why this is happening?
Thanks for your advice
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zlpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-7786
My public PGP key is available at http://pgp.mit.edu
--
MySQL
order.
I'm using MySQL 4.1.11 on windows XP, if it matters.
Thanks.
Micha.
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-7786
My public PGP key is available at http
do I translate this into mysql tables?
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-7786
My public PGP key is available at http://pgp.mit.edu
--
MySQL General Mailing
indexes as suggested, does your performance
improve?
Erm, do you think it would? Its just that with such a large table and it
being compressed it takes ages?
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zlpicher Str. 47, 50674 Cologne
Tel: +49(0
--quick option in mysqldump
Thanks
Anil
DBA
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-7786
My public PGP key is available at http://pgp.mit.edu
--
MySQL General
AND klientslowa.klientslowoid=
klientslowo.klientslowoid
can anyone help me with this?
with best regards
Darek
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zlpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-7786
My public PGP key
Am Thursday 23 September 2004 13:22 schrieb Stefan Kuhn:
This is probably due to having indexed only single columns. MySQL uses only
one index per column, meaning if you have a where with two conditions you
Sorry, this should read one index per table...
need a combined index for the columns
?
Eamon Daly
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-7786
My public PGP key is available at http://pgp.mit.edu
--
MySQL
the computer.
I know I must be doing something wrong. I figure I'll need to do a left
join on it, but I've not had much experience with joins as such and I
need a little assistance.
Can anyone help me work this out? If you need more info, let me know.
Ed
--
Stefan Kuhn M. A.
Cologne University
that any copying, disclosing,
distributing, or use of this e-mail and/or attachment is strictly
prohibited. If you received this transmission in error please notify the
sender immediately and delete the message and all attachments.
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center
packages.
What is the best way to get this installed?
TIA
Larry Lowry
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-7786
My public PGP key is available at http
-- Weitergeleitete Nachricht --
Subject: Re: Another Performance query
Date: Mon, 22 Mar 2004 16:13:29 +0100
From: Stefan Kuhn [EMAIL PROTECTED]
To: A Z [EMAIL PROTECTED]
Indices can never be used with like %x (but with like x%). This question
won't use indeces, neither
|
+---++
| 1 | 1,2,3 |
| 2 | 1,2|
| 3 | 1 |
+---++
Based on a group by or something...
A +
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428
,
Stefan
Am Friday 05 March 2004 19:23 schrieb Sasha Pachev:
Stefan Kuhn wrote:
Hi everybody,
I have three mysql servers doing a circular replication. They (still) run
Redhat 7.3. I started with Mysql 3.23, upgraded to 4 and yesterday I
tried 4.1. I'm using official mysql rpms. Now
: The two servers able to replicate are in the same network,
the one which makes trouble is in another, firewall protected network. Port
3306 is open in both firewalls and it always worked.
Does anybody have any tips? Thanks a lot (I'm really desparate)
Stefan
--
Stefan Kuhn M. A.
Cologne
increment, timestamp ...) and, secondly, an order by in your select. No
chance without these.
thanks in advance,
-Lorderon
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zlpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221
Database: 350 - Release Date: 1/2/04
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zlpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-7786
My public PGP key is available at http://pgp.mit.edu
--
MySQL General Mailing List
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zlpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-7786
My public PGP key is available at http://pgp.mit.edu
--
MySQL General Mailing List
For list archives: http://lists.mysql.com
Am Friday 09 January 2004 17:57 schrieb Stefan Kuhn:
Am Friday 09 January 2004 17:22 schrieb Hunter, Jess:
Could someone have a look at this syntax and give me some guidance what I
may be overlooking?
SELECT * from $TableName WHERE machinename != 'FIND_ME' OR machinename !=
'OPEN
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.mysql.com/[EMAIL PROTECTED]
__
Do you Yahoo!?
New Yahoo! Photos - easier uploading and sharing.
http://photos.yahoo.com/
--
Stefan Kuhn M. A.
Cologne University BioInformatics
PROTECTED]
_
MSN. Más Útil Cada Día http://www.msn.es/intmap/
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470
.
***
**
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-7786
My public PGP key is available at http://pgp.mit.edu
--
MySQL General
be that the files are spread all over the
computer and hard to find. But basically, it is the same with oracle (but I
never used oracle, this is common sense).
Stefan
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49
and there will never be same pks used on
different machines.
HTH
Stefan
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-7786
My public PGP key is available at http://pgp.mit.edu
(if that is possible) what
happens.
Thanks in advance.
Ale
__
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher
web site design software
http://sitebuilder.yahoo.com
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zülpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-7786
My public PGP key is available at http://pgp.mit.edu
.
Stefan
Am Tuesday 02 September 2003 13:20 schrieb Albert:
Stefan,
Do you imply that tables cannot be sorted desc or asc based on one of the
columns e.g. a last name? or am I misunderstanding you.
Albert
Atlanta
(anyone else in Atlanta?)
- Original Message -
From: Stefan Kuhn
is back,
obviously).
Does anybody have an idea how to establish such a replication in a fail-save
manner ?
Thanks,
Stefan
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zlpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470
SPECTRUM.REVIEW_FLAG =true group by count(*),MOLECULE_ID; but this
seems not possible.
Anybody any idea ? Thanks a lot
Stefan
--
Stefan Kuhn M. A.
Cologne University BioInformatics Center (http://www.cubic.uni-koeln.de)
Zlpicher Str. 47, 50674 Cologne
Tel: +49(0)221-470-7428 Fax: +49 (0) 221-470-5092
this either. Is there a
solution, i.e. is there a data type for text longer 256 chars and with
indexing in InnoDB ?
Thanks for your answers
Stefan
--
Stefan Kuhn M. A.
MPI of Chemical Ecology, Winzerlaer Str. 10, Beutenberg Campus, 07745
Jena, Germany
Tel: +49(0)3641 571261 - Fax: +49(0)3641
Hi everybody,
my humble excuse to all I bothered with that ... mysql type mediumblob is
working
perfectly, but there's another column in the tabel of type varchar
containing mostly the same values. So that's it
Stefan
P. S: I do the select first because I need the ID anyway.
Hi!
about how to solve this (I need the column to be
case-sensitive).
Many thanks
Stefan
--
Stefan Kuhn M. A.
MPI of Chemical Ecology, Winzerlaer Str. 10, Beutenberg Campus, 07745
Jena, Germany
Tel: +49(0)3641 571261 - Fax: +49(0)3641 571202
53 matches
Mail list logo