Forum Replies Created

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

  • RE: Need to insert column with Table name in table

    I am sorry but maybe i was not clear enough in my question..

    I have about 72 dept tables and each table has 50,000 + records.

    I need to create a...

  • RE: Need to send variable in Email

    Thank you so much..for all of your help. i finally got it to work. i finally got what i needed.. i am new to this so everyones input helped a...

  • RE: Need to send variable in Email

    Sugesh,

    I am trying to use your way to get this done. We have to send emails every time we run the job and there is an update. I can...

  • RE: Need to send variable in Email

    Thanks for all the replies. i will further look into output. I was also thinking of doing another job that can run right before the update and give me the...

  • RE: Need to send variable in Email

    Hey Lucky,

    Thanks for the reply, i can not do a trigger on the table because there are updates going on in the table all the time. and this is...

  • RE: Query Help... Group By Issue

    This worked!!.. Thank you so much, saved me a couple of hours, I am new to SQL so learned something very helpful today.. thanks alot

  • RE: Help with Dynamic SQL in Views

    Thank you very much for ur explaination

  • RE: Help with Dynamic SQL in Views

    Thank you for your help. The code worked but could you please tell me what the CHAR(13) + CHAR(10) are used for and can the length of the fields be...

  • RE: Help with Dynamic SQL in Views

    Thank you for your help.

    This a third party application, so nothing can be changed and they create a new table in the yyyymm format everymonth but if the application hangs...

  • RE: Help with Dynamic SQL in Views

    I can create a view using a variable below..

    declare @newname varchar(60), @sql nvarchar(1500)

    set @newname = 'Checks' + CONVERT(VARCHAR, DATEPART(YEAR, GETDATE())) + '_1'

    set @sql = 'CREATE...

  • RE: Dynamic SQL in SSIS

    Cory Ellingson (11/6/2007)


    declare @newfilegroup varchar(60)

    set @newfilegroup = substring(CONVERT(VARCHAR, DATEPART(YEAR, GETDATE())), 3, 4)

    EXEC ('ALTER DATABASE northwind ADD FILEGROUP [' + @newfilegroup + ']')

    It needs to be wrapped in the [...

  • RE: Dynamic SQL error

    Thankyou so much!

  • RE: Dynamic SQL in SSIS

    yes.. maybe but the thing is that right now they are created manually as yearlys like 07, 08 that works fine..

  • RE: Dynamic SQL error

    filegorup names can start with number.. right now they are manually created as 07, 08 and so on..

  • RE: Moving tables between filegroups

    Thankyou for your help.. i tried using dynamic sql for creating a filegroup as a task in the beginning of the package but that is giving me an error now..could...

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