Forum Replies Created

Viewing 15 posts - 136 through 150 (of 166 total)

  • RE: Enterprise Manager Security

    Absolutly, only add the user to the specific database they need access to.  Then give them only say datareader and datawriter role in that database.  They will be able to...

  • RE: Compound Primary Keys

    I am and always will be dead against compound keys.  I have been thrown into environments where they existed and have been faced with nightmare situations in regards to maintenance...

  • RE: Transaction Log Size

    What is happening is that the active part of the log is located near the end of the file.  Therefore you cannot shrink the file since you can't truncate the...

  • RE: Changing a Server from Case Sensitive to Case Insensitive.

    You can use ALTER DATABASE to change the default collation of a database. For a detailed example, see the topics "SQL Server Collation Fundamentals" and "ALTER DATABASE" in SQL Server Books...

  • RE: SQL mail text configuration

    If you are talking about this kind of message:

    JOB RUN: 'DBA Optimizations Job for DB Maintenance Plan 'User Database Maintenance'' was run on 07/04/2005 at 2:57:47 PM

    DURATION: 0 hours,...

  • RE: Can I start and stop sql server with non admin previledges on my pc ?

    There is a server role called Process Administrators.  If you are a member of this role you can start and stop the SQL Server Service as well as the Agent...

  • RE: New feature when designing diagrams with SP4

    This does seem to be new with SP4.  I do not see it on any of my pre sp4 servers.  As for the problems aligning FK between tables, I have...

  • RE: sub selecting the result set

    Here is a silly way to do it although I am not a big fan of temp tables:

    select top 1 count(col1)as num, col1

    INTO #temp1

    from tabl1

    where (col2 = 666)

    group by col1

    SELECT...

  • RE: Surrogate Keys

    I agree.  I designed a database which used policy numbers as primary keys which then cascaded downwards to a number of owning relationships.  This was designed this way after being...

  • RE: Break Logical table into two?

    I ran into this problem and just bit the bullet and broke the table out.  It came down to the fact that there was a possibility that the row could...

  • RE: SQL Instances Performance

    First thing that comes to mind is how much RAM is associated to each instance.  With 7 instances the minimum RAM setting may just be leaving a couple of the...

  • RE: SQL Profiler usage suggestions for server load testing?

    I have been using the suggestion of the following website.  The nice thing is that you can download the trace file and stored procedures used to interogate the data profiled.

  • RE: tables sizes and recovery models

    Here is an example that will generate the sp_spaceused statements for every user table in a database.

    DECLARE @l_table_name VARCHAR(255)

    DECLARE CHECKSIZE CURSOR For

    SELECT name FROM sysobjects WHERE xtype LIKE 'U'

    OPEN...

  • RE: tables sizes and recovery models

    You can use the stored procedure sp_spaceused to obtain the size information for each table. You will need to supply the table name as a parameter, so if you want...

  • RE: Archiving data monthly.

    You can try to return only the data you want to see by using a WHERE clause, or if you really want to archive the data you can create a historical...

Viewing 15 posts - 136 through 150 (of 166 total)