Viewing 15 posts - 1,006 through 1,020 (of 1,162 total)
The answer is yes, it does. But, it's important to understand what that means in SQL Server.
What it isn't is a grid clustering solution - e.g. you can not have...
July 15, 2010 at 6:57 am
Your best bet without doing any major code changes is to try something like this:
ALTER TABLE table1
ADD Concatenated_Column as col2 + ':' + col3 PERSISTED
CREATE INDEX IDX_table1_Concatenated_Column ON table1(Concatenated_Column)
You must...
July 13, 2010 at 3:26 am
You're never going to get great performance with this type of query, but it's worth checking that at least collation compatible is set to true in the properties for the...
July 9, 2010 at 2:48 am
From the perspective of the optimiser, they will have the same performance, however as the above poster said, views tend to be re-used, so different developers will tend to find...
July 8, 2010 at 8:46 am
You could just use the Generate Scripts wizard in SSMS.
Make sure you set the "Include If NOT EXISTS" option to true, then select "user defined data types", then run...
July 2, 2010 at 2:39 am
Grant Fritchey (6/30/2010)
Kit G (6/30/2010)
HowardW (6/30/2010)
It would be interesting to see if this could be converted to...
June 30, 2010 at 8:04 am
Do you want to share the code for the function with some sample data?
It would be interesting to see if this could be converted to an Inline Table Valued Function...
June 30, 2010 at 6:41 am
It will still be the Service Account User that uses the CPU in task manager, but as long as you executed the backup command as the user you set up...
June 25, 2010 at 2:18 am
Regarding restricting the CPU usage - Microsoft recommends using Resource Governor to limit the CPU used:
June 25, 2010 at 2:09 am
The question is why you would want it? What's the point of a stored procedure that can execute any SQL - that's just the same as running ad-hoc SQL.
Assuming you're...
June 18, 2010 at 2:12 am
I'd purchase one of the 3rd party backup solutions - they're not very expensive in comparison to new SQL licenses.
Red Gate SQL Backup and Litespeed are both good and have...
June 17, 2010 at 6:07 am
If you purchased Software Assurance with your SQL 2008 licenses I think you can upgrade to R2 for free.
Otherwise I'm afraid you have to purchase new licenses.
June 17, 2010 at 5:54 am
Nope, the unique constraint would be violated. Trailing spaces are not included in the index B-Tree at all as far as I'm aware.
June 10, 2010 at 2:15 pm
It's also worth noting that when using fixed width data types such as char and nchar, any values shorter than the maximum length will be padded with trailing spaces regardless...
June 10, 2010 at 1:49 pm
Or, to simplify, you could rewrite it like below:
delete from users
where userid NOT IN (
SELECT userid FROM dbo.aspnet_users)
or
delete from users
where NOT EXISTS
(SELECT 1 FROM aspnet_users WHERE aspnet_users.userID =users.userID)
June 9, 2010 at 10:12 am
Viewing 15 posts - 1,006 through 1,020 (of 1,162 total)