Re: SELECT statement crashes server
2005-01-14 10:00:30
We use the following select with no problems.
AIX 5.1
TSM 5.2.2.4
select volume_name,stgpool_name,pct_reclaim,est_capacity_mb from volumes where
pct_reclaim >= 50 order by stgpool_name
Andy Huebner
-----Original Message-----
From: ADSM: Dist Stor Manager [mailto:ADSM-L AT VM.MARIST DOT EDU] On Behalf
Of Warren, Matthew (Retail)
Sent: Friday, January 14, 2005 8:35 AM
To: ADSM-L AT VM.MARIST DOT EDU
Subject: [ADSM-L] SELECT statement crashes server
Hallo *SM'ers
AIX 5.2.0.0
TSM server 5.2.2.3
I have discovered a select command that will crash our server instantly
every time..
Could anyone confirm they get the same behaviour, or that it's just a
quirk of our site.
I originally tried this;
>select volume_name,pct_reclaim from (select * from volumes where
stgpool_name='UKS_NORM_PRIM') where pct_reclaim=>90
But TSM complains about the first '(' being an invalid token... It
shouldn't be.
So, after confirming and doing succesfull sub-selects in other select
commands, I thought it may have something to do with the '>' being the
redirect symbol. So I wrapped part of the command in double-quotes
When I try this command;
>select "volume_name,pct_reclaim from ( select * from volumes where
stgpool_name='UKS_NORM_PRIM') where pct_reclaim=>90"
The server instantly falls over.....
Can anyone else repeat this? I have tried a couple of very simple select
commands with double quotes around them (none using '>' as yet) and
only the above select command has made the TSM server fall over so far..
but my testing is far from comprehensive as yet.
Have Fun!
Thanks,
Matt.
_-'-_
-|-
___________________________ Disclaimer Notice __________________________
This message and any attachments are confidential and should only be read by
those to whom they are addressed. If you are not the intended recipient, please
contact us, delete the message from your computer and destroy any copies. Any
distribution or copying without our prior permission is prohibited.
Internet communications are not always secure and therefore Powergen Retail
Limited does not accept legal responsibility for this message. The recipient is
responsible for verifying its authenticity before acting on the contents. Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Powergen Retail Limited.
Registered addresses:
Powergen Retail Limited, Westwood Way, Westwood Business Park, Coventry, CV4
8LG.
Registered in England and Wales No: 3407430
Telephone +44 (0) 2476 42 4000
Fax +44 (0) 2476 42 5432
This e-mail (including any attachments) is confidential and may be legally
privileged. If you are not an intended recipient or an authorized
representative of an intended recipient, you are prohibited from using, copying
or distributing the information in this e-mail or its attachments. If you have
received this e-mail in error, please notify the sender immediately by return
e-mail and delete all copies of this message and any attachments.
Thank you.
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- SELECT statement crashes server, Warren, Matthew (Retail)
- Re: SELECT statement crashes server, Warren, Matthew (Retail)
- Re: SELECT statement crashes server,
Andy Huebner <=
- Re: SELECT statement crashes server, Killam, Perpetua
- Re: SELECT statement crashes server, Warren, Matthew (Retail)
- Re: SELECT statement crashes server, Warren, Matthew (Retail)
- Re: SELECT statement crashes server, Warren, Matthew (Retail)
- Re: SELECT statement crashes server, Warren, Matthew (Retail)
|
|
|