Viewing 15 posts - 1,471 through 1,485 (of 7,191 total)
According to the error message, you've got a login failure of some description. Change the SQL Server instance so that it captures in the errorlog (at least) all failed logins,...
June 5, 2017 at 3:36 am
You'd have to use dynamic SQL. This is really something you ought to be doing in your presentation layer instead, though.
John
June 2, 2017 at 9:51 am
June 2, 2017 at 9:37 am
Is the database still online on the Enterprise Edition server? Is the database, or any of its filegroups, read-only?
John
June 2, 2017 at 9:12 am
Ah yes, I should have spotted that - you're basing it on the current date, not on any value in the column. Yes, that should work. My only advice would...
June 2, 2017 at 7:35 am
Is DecoderCode always a number? If so, store it in a column with a numeric data type. If you don't have any control over the database design, convert it to...
June 2, 2017 at 7:10 am
AND dbo.manifests.manifest_date >= DATEADD(DAY,CASE WHEN DAY(manifest_date)=1 THEN -1 ELSE 0 END, DATEADD(MONTH,
DATEDIFF(MONTH, 0,
CURRENT_TIMESTAMP),
0)
You can also use the...
June 2, 2017 at 7:07 am
If the only permissions they have are those you mentioned, they won't be able to do the things you don't want them to. But if you're worried about them getting...
June 2, 2017 at 2:16 am
I think your query could do with some serious tuning if it's chewing up 250GB of tempdb for 20 million rows. Does the whole thing run in an explicit transaction,...
June 1, 2017 at 2:38 am
Not without capturing them as you go, no, or maybe with the Query Store in SQL Server 2016 and later. The best you can do is get the aggregates (max...
May 31, 2017 at 9:50 am
Can Try--
May 31, 2017 at 9:24 am
What have you already tried, and what are you struggling with - the queries to do the actual health checks, or getting them to run on all servers? I think...
May 31, 2017 at 2:44 am
vsamantha35 - Wednesday, May 31, 2017 2:01 AMEventhough there are no duplicate records either at Source/Destination table, still below error is thrown.
There...
May 31, 2017 at 2:40 am
You can try this for yourself - not on a production server, though. Use sys.dm_os_buffer_descriptors to see what pages of data are in memory. Use DBCC...
May 31, 2017 at 2:31 am
Yes, if you don't want gaps for missing months then you'll need to left join to a calendar table. You can either use a permanent table in your...
May 31, 2017 at 2:14 am
Viewing 15 posts - 1,471 through 1,485 (of 7,191 total)