Viewing 15 posts - 181 through 195 (of 1,169 total)
Very interesting QotD.
It works only on SQL Server 2016, even though it's "documented" for SQL 2014.
In documentation for version 2014 https://msdn.microsoft.com/en-us/library/dn765131(v=sql.120).aspx
it says Row-Level Security is now available in SQL...
March 31, 2016 at 1:41 am
snomadj (3/22/2016)
col is a date datatype. There's something about the way Oracle is dealing with this type that I am not understanding.
If I...
March 22, 2016 at 4:19 am
v-studios (3/18/2016)
Hi John,each SSIS instance would in fact have its own database engine to store its databases, the catalog database etc.
The catalogs databases are small and don't keep processing data....
March 18, 2016 at 5:05 am
Do ALTER one column of the table, e.g. extend it from int to bigint, and you'll have the fragmentation changed significantly. This is a way without changing data.
Otherwise do a...
March 9, 2016 at 10:09 am
SQLisAwE5OmE (3/8/2016)
Igor Micev (3/8/2016)
SQLisAwE5OmE (3/8/2016)
Igor Micev (3/8/2016)
If the issue still exists, then we're going to...
March 8, 2016 at 9:20 am
SQLisAwE5OmE (3/8/2016)
Igor Micev (3/8/2016)
Fist thing, did you check the fragmentation of indexes? Are the statistics of those tables updated?If the issue still exists, then we're going to see other aspects.
Yes,...
March 8, 2016 at 8:56 am
Fist thing, did you check the fragmentation of indexes? Are the statistics of those tables updated?
If the issue still exists, then we're going to see other aspects.
March 8, 2016 at 8:48 am
Sergiy (3/7/2016)
JoseACJr (3/5/2016)
Hello!A simple question!
How can I generate 30 columns that are days of the month, between two dates ?
Thank you!
What do you mean "generate 30 columns"?
How should they look...
March 7, 2016 at 3:38 pm
Hi Lowel,
I did a test of your work on more databases. Here are the remarks:
The collation of a test database is not changed. I run it on the AdventureWorks2014 databases.
On...
March 7, 2016 at 1:53 am
It's about privileges for SQLSERVERAGENT on the folder.
Add more privileges for the user.
I usually set Full over that folder for the sql server agent user.
March 5, 2016 at 4:06 pm
Try this
DECLARE @StartDate date= '2016-03-01';
DECLARE @EndDate date= '2016-03-31';
DECLARE @Days int;
SELECT @Days = DATEDIFF(dd, @StartDate, @EndDate) + 1;
SELECT TOP (@Days)
[DateKey] = CONVERT(int, REPLACE(CONVERT(date, DATEADD(dd, ROW_NUMBER() OVER(ORDER BY(SELECT NULL)) - 1,...
March 5, 2016 at 4:03 pm
Orlando Colamatteo (3/4/2016)
Igor Micev (3/4/2016)
Grant Fritchey (3/4/2016)
Instead of messing with a custom script, I'd just use one that is pre-built. Minion Reindex [/url]is my current favorite.
Hi Grant,
Can you put here...
March 4, 2016 at 3:48 am
TheSQLGuru (3/3/2016)
Alan.B (3/3/2016)
Take a look at sp_whoisactive by Adam Machanic.+1000000
I'm asking myself why is not that SP a part of the master's sps, but we have to create it...
March 4, 2016 at 3:45 am
Grant Fritchey (3/4/2016)
Instead of messing with a custom script, I'd just use one that is pre-built. Minion Reindex [/url]is my current favorite.
Hi Grant,
Can you put here some advantages of the...
March 4, 2016 at 3:39 am
If you're on a Standard/BI Edition of SQL Server you'd better use the REORGANIZE operation. It won't interrupt the application's work with the table as the REORGANIZE is an online...
March 4, 2016 at 3:35 am
Viewing 15 posts - 181 through 195 (of 1,169 total)