Services & Resources / Wolfram Forums
-----
 /
MathGroup Archive
2005
*January
*February
*March
*April
*May
*June
*July
*August
*September
*October
*November
*December
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2005

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: SQLSelect

  • To: mathgroup at smc.vnet.net
  • Subject: [mg55069] Re: [mg54969] SQLSelect
  • From: Clifford Martin <camartin at snet.net>
  • Date: Fri, 11 Mar 2005 04:20:45 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

Use Flatten, for example,

dink={{0.999868,0.987828,0.951328,0.90613,0.862886,0.82128,0.781856,0.744311,0.70
838,0.674327,0.642043,0.61137,0.555677,0.483173,0.3859,0.312069,0.254546}}

frip=Flatten[dink];
frip ={0.999868, 0.987828, 0.951328, 0.90613,
0.862886, 0.82128, 0.781856, \
0.744311, 586.6, 0.674327, 0.642043, 0.61137,
0.555677, 0.483173, 0.3859, \
0.312069, 0.254546}

One set of brackets.

Cliff

--- "Roberts, Glenn (Treasury)"
<GlennRoberts at hbosts.com> wrote:
> just a small problem with SQLSelect I am
> experiencing that i would
> appriciate help with please
> 
> I am using SQLSelect to call some data from a
> database and it is returning;
> 
>
{{0.999868,0.987828,0.951328,0.90613,0.862886,0.82128,0.781856,0.744311,0.70
>
838,0.674327,0.642043,0.61137,0.555677,0.483173,0.3859,0.312069,0.254546}}
> 
> I would like to have this just a straight list;
> 
>
{0.999868,0.987828,0.951328,0.90613,0.862886,0.82128,0.781856,0.744311,0.708
>
38,0.674327,0.642043,0.61137,0.555677,0.483173,0.3859,0.312069,0.254546}
> 
> - how do i get rid of the extra brackets please
> 
> thanks - glenn
> 
> "MMS <hbosplc.com>" made the following annotations.
>
------------------------------------------------------------------------------
> For more information on HBOS Treasury Services,
> please visit http://www.HBOSTS.com
> 
> Or for details of our online FX & Deposit services,
> please go to http://www.HBOSdeal.com
> 
> HBOS Treasury Services plc is part of the HBOS
> Group, which also includes Halifax plc and Bank of
> Scotland.
> Registered Office: 33 Old Broad Street, London EC2N
> 1HZ. Registered No. 2692890. Registered in England.
> Authorised and regulated by the Financial Services
> Authority.
> 
> The information contained in this message is
> confidential and is intended for the addressee only.
> If you have received this message in error or there
> are any problems please notify the originator
> immediately. The unauthorised use, disclosure,
> copying or alteration of this message is strictly
> forbidden. This mail and any attachments have been
> scanned for viruses prior to leaving the HBOS
> Treasury Services plc network. HBOS Treasury
> Services plc will not be liable for direct, special,
> indirect or consequential damages arising from
> alteration of the contents of this message by a
> third party or as a result of any virus being passed
> on.
> 
> HBOS Treasury Services plc reserves the right to
> monitor and record e-mail messages sent to and from
> this address for the purposes of investigating or
> detecting any unauthorised use of its system and
> ensuring its effective operation.
>
==============================================================================
> 
> 


  • Prev by Date: Re: Determinant problem
  • Next by Date: LUDecomposition
  • Previous by thread: Re: SQLSelect
  • Next by thread: Table function