Viewing 15 posts - 49,261 through 49,275 (of 49,571 total)
I do a lot of query optimisation at the moment.
I love the feeling that accompanies getting a 5 minute query run in 5 seconds
The odd occation when a user...
January 11, 2006 at 11:37 pm
Understanding locking is essential if you find yourself administering a heavily-used database (or one with very bad queries and indexes)
Understanding the basics will take you a long way.
the main...
January 10, 2006 at 6:31 am
The best choice for a clustered index is a column that is narrow, evver increasing and unique. The closer you get to that, the better. The PK is not always...
January 9, 2006 at 11:23 pm
The questions you'll get in the exam are selected at random from a large pool. Hence you may or may not get any questions on locks.
What's the problem you have...
January 9, 2006 at 4:24 am
It did mention the version
Question - Worth 2 Point(s)
Category : SQL Server 2005 - TSQL
January 9, 2006 at 4:11 am
Only if the two tables have the same number of fields with compatable datatypes.
January 9, 2006 at 12:16 am
It doesn't compile because of this:
LEFT OUTER JOIN
(SELECT COUNT(ID) AS NumberDue
FROM tblMEMResellerOrders ResOrds
WHERE (resords.Expiration <= '12/30/2005 23:59:59')
AND (resords.Expiration >= '12/1/2005 00:00:00')
AND (resords.PurchaseOption <>...
January 9, 2006 at 12:14 am
Impossible to test without table schemas and example data, but this should give you somewhere to start.
I moved the subqueries into the from clause so that the values returned...
January 6, 2006 at 6:38 am
Firstly, I would suggest a table redesign, if that's possble.
EmployeeSkills would be much, much better as below.
CREATE TABLE EmployeeSkillset (
EmpID CHAR(8) NOT NULL,
SkillID INT NOT NULL,
IsPrimarySkill BIT NOT NULL...
January 6, 2006 at 1:28 am
JV: check the account that SQL Agent runs as. Make sure it has permission to access the file. Make sure you use full paths, not relative paths
Regarding permissions for...
January 5, 2006 at 1:38 am
Just bear a few security issues in mind. A fairly high priviledged account is required to use xp_cmdshell. Check Books online for the exact details
Commands run from xp_cmdshell run as...
January 4, 2006 at 10:59 pm
Um, her test, actually
I didn't think of the subquery, thanks for that idea.
I was...
January 4, 2006 at 10:43 pm
Won't work. I had a similar issue the other day. Once you've created a column alias with the same name as a column in the table there's no way (that...
January 4, 2006 at 6:16 am
why would you want to call a DTS package in a trigger? Trigger code should be as short as possible and do as little as possible.
What are you trying to...
January 4, 2006 at 3:51 am
Viewing 15 posts - 49,261 through 49,275 (of 49,571 total)