Viewing 15 posts - 10,876 through 10,890 (of 26,489 total)
This is actually related to the 2012-06-06 QotD. If you look at Books Online for the DATE, DATETIME2, and DATETIMEOFFSET data types, you will see that they have a...
July 3, 2012 at 1:32 pm
SQLKnowItAll (7/3/2012)
Are you running out of space? If so, I wouldn't shrink them. Just continue to use up the available space.
I'm going to throw out the old reliable...
July 3, 2012 at 1:03 pm
Moving the objects from the PRIMARY file group to a new file group frees the space in PRIMARY but the space is still there for the database, it isn't going...
July 3, 2012 at 12:53 pm
Doing it something like this:
alter table MyTable
Add Constraint [MyPrimaryKey] Primary Key (MyColumn)
WITH (FILLFACTOR = 75, ONLINE = ON, PAD_INDEX = ON);
Be sure to verify the complete syntax in BOL.
You may...
July 3, 2012 at 11:28 am
A primary key constraint will create an index to enforce the uniqueness of the primary key.
Since you already have a clustered index defined on the table, this index will be...
July 3, 2012 at 11:15 am
PRIMARY KEY CONSTRAINT does not equal CLUSTERED INDEX.
Why do you keep coming back to that? I didn't say anything about changing the clustered index.
The only thing that comes to...
July 3, 2012 at 11:10 am
Did you catch the other part of my post? If you build it using the ONLINE = ON, you may be able to do it with out much impact....
July 3, 2012 at 11:02 am
In theory, yes. In practice, you'll have to figure it out as I don't think this is portable as is to Oracle. It has been almost a year...
July 3, 2012 at 10:57 am
coronaride (7/3/2012)
July 3, 2012 at 10:41 am
pamozer (7/3/2012)
July 3, 2012 at 9:45 am
hindle.steve (7/3/2012)
Thanks Lyn.I've managed to analyse some of the execution plans and changed the indexed columns. Having a covering on index(Date, Database)) is the best solution.
That's what matters. Good...
July 3, 2012 at 9:38 am
Jo Pattyn (7/3/2012)
WHERE clauses like Date BETWEEN a And B and Database = 'X'.
Assuming the most popular query...
July 3, 2012 at 9:29 am
Try the following to get the list of files:
dir *.* /a: -D /b /s /n
NOTE: No space between the a: and the -D. I had to put the space...
July 3, 2012 at 9:07 am
First, you need this function. Be sure to read the comments in the code plus the article it references, and the discussion that is associated with the article. ...
July 2, 2012 at 8:47 pm
Viewing 15 posts - 10,876 through 10,890 (of 26,489 total)