Forum Replies Created

Viewing 15 posts - 601 through 615 (of 628 total)

  • RE: Problem converting DTS funtionality to SSIS

    The problem is that the starting bucket is a moving target. for example since today is the first of april the starting bucket for anyone read to today will...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Problem converting DTS funtionality to SSIS

    John,

    Thanks for the script. Unfortunatley it will not work for what I need since the bucket starting position is determined by the month of the last reading. So in...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Problem converting DTS funtionality to SSIS

    this is what the source data could look like. Notice there are two readings in february and June and no reading in september.

    010012080 00068276 2010-02-26 00:00:00.000...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Problem trying to generate a sequence number in SSIS

    Adding the following line to my select query worked great.

    row_number() OVER (PARTITION by C_account order by c_account)

    I would have never thought to do it this way.

    Thanks for the advice!

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Problem trying to generate a sequence number in SSIS

    The seq number does not have to be the same everytime for each meter as long as there is a seq number present for each multi meter account.

    This is a...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Problem trying to generate a sequence number in SSIS

    Well That is a very good question and I asked it myself. Basically it comes down to like most good questions to circumstances I can not control. The...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Problem trying to generate a sequence number in SSIS

    I had not tried that but I will play around with that idea for a while and see what I can come up with.

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: msdb.dbo.sp_send_dbmail HTML formatting issue

    It might look something like this

    if @one =0

    set @status1 = 'Unsuccessful,' + @one1

    set @color1 = 'RED'

    else

    set @status1 = 'Successfully ,' + @one1

    set @color1 = 'GREEN'

    if...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: msdb.dbo.sp_send_dbmail HTML formatting issue

    Based on your scipt I would declare a seperate variable that would be included in your if statements. If the status is Success set the variable value to 'Green'...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Script all SQL Agent jobs in one step

    As an added note I would create the SSIS on the 2008 server I am not sure if there would be any compatibility issues but by creating the SSIS on...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Script all SQL Agent jobs in one step

    I do not beleive you can script out all jobs at once. you can of course right click on each job and click script individualy but in your case...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: How to get rowid in sql server 2005

    do you want to return a result with a row number as part of the output or do you want to grab a specific row, as in you want row...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: Reference Permission

    Basically if I am reading it correctly the permission would be from the aspect of the foriegn key only. So the foreign key is given the permission to do...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: SQL Server 2008 install problem..

    Did you install a default instance or a named instance. I would also looked at the configuration manager and make sure the services are up. This would also...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

  • RE: ssis package error

    I usually get this when I am being lazy and rather then do things over I copy and paste large chucks of a package to another package. This kind...

    Dan

    If only I could snap my figures and have all the correct indexes apear and the buffer clean and.... Start day dream here.

Viewing 15 posts - 601 through 615 (of 628 total)