Results 1 to 4 of 4

Thread: reading from a table

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    140

    reading from a table

    hi !!
    i have a database name as tempdb
    in which the data is

    TIMESTAMP,Sun,Nov,24,21:15:23,2002
    a,b,c,d
    e,f,g,h
    TIMESTAMP,Sun,Nov,24,21:16:23,2002
    i,j,k,l
    m,n,o,p

    this is a log file generated......and has thousands of records in it.
    So i need this data to be inserted in another database
    w.r.t the time as it is generated after ONE minute for eg:

    a,b,c,d,24Nov,21:15:23
    e,f,g,h,24Nov,21:15:23
    i,j,k,l,24Nov,21:16:23
    m,n,o,p,24Nov,21:15:23

    So the problem is how do i Pick the records (Time) from the tempdb and insert into a different Database.

    pls help
    hope i was clear enough
    waitin replies

  2. #2
    Lively Member da_haCKEr's Avatar
    Join Date
    Oct 2002
    Location
    Paradise Isle of Sri Lanka
    Posts
    116

    Cool I'm not sure

    What are the fields in this tempdb ?. I don't think all that data would be stored in just one field per record !!. If you know the field which contain the time, you can write a SQL statement or just filter the recordset using the filter method and write them out to another table.

    Pls tell me If I need to be more descriptive
    .:JanuZ:.
    .:JanuZ:.XtremeSoft


  3. #3

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    140

    reading from table

    hi
    thanx for your time
    I am importing a text file in to my database
    as i import the data also contains null value
    so after i import i have to pick data according to the time and day to insert into a new database
    You can see the following file i am importing to a temp database and that data i need to store in final db w.r.t to the Time.

    pls help
    Any help is usefull for me.....

    ________________________
    Attached Files Attached Files

  4. #4

    Thread Starter
    Addicted Member
    Join Date
    Oct 2002
    Posts
    140
    pls see this file which contains the temp data
    Attached Files Attached Files

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width