Viewing 15 posts - 19,681 through 19,695 (of 22,213 total)
We don't always duplicate the AD groups and the Roles in the databases (we use Roles exactly as you described), but we frequently do. I don't mind lumping more than...
August 22, 2008 at 5:31 am
So some sort of data migration moved 10000 rows one day but only 1000 the next... Nothing changed in the query between the two days, right?
You'll just have to examine...
August 21, 2008 at 6:50 am
Just remember that the clustered index also stores the rest of the data with the table. You basically need to cluster on the most common access path to your data....
August 21, 2008 at 6:47 am
Just remember that the clustered index also stores the rest of the data with the table. You basically need to cluster on the most common access path to your data....
August 21, 2008 at 6:47 am
This should work:
SELECT t.TABLE_NAME
FROM INFORMATION_SCHEMA.TABLES t
WHERE t.TABLE_NAME like '%some%'
August 21, 2008 at 6:40 am
I am sorry, but I really don't understand the question.
Do you mean you have a SQL Agent Job and you don't understand why it's running slow?
August 21, 2008 at 6:37 am
True. I was assuming a stored proc. Good catch.
August 20, 2008 at 7:23 pm
SQL Server comes with a built-in modeling tool. It's EXTREMELY rudimentary, but it will get the job done. You can also pick up third party tools like Embarcadero's ERStudio to...
August 20, 2008 at 10:47 am
That's a huge question. If this is the first time you're doing it, prepare to make a LOT of mistakes. First, I'd suggest picking up a really old book called...
August 20, 2008 at 9:23 am
Errors with a severity of 20 or higher stop the transaction and cause an immediate disconnect. That disconnect may be preventing the PRINT statement from occuring.
A cleaner way to...
August 20, 2008 at 7:54 am
One of the best that I know of is located here.
As to dumps from the test... This isn't hacker heaven. You should probably ask that question elsewhere.
August 20, 2008 at 6:12 am
As has already been stated, there are places where you have to use it, but, no, I don't put it around the code in my stored procedures since it does...
August 20, 2008 at 6:10 am
Great!
I use that query technique all the time. Verify that I'm getting what I want, then make it into an UPDATE statement. Glad it worked out.
August 19, 2008 at 9:08 am
Yeah, I was just going to say the same thing about the three indexes. That's what I get for doing work instead of posting to the boards.
August 19, 2008 at 8:56 am
No, it shouldn't matter that there is already data there. That's the point of the UPDATE. Did you run the query as a select? Does it return the 17k rows...
August 19, 2008 at 7:02 am
Viewing 15 posts - 19,681 through 19,695 (of 22,213 total)