Forum Replies Created

Viewing 15 posts - 406 through 420 (of 496 total)

  • RE: Error Usinf a user defined function in an update statement

    Can you give us the error you getting. Also please provide the create table statements for tblEvent and DailyBackorderedSkusSnapshot along with some test data.

  • RE: Backup/Recovery Mode question

    SQLRNNR (10/31/2013)


    Well, if it is the graphical maintenance plan, then that is a problem. That is a brute force rebuild and is hardly practical in most situations.

    I agree with...

  • RE: Backup/Recovery Mode question

    My question is why are you in the FULL recovery model in the first place? Is it to be able to have a point-in-time restore? Then you need to leave...

  • RE: Identifying Trends

    Well with out table structure and data you could use the following:

    create table CARS (Model varchar(100), RentalDate datetime);

    go

    insert CARS

    values ('Camry','20120101')

    ,('Accord', '20120201')

    ,('Accord', '20120202')

    ,('Camry','20130101');

    go

    select DATEPART(year,RentalDate) as RentalYear, DATEPART(month,RentalDate) as RentalMonth, Model,...

  • RE: Identifying Trends

    Please look at the article in my signature about posting questions on the forum. We will need some table structures and some sample data with an expected output. Once you...

  • RE: SQL Service account change

    When setting up your service accounts you want to follow the principle of least privilege. Basically this means that you only want to grant the necessary rights to your service...

  • RE: Compare data in a database

    I use Red Gate SQL Data Compare (10.0) which allows you to compare a snapshot to a database. So you could create a snapshot of the database prior to the...

  • RE: table with more than 1.5 Lakh record simplet query taking too much time

    Good point Jeff. I was simply making a suggestion of which columns should be in the index not intending them to be added necessary in that order, but I should...

  • RE: Truncating 100GB table

    Truncate will be the fastest option since it will de-allocate all data pages from the table. How long will it take? It depends on the number of pages and your...

  • RE: Failure message for successful SQL Agent job ?

    Right click the maintenance plan and select modify. Then find the task that is failing and edit the properties. It should be one of the properties.

  • RE: Failure message for successful SQL Agent job ?

    Since you are using maintenance plans make sure that the task that is failing has the FailParentOnFailure set to true. I believe that is it set to false by default.

  • RE: table with more than 1.5 Lakh record simplet query taking too much time

    kapil_kk (10/30/2013)


    janki0430 (10/30/2013)


    AssembleTrn is table with about 170157 records

    when i run this query it will take about more than 1.30 minute

    plesae help me in getting recoeds in...

  • RE: Update Insert Trigger

    That sort of Upsert logic makes more sense in a stored procedure. Can you create a stored procedure to handle this case? If the @key already exists then...

  • RE: Failure message for successful SQL Agent job ?

    Verify that the "On Failure" action for the job step that is failing is set to "Quit the job reporting failure".

  • RE: Normalization

    sadhwanipankaj (3/30/2010)


    will you please give me an full proof example of this ...i have searched on internet but didn't got good example

    First off there is no "fool proof" when it...

Viewing 15 posts - 406 through 420 (of 496 total)