User Profile

Collapse

Profile Sidebar

Collapse
Michele
Michele
Last Activity: Apr 5 '07, 08:54 PM
Joined: Mar 22 '07
Location: Boston
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Michele
    replied to Split functionality
    Hi Kamaleshwari,

    You are getting good advice about data normalization, etc.

    I run into this problem sometimes when I use other people's data and they don't always distribute it in the best data formats (and you end up stuck with what you have),

    If you are after a quick and dirty solution it may be easiest to reload the data into a new table using a LOAD DATA statement where you specify it is delimited...
    See more | Go to post

    Leave a comment:


  • Michele
    replied to Returning reference to vector from function
    in C
    Thanks!!! That is exactly what I was looking for. I was trying some version of that but I thought I had to cast the vector to return it as a constant. But as it compiles I see now that I don't!

    Thanks!
    Michele
    See more | Go to post

    Leave a comment:


  • Michele
    replied to How to Select Average Values
    Hi,

    If I'm understanding this right, I think you might get into trouble joining the two tables on doc ID because you have a many to one relationship (e.g. Doc1 is listed two times in the second table) and that's going to screw up your aggregations.

    What you want to do is aggregate table 1 and then aggregate table 2 and then join the results. The easiest way to do this is by creating two intermediate tables and then...
    See more | Go to post

    Leave a comment:


  • Michele
    started a topic Returning reference to vector from function
    in C

    Returning reference to vector from function

    Hello:

    What is the syntax for returning a reference to a vector from a function? I have a private vector and I want to return it using a public get function (like in the code below), but I believe that what I have will make a copy of the vector, and my real vector is several hundred bytes. Do I have to cast it as a constant? What is the syntax for that (or where does one look)?

    Sorry if these are basic questions -...
    See more | Go to post
    Last edited by sicarie; Mar 22 '07, 07:04 PM. Reason: Added [code] and [/code] tags.
No activity results to display
Show More
Working...