Viewing 15 posts - 406 through 420 (of 496 total)
Can you give us the error you getting. Also please provide the create table statements for tblEvent and DailyBackorderedSkusSnapshot along with some test data.
November 1, 2013 at 8:53 am
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...
October 31, 2013 at 8:29 pm
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...
October 31, 2013 at 7:56 pm
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,...
October 31, 2013 at 10:22 am
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...
October 31, 2013 at 9:48 am
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...
October 31, 2013 at 8:52 am
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...
October 30, 2013 at 7:37 pm
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...
October 30, 2013 at 7:16 pm
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...
October 30, 2013 at 10:54 am
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.
October 30, 2013 at 9:07 am
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.
October 30, 2013 at 8:29 am
kapil_kk (10/30/2013)
janki0430 (10/30/2013)
when i run this query it will take about more than 1.30 minute
plesae help me in getting recoeds in...
October 30, 2013 at 7:30 am
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...
October 30, 2013 at 7:24 am
Verify that the "On Failure" action for the job step that is failing is set to "Quit the job reporting failure".
October 30, 2013 at 7:17 am
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...
October 29, 2013 at 2:03 pm
Viewing 15 posts - 406 through 420 (of 496 total)