Viewing 15 posts - 4,441 through 4,455 (of 6,035 total)
smtzac (8/7/2014)
CREATE TABLE [dbo].[ABCD](
[A] [uniqueidentifier] NULL,
[uniqueidentifier] NULL,
[C] [nvarchar](100) NULL,
[D] [nvarchar](max) NULL,
[E] [nvarchar](max)...
August 7, 2014 at 8:03 am
Recently I thought of something that had never previously crossed my mind: what about purposely testing against a database with fragmented indexes as may exist in a production database? Is...
August 7, 2014 at 6:32 am
Try the following:
RANK() OVER (ORDER BY Col1, Col2, Col3)
Notice it's using rank() instead of row_number() and no partition by.
August 6, 2014 at 9:51 am
A long running select query may temporarily block a stored procedure attempting an update, insert, or delete on same table. The opposite can also be true, an update transaction held...
August 6, 2014 at 9:47 am
Consult with the team and consider all the potential routes by which records are inserted into this table. For example, is it always inserted via the application, or is there...
August 5, 2014 at 7:30 am
One approach is to creating your sorted country list is to query whatever transactional table would contain country code. For performance to be acceptable, it's essential that whatever columns you're...
August 5, 2014 at 7:16 am
paul.j.kemna (8/4/2014)
I also occasionally use LEN(Fields!FieldName.Value) > 0)...
August 4, 2014 at 11:06 am
paul.j.kemna (8/4/2014)
August 4, 2014 at 7:46 am
Creating a non-clustered index containing all columns makes no sense. If you create a clustered index on a table, then technically you already have an index that covers all columns....
August 4, 2014 at 7:06 am
In the IT arena, I believe that resume font accounts for less than it would for those seeking a position in something like marketing, public relations, or at the executive...
August 2, 2014 at 10:38 am
The first thing to do is compare how the execution plan and number of page read/writes differ between the two databases. You can then focus on why. This can be...
August 1, 2014 at 9:57 am
Steve Jones - SSC Editor (7/31/2014)
Eric M Russell (7/31/2014)
July 31, 2014 at 12:19 pm
If the windows group like 'MyCorp\ProductionDBA' or 'Builtin\Administrators' are members of SYSADMIN, and user account 'MyCorp\JohnSmith' is added to one of these groups, then he has sysadmin privillage. There is...
July 31, 2014 at 7:50 am
Steve Jones - SSC Editor (7/30/2014)
Eric M Russell (7/30/2014)
July 30, 2014 at 2:21 pm
SQL Server Audit has an 'Addlogin' event and a 'Add Login to Server Role' event. For example, when a login is created or granted membership in SYSADMIN group.
http://msdn.microsoft.com/en-us/library/ms188646.aspx
But this...
July 30, 2014 at 10:18 am
Viewing 15 posts - 4,441 through 4,455 (of 6,035 total)