Forum Replies Created

Viewing 15 posts - 1 through 15 (of 23 total)

  • RE: Retrieve results from table with latest timestamp

    How do I delete one entry then?

  • RE: Stored Procedure with dates

    alright.. Let me create everything u said and then may be u can provide the solution.

  • RE: Stored Procedure with dates

    I have created a proc which gives the results on daily basis instead of weekly basis.. Will that be helpful??

  • RE: Stored Procedure with dates

    Sorry If I was not able to provide the correct details. I read the article. and will take care of this in future.

    but coming back to my original solution, can...

  • RE: Stored Procedure with dates

    hi,

    can anyone tell me how to do this?

  • RE: Stored Procedure with dates

    I have a similar kind of proc that produces the results for weekly instead of monthly. Can I share that? DO u think it would be helpful?

    Below is the result...

  • RE: Stored Procedure with dates

    These are the csv results:

    CHJUSDDN,App,LMA,2012-03-30 00:00:00.000,I/O,16.9,2012-05-25 18:31:29.323

    CDGDFGD545E,App,LMA,2012-04-03 00:00:00.000,MEMORY,0.22,2012-05-25 18:31:29.323

    CRFGFG12ZE,WEB,LMA,2012-04-30 00:00:00.000,ScanRate,0,2012-05-25 18:31:29.323

    CDFGDRFDGD,App,ESN,2012-05-12 00:00:00.000,RUNTIME,0,2012-05-25 18:31:29.323

    BGFGHJ676RF,SQL,LMA,2012-05-31 00:00:00.000,CPU,0.0426399999999989,2012-05-25 18:31:29.323

    HHJUI878DFE,DB,POR,2012-06-01 00:00:00.000,DiskSPACE,164.8,2012-05-25 18:31:29.323

    i NEED COUNTER_VAL IN 'MEMORY, I/O, CPU'

    INSERT DDL:

    INSERT INTO [EMDB].[dbo].[STG_CAP_HLI]

    ...

  • RE: Stored Procedure with dates

    create table st:

    CREATE TABLE [dbo].[STG_CAP_HLI](

    [HOST_NAME] [varchar](255) NOT NULL,

    [SERVER_ROLE] [varchar](255) NULL,

    [CHANNEL] [varchar](255) NULL,

    [DATE] [datetime] NOT NULL,

    [COUNTER_NAME] [varchar](255) NOT NULL,

    [COUNTER_VALUE] [float] NULL,

    [DATE_TIME_CREATED] [datetime] NULL

    ) ON [EMDB_FG01]

    GO

    SET ANSI_PADDING OFF

    GO

    ALTER TABLE [dbo].[STG_CAP_HLI] ADD ...

  • RE: SSIS package craetion

    I need to do it using SSIS only. I mean I have to copy the data.

  • RE: Working with dates

    Really sorry.. It was mistake at my side. Bt ur replying speed was much faster than fixing my mistake here.. It is working without any issues.

  • RE: Working with dates

    This is not working.. Did u make any change to code?

    What if we declare 8 variables and then put the values in those. That will be good for me.

  • RE: Working with dates

    I am trying the values for the result set in a temp table.

    I created the below temp table:

    create table #temp (datevalues datetime)

  • RE: Working with dates

    How can I store the values from this result set in a temp table?

    I created below table:

    create table #tempfriday(datevalues datetime)

    Now I am trying to declare 8 variables and and put...

  • RE: Working with dates

    Thats a good answer. It will help lot. Thankyou 🙂

  • RE: Working with dates

    Thanks a lot!!

Viewing 15 posts - 1 through 15 (of 23 total)