Viewing 15 posts - 6,331 through 6,345 (of 7,608 total)
You should also consider using option "SORT_IN_TEMPDB = ON" in the rebuild. That should give you about the same space gains without having to use a separate fg within...
November 6, 2013 at 4:05 pm
1. The only way to rebuild heaps is to add a clustered index; you can then drop it. Since, however, adding or dropping a clus index requires rebuilds...
November 6, 2013 at 3:59 pm
SELECT
MatchID, KeyCode,
CASE KeyCode
WHEN 'MTDT' THEN CONVERT(varchar(100), MatchDate, 101)
...
November 5, 2013 at 3:44 pm
Safer might be:
WHERE
FtgNr NOT LIKE '[^0-9][^0-9]%1'
Unless you really want "alphabetic" rather than "non-numeric" as originally stated. Spaces, underscores, periods, etc., would fail this test but pass the other one...
November 5, 2013 at 3:35 pm
RVO (11/4/2013)
We don't have authority to alter table definitions.
This is Financial Application database by third party.
We don't own the database.
We even create all our custom code in a separate (Diff_Data)...
November 5, 2013 at 8:54 am
I think the clustered index should be ( accounting_period ) or, if you prefer, ( accounting_period, prj_code ) rather than the other way around. I don't think phase_code needs...
November 4, 2013 at 3:54 pm
Please post the DDL, including all indexes, for the "prj_detail" table.
If the clustered index is on an identity column, you should almost certainly change it to "accounting_period" instead. This...
November 4, 2013 at 2:39 pm
Instead of DDL_LOGIN_EVENTS, you can use DDL_SERVER_SECURITY_EVENTS, which covers a much wider range of statements. See BOL, "DDL Event Groups" for more details.
You'll need to use EVENTDATA() from within...
November 1, 2013 at 2:30 pm
Kurt W. Zimmerman (11/1/2013)
clayman (11/1/2013)
Kurt W. Zimmerman (11/1/2013)
clayman (11/1/2013)
Kurt W. Zimmerman (11/1/2013)
November 1, 2013 at 1:56 pm
Not that familiar with Citrix, but maybe there is some way to get it to pass the original login info? Perhaps as some type of comment, or by writing...
November 1, 2013 at 1:52 pm
SELECT
@paid =
CASE WHEN day_of_week = 5 /*Sat*/ THEN CASE WHEN @age <= 10 THEN 300 ELSE 500 END
...
October 29, 2013 at 4:33 pm
-- one more test data row
INSERT INTO MyTestTable (ID, Col1) SELECT 4, 'a longer string value1 / a much much much much longer string value2 / whatever / whatever /...
October 29, 2013 at 4:03 pm
Actually I would never have seen this except that it was posted here ... I only check a limited number of threads as I don't have the time for all...
October 23, 2013 at 3:30 pm
Definitely go to a local user group. In particular, get a good mentor to help you learn. With the sheer volume of what you have to learn, a...
October 23, 2013 at 3:29 pm
Great, glad it helped!
Btw, use DBCC commands such as those above to do file shrinks and other such db maintenance tasks, not the SSMS gui, which can be flaky for...
October 23, 2013 at 12:48 pm
Viewing 15 posts - 6,331 through 6,345 (of 7,608 total)