On 7/20/2010 10:07 AM, Chris W wrote:
I try to avoid asking why but in this case I have to. I can't imagine
wanting to have a list of numbers displayed and not have them all
aligned right with the sane number of digits after the decimal
point. So why would you even want to do this is?
On 7/19/2010 11:08 AM, Shawn Green (MySQL) wrote:
Just because someone hands you a set of data to *start* with, does not
mean that you must only use that data to *work* with.
You should be able create additional tables derived from the original
data and work with those as part of your analysis
On 7/19/2010 10:48 AM, Michael Dykman wrote:
Not quite sure what the question is.
from:
mysql> select * from table where id='1';
+---+-+-+---+
| 1 | 123 | 0.0 | C |
| 1 | 234 | 0.1 | D |
| 1 | 345 | 0.0 | D |
| 1 | 456 | 0.1 | C |
| 1 | 567 | 0.1 | G |
+
I may be going at this completely wrong but at the moment I'm
stuck. I have a DB from a client and need to do several searches on
it. This one sentence is important because it's their DB, not mine. So
I can't modify the way the DB was created in the first place, I can only
work with wh
mysql> select 1+1.0;
+---+
| 1+1.0 |
+---+
| 2.0 |
+---+
1 row in set (0.00 sec)
mysql> select 1+1.1;
+---+
| 1+1.1 |
+---+
| 2.1 |
+---+
1 row in set (0.00 sec)
Is there a way to tell MySql to only return '2' in the first select as
opposed to
Huh? That doesn't make a whole lot of sense. If that is the case, can you
explain why? Is the stored procedure mechanism that primitive?
From: Ted Yu [mailto:yuzhih...@gmail.com]
Sent: Saturday, May 01, 2010 7:11 AM
To: Ashley M. Kirchner
Subject: Re: [MySQL] Re: Variables in s
> -Original Message-
> From: Shawn Green [mailto:shawn.l.gr...@oracle.com]
> Sent: Friday, April 30, 2010 9:49 PM
> To: Ashley M. Kirchner
> Cc: mysql@lists.mysql.com
> Subject: [MySQL] Re: Variables in stored procedures
>
> Two options
>
> 1) u
I have the following procedure:
--
CREATE PROCEDURE `geodistance`(IN userid int, IN maxdist int)
begin
declare userlng double;
declare userlat double;
declare lng1 float;
declare lng2 float;
declare lat1 float;
declare lat2 float;
select lng, lat into userlng, userla
There are many ways to skin this cat ...
--
H | It's not a bug - it's an undocumented feature.
+--------
Ashley M. Kirchner <mailto:ash...@pcraft.com> . 303.442.6410 x130
IT Director / SysAdmin
I'm stuck again ... and perhaps it's just not designed right, but I
inherited this setup, so if anyone has suggestions on how to make it better,
I'm all ears. This is all one table ...
describe approvals;
+---+--+--+-+-++
| Field
Hi folks,
I'm trying to, possibly do the impossible here. I have to select data from
4 different tables to come up with the right information and I'm having one
heck of time trying to figure it out. This is going to be a long email ...
Table_1:
+---+--+--+---
Michael Dykman wrote:
It
worked fine as you wrote it on my v5.0.45, although it reported 2 rows
affected on each subsequent run of the insert statement. I thought
this odd as I only ran the same statement repeatedly leaving me with
one row ever, but the value updated just fine.
I noticed
Anyone?
I'm trying to diagnose this and not having much luck. I can't even
figure out where to even begin to look. I have two MySQL servers and
getting different results for the same query on both:
SERVER 1:
mysqladmin Ver 8.41 Distrib 5.0.37, for pc-linux-gnu on i686
S
I'm trying to diagnose this and not having much luck. I can't even
figure out where to even begin to look. I have two MySQL servers and
getting different results for the same query on both:
SERVER 1:
mysqladmin Ver 8.41 Distrib 5.0.37, for pc-linux-gnu on i686
SERVER 2:
undocumented feature.
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Imaging . 3550 Arapahoe Ave. #6
http://www.pcraft.com . . .
[EMAIL PROTECTED] wrote:
Please remove me from this list or tell me how I can do this procedure...
Thanks...
Have you noticed what the footer of each message says?
MySQL General Mailing List
For list archives: http://lists.mysql.com/mysql
To unsubscribe:
http://lists.my
's an undocumented feature.
+----
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Imaging . 3
I have a query that's failing and I can't figure it, I can't read the
log file.
Suggestions anyone?
--
W | It's not a bug - it's an undocumented feature.
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTE
x27;s an undocumented feature.
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Imaging . 3550 Arap
This is a continuation of something I started with a few weeks ago.
So, here's the previous information again:
table: data
++---+--+-+---++
| Field | Type | Null | Key | Default |
Ex
(or NULL) or not. The graphing program will do the
rest.
--
W | It's not a bug - it's an undocumented feature.
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / W
undocumented feature.
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Imaging . 3550 Arapahoe Ave.
--
W | It's not a bug - it's an undocumented feature.
+------------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Imaging . 3550 Arapahoe A
Chris Comparini wrote:
Try something like this:
select hour(time) as the_hour, avg(temp_f) as average_temp_f
from data
where time > now() - interval 24 hour
group by the_hour;
Thanks Chris. Question though, why is it that when I change that to
48 hours, it only gives me 24 results (s
Hi All,
I have a table that's described as follows:
++---+--+-+---++
| Field | Type | Null | Key | Default |
Extra |
++---+--+-+-
Anyone else having trouble getting to either sites?
--
W | It's not a bug - it's an undocumented feature.
+----
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / Sys
Mike Blezien wrote:
is the list still working ?
Would you believe me if I said, "No."?
--
W | It's not a bug - it's an undocumented feature.
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]>
n
doing a dump of the data? (Note the difference, one will copy files,
the other dumps the data for backup.)
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+--------
Ashley M. Kirchner. 303.442.64
up on tape somewhere.
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Imaging . 3550 Arapahoe Ave.
uot; of the newer version.
--
H | I haven't lost my mind; it's backed up on tape somewhere.
+------------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith .
mind; it's backed up on tape somewhere.
+------------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Imaging .
ven't lost my mind; it's backed up on tape somewhere.
+------------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3
aven't lost my mind; it's backed up on tape somewhere.
+------------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Laboratorie
I haven't lost my mind; it's backed up on tape somewhere.
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Pho
;t lost my mind; it's backed up on tape somewhere.
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Laboratories,
So, if today being 2004-05-16,
-> I want to select all entries dated 2003-05-16
-> And I also want entries dated between 2003-05-16 and 2003-05-23
--
H| I haven't lost my mind; it's backed up on tape somewhere.
+------
d; it's backed up on tape somewhere.
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Laboratories, Inc..
contents, you would've quickly found out which sections
specifically you needed to read - it's very short and can be done within
10 minutes.
--
H| I haven't lost my mind; it's backed up on tape somewhere.
+-------
;s backed up on tape somewhere.
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6
http://www.pcraft.com . . .. Boul
#x27;s backed up on tape somewhere.
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873 x130
Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave. #6
http://www.pcraft.com . . ..
o your sql result (say ##END##) and
have the perl program check for that string. Once found, it knows the sql
command has finished.
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+--------
Ashley
g without an eraser." - John Gardner
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
Director of Internet Operations / SysAdmin. 800.441.3873 x130
Photo Craft Laboratories, Inc..
ng really. (though
I tend to put 'screwed with by' whenever I change something )
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+--------
Ashley M. Kirchner <mailto:[EMAI
.23.52-1
MySQL-devel-3.23.52-1
[root@serpico ~]#
--
H | "Life is the art of drawing without an eraser." - John Gardner
+------------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
Director
show databases;
--
H | "Life is the art of drawing without an eraser." - John Gardner
+------------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
Director of Internet Operations / SysAdmin. 8
of blindly quoting the whole thing back to
the list. That generates quite a bit of traffic and doesn't make you any better than
the spammers themselves.
--
H | "Life is the art of drawing without an eraser." - John Gardner
+------
h as
> research reports, public filings or computer databases and information
> provided by management of the profiled company.
--
H | "Life is the art of drawing without an eraser." - John Gardner
+--------
Ashley M. Ki
ng to stop a user from entering -00-00? You'll have to create
validation schemes in your code.
--
H | "Life is the art of drawing without an eraser." - John Gardner
+
Ashley M. Kirchner <mailto:[EM
-
H | "Life is the art of drawing without an eraser." - John Gardner
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
Director of Internet Operations / SysAdmin. 800.441.3873 x130
ife is the art of drawing without an eraser." - John Gardner
+--------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
Director of Internet Operations / SysAdmin. 800.441.3873 x130
Photo
subject, does BDB tables provide the same type of
locking that Gemini does? Is there any reason to favor Gemini over BDB?
--
H | "Life is the art of drawing without an eraser." - John Gardner
+--------
Ashley M
start the second
process (which should re-check for existing information, and not blindly
issue another INSERT right after the first one).
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+--------
Ashley M. Kir
installed.
You need those for MySQL. And they are not part of gcc.
Look for the termcap, libtermcap and ncurses rpms and install those.
--
H | "Life is the art of drawing without an eraser." - John Gardner
+------------
Ashl
l daemon 3 Sep 21 14:33 gems.pid
drwx--2 sql daemon 4096 Oct 4 14:25 mysql/
srwxrwxrwx1 sql daemon 0 Sep 21 14:33 mysql.sock=
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+-
ow?
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+----
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
IT Director / SysAdmin / WebSmith . 800.441.3873
Philip Daggett wrote:
> Is anybody else not able to get onto mysql.com???
Looks like, it'd be down...
--
W | I haven't lost my mind; it's backed up on tape somewhere.
+--------
Ashley M. Kirchner <ma
ge. BP!
+----
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
Director of Internet Operations / SysAdmin. 800.441.3873 x130
Photo Craft Laboratories, Inc.. 3550 Arapahoe Ave, #6
http://www.pcraft.com . . .
This was sent to me, and it should've gone to the list instead.
Original Message
Subject: Re: message traffic
Date: Fri, 29 Jun 2001 11:17:57 -0700
From: "Michael Tam" <[EMAIL PROTECTED]>
To: "Ashley M. Kirchner" <[EMAIL PROTECT
ind. Please leave a message. BP!
+------------
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
Director of Internet Operations / SysAdmin. 800.441.3873 x130
Photo Craft Laboratories, Inc..
mind. Please leave a message. BP!
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
Director of Internet Operations / SysAdmin. 800.441.3873 x130
Photo Craft Laboratories, Inc.
in fact)...
--
H | Hi, I'm currently out of my mind. Please leave a message. BP!
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> .
I haven't lost my mind; it's backed up on tape somewhere.
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Laborato
p://www.mysql.com/doc/R/e/Reserved_words.html
--
H | Hi, I'm currently out of my mind. Please leave a message. BP!
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PR
7;t lost my mind; it's backed up on tape somewhere.
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
SysAdmin / Websmith
.
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|________
~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
SysAdmin / Websmith .
've
checked other resources online, and I'm still lost.
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|____________
~~~
nstead of NULLs. Thanks!
AMK4
--
H | Hi, I'm currently out of my mind. Please leave a message. BP!
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PRO
ing data in it?
--
H | Hi, I'm currently out of my mind. Please leave a message. BP!
|________
~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
UNT() in it instead?
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|
~~~~~~~~~
Ashley M. Kirchner <ma
UNT() in it instead?
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|
~~~~~~~~~
Ashley M. Kirchner <ma
any) did you come up with?
AMK4
--
H | Hi, I'm currently out of my mind. Please leave a message. BP!
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PR
Please leave a message. BP!
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
Director of Internet Operations / SysAdmin. 800.441.3873 x130
Photo Craft Laboratories, Inc. .eFax 248.671.0909
http://www.pcraft.com
nload BDB v3.2.9a from www.mysql.com
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL
backed up on tape somewhere.
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Laboratories, Inc. .eFax 248.671.0909
http://www.pcraft.com
.
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 3
lf, instead of using RedHat's rpms)
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|
~~~~~~~~~
Ashley M. Kirc
r two."
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]&g
.
Better free up some space on that drive.
AMK4
--
W |
| I haven't lost my mind; it's backed up on tape somewhere.
|____________
~~~
d; it's backed up on tape somewhere.
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
SysAdmin / Websmith . 800.441.3873 x130
Photo Craf
he system without messing with the original distribution's
version.
AMK4
--
H | Hi, I'm currently out of my mind. Please leave a message. BP!
|
~~~~~
d; it's backed up on tape somewhere.
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
SysAdmin / Websmith
ought 'g' came before
'h'...someone please tell me I'm wrong?
AMK4
--
H | Hi, I'm currently out of my mind. Please leave a message. BP!
|
~~~~~
p on tape somewhere.
|
~~~~~~~~~
Ashley M. Kirchner <mailto:[EMAIL PROTECTED]> . 303.442.6410 x130
SysAdmin / Websmith . 800.441.3873 x130
Photo Craft Laboratories, Inc.
83 matches
Mail list logo