Viewing 15 posts - 2,356 through 2,370 (of 7,187 total)
Do you still get the error if you try to remove the user like this? USE SSISDB
DROP USER USERNAME
John
August 9, 2016 at 2:52 am
You have replaced "USERNAME" in that query with the name of the login you can't drop, haven't you? And you are running the query in the correct database context...
August 9, 2016 at 2:09 am
Do StartDate and EndDate always straddle a month boundary, and if so do they always straddle exactly one? Is the Amount to be divided evenly between the months regardless...
August 8, 2016 at 4:47 am
Or dust off your school maths book and use logarithms!WITH Logs AS (
SELECT
PropertyID
,TimePeriodDate
,MIN(Rent) OVER (PARTITION BY PropertyID) AS StartRent
,Growth
,SUM(LOG(Growth)) OVER (
PARTITION BY PropertyID
ORDER BY TimePeriodDate
ROWS BETWEEN UNBOUNDED PRECEDING AND 1...
August 5, 2016 at 5:50 am
Yes, it is usually a good idea to have a clustered index on your tables. If you're doing a lot of inserts, make sure the key is monotonically increasing...
August 5, 2016 at 4:16 am
WhiteLotus (8/3/2016)
The application behaves abnormally these day
What do you mean by this? Has the application's behaviour changed, and if so in what way? Did anything change in...
August 5, 2016 at 4:01 am
The first INSERT statement can't work, nested or not, because the ID and date columns in the temp table are not nullable and you haven't specified values for them. ...
August 5, 2016 at 3:52 am
Or maybe you've just done something that drags a lot of data pages in and out of memory, such as index maintenance or a data load?
John
August 5, 2016 at 3:09 am
You're trying to insert from the dim_person.person_name column, which is (presumably) nvarchar into the person_Ext column in your temp table, which is int.
John
August 4, 2016 at 8:45 am
All I've done here in addition to what I posted before is calculate the previous start and end dates based on the given start and end dates. You could...
August 4, 2016 at 5:36 am
Twice as much space as you need for all your indexes - is that a big problem? What is the autogrowth increment for the log file? Was there...
August 4, 2016 at 4:54 am
Thanks Mike - that was quick!
I get it now... I assume we'll be looking at tables later, so on with the Stairway!
Thanks again
John
August 4, 2016 at 2:52 am
What do you mean by "only"? What log file growth are you seeing? What other index rebuilds occur in the hour between the previous transaction log backup and...
August 4, 2016 at 2:49 am
Thanks Mike. I've been following the series so far and it's very enlightening! There's just one bit I'm struggling with:
Structured data is data loaded into tables in a...
August 4, 2016 at 2:30 am
Since it's a DR server, you're going to need a way to propagate changes to live jobs into DR, so why not use that same technique to do the initial...
August 4, 2016 at 2:17 am
Viewing 15 posts - 2,356 through 2,370 (of 7,187 total)