Forum Replies Created

Viewing 15 posts - 31 through 45 (of 101 total)

  • RE: Filtering date time by each hour of each day.

    im sorry if i wasnt clear.

    Here are actuals records.

    26,4069Caudal20-05-2010 1:02:12

    26,5306Caudal20-05-2010 1:07:13

    26,8398Caudal20-05-2010 1:12:16

    26,8398Caudal20-05-2010 1:17:18

    26,9017Caudal20-05-2010 1:22:21

    27,1490Caudal20-05-2010 1:27:23

    26,9635Caudal20-05-2010 1:32:30

    27,1490Caudal20-05-2010 1:37:32

    27,0872Caudal20-05-2010 1:42:31

    26,9635Caudal20-05-2010 1:47:33

    26,9017Caudal20-05-2010 1:52:35

    27,0872Caudal20-05-2010 1:57:38

    27,0254Caudal20-05-2010 2:02:41

    26,8398Caudal20-05-2010 2:07:45

    27,0254Caudal20-05-2010 2:12:46

    26,7780Caudal20-05-2010 2:17:52

    26,8398Caudal20-05-2010 2:22:53

    26,5925Caudal20-05-2010 2:32:56

    27,1490Caudal20-05-2010 2:32:57

    26,8398Caudal20-05-2010 2:37:58

    26,3451Caudal20-05-2010 2:43:05

    26,8398Caudal20-05-2010...

  • RE: '-' in sql server

    solved thanks!

  • RE: '-' in sql server

    PaulB-TheOneAndOnly (4/14/2010)


    Most probably you want to shows us the full statement as well as the full error, don't you? 🙂

    statement

    INSERT INTO srv-dev.labmger.dbo.analysis

    SELECT *

    FROM hades.labmger.dbo.analysis

    error

    Mens. 102, Level 15, State 1, Line...

  • RE: Select !!

    Steve Jones - Editor (4/13/2010)


    You should post the code you're running, some sample data, and where the dups are occuring.

    I might change the "in" to an = as well

    select *...

  • RE: Select !!

    ps. (4/13/2010)


    igngua (4/13/2010)


    Hi Guys!

    scenario;

    col1 col2

    ID1 datetime1

    ID1 datetime2

    ID2 datetime3

    ID2...

  • RE: Select !!

    Steve Jones - Editor (4/13/2010)


    Or just a

    select top 1

    max(date), col1, col2, col3

    from mytable

    group by col1, col2, col3

    that´s the first thing a tried but it didn´t work...

  • RE: Select !!

    ps. (4/13/2010)


    igngua (4/13/2010)


    Hi Guys!

    scenario;

    col1 col2

    ID1 datetime1

    ID1 datetime2

    ID2 datetime3

    ID2...

  • RE: Trouble with join

    Thanks you all!

    it worked!

  • RE: Trouble with join

    thanks!!

    it worked!

    select t1.cotnum, t1.codaux,

    t2.cotnum, t2.codaux

    from hermes.lab0708.softland.nwcotiza t1

    left join softlandsoporte2.softland.nwcotiza t2 on t1.cotnum = t2.cotnum

    where t2.cotnum is null

    Now i´ve to update T2 with all the columns from 1 not...

  • RE: Trouble with join

    CirquedeSQLeil (3/22/2010)


    Looks fine to me. Is it not producing the desired results?

    HI!

    Im not getting the results i want.

    t2 has less data than t1 and i´m getting no data.

    select...

  • RE: Transaction log of a database

    Ok!

    I need to know where can i look for the specific date when data changes gets comitted on a table.

    thank guys!

  • RE: Update column

    it workerd just fine.

    thanks to everyone.

  • RE: Update column

    Dave Ballantyne (12/30/2009)


    Im guessing here...

    Update yourtable set c3 = c3+' dont use'

    Is that what you mean ?

    Yes, but i need to do that for every record in the column.

  • RE: Update column

    ok.

    table A (original)

    c1 c2 c3

    a 1 a1

    b 2 ...

  • RE: insert multiple data from one table to another

    thanks!!!

Viewing 15 posts - 31 through 45 (of 101 total)