Viewing 15 posts - 23,521 through 23,535 (of 49,552 total)
Not in standard edition. Backup encryption is a side effect of using TDE (transparent database encryption) and that's Enterprise only
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 4:10 pm
You create a second table, you give it a composite primary key that includes the column from the parent table, then you define a foreign key relationship.
Tables don't contain tables,...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 4:09 pm
Not continuing the debate, just to show another perspective:
http://www.hsrc.ac.za/HSRC_Review_Article-47.phtml (from 2006)
The surveys asked citizens whether they agree that ‘my household is able to get enough food for its needs’. A...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 4:04 pm
In that case...
FROM
@Employee E LEFT OUTER JOIN @AbsenceHistory AH ON E.ID = AH.EmployeeID AND (AH.StartDate >= '2011-01-01' AND AH.EndDate <= '2011-04-28')
WHERE
E.ID IN ('1','2','3')
That way the result set from AbsenceHistory...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 3:35 pm
If you're talking about the 5 files of the default trace, there will only ever be 5. When SQL creates a new one, it deletes the oldest, so there's no...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 1:51 pm
SQLRNNR (9/14/2011)
Grant Fritchey (9/14/2011)
I'm tasked with writing another article. This one is all about the...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 1:23 pm
As I said, you'll probably find that the windows user is part of a windows group that has access to SQL and db_datareader permissions.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 12:54 pm
SELECT
TMP.Name,
SUM(CASE WHEN AT.Descrip='Vacation' THEN Hours ELSE 0 END) AS 'Vacation',
SUM(CASE WHEN AT.DESCRIP='Flex' THEN Hours ELSE 0 END) AS 'Flex'
FROM
TEMP TMP LEFT OUTER JOIN @AbsenceType AT ON TMP.AbsType = AT.ID
GROUP BY
TMP.Name
Stop...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 12:52 pm
DDL_Admin does not grant any select permissions at all. It just grants permission to create, modify and drop objects. If you want select permission as well, you'll need to add...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 12:41 pm
Another request:
I'm bunking tonight and starting the rewrite of my rather old (and second-ever) article Managing Transaction Logs[/url]. Other than when and when not to shrink (which definitely has to...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 11:39 am
Roy Ernest (9/14/2011)
I would also add not setting the min and max for memory.
Well, not setting max yes. Min can be left at 0 on a dedicated SQL box.
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 11:27 am
...
FROM
@Employee E LEFT OUTER JOIN @AbsenceHistory AH ON E.ID = AH.EmployeeID
WHERE
E.ID IN ('1','2','3') AND
(((AH.StartDate >= '2011-01-01' AND AH.EndDate <= '2011-10-31') AND AH.AbsType IN (1,2)) OR AH.ID IS NULL)
...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 11:26 am
peterob1 (9/14/2011)
I hate lying or exaggerating, but acknowledge the need to sell.
Don't lie, don't exaggerate. A good interviewer will see through that and if they do you have lost your...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 11:09 am
Grant Fritchey (9/14/2011)
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 11:01 am
That's not a SQL Server error. Hence it must have been coming from the app for some reason or other.
SELECT * FROM sys.messages AS m WHERE text LIKE 'General SQL...
Gail Shaw
Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability
September 14, 2011 at 8:51 am
Viewing 15 posts - 23,521 through 23,535 (of 49,552 total)