Forum Replies Created

Viewing 15 posts - 2,671 through 2,685 (of 3,616 total)

  • RE: Suggestions for Datatypes

    Income tax was originally a temporary taxation. Speed limits on motorways were originally temporary so I would be wary of SMALLDATETIME. Admittedly we will all be dead by...

  • RE: Better Secure This Data

    At least our bodily parts will remain attached.

  • RE: How to Ensure Only 1 Bit Valued As 1 in Table

    Lets see if I understand your method Chris.

    dbo.INDICATORTABLE contains a single record with the uniqifier field set to 1.

    All you do is set the value of othertablepk to the primary...

  • RE: Removing NTAuthority\system account from Production box

    Yes,

    Firstly, add the NT Account under which MSSQLSERVER service starts up to your server. This should be a domain account, not LOCALSYSTEM.

    Grant it SysAdmin rights.

    Remove BuiltIn/Administrators

    Be careful if you...

  • RE: Better Secure This Data

    Certain kitchen cleaning products, such as bleach, damage your fingerprints. Yet another reason to delegate domestic chores!

  • RE: Stored Procedure Debug Problem

    I my setup my MSSQLSERVER and SQLSERVERAGENT account are running with a domain account with minimal permissions to the domain but in the Administrators group of the SQL Server.

    Yes, I...

  • RE: Disappearing DBAs

    I agree with you on the importance of DBAs.

    The big problem is that the title DBA has been down-graded in the minds of those hiring them. I am not...

  • RE: Better Secure This Data

    Using my own personal body parts to secure corporate data?

    Look, I'm sure the techno weenies are fainting with pleasure over this but I've seen "Demolition man" with the eyeball on...

  • RE: Takes a very long time to query a table/view

    Loosely speaking an INNER join requires there to be a matching record in both tables within the join.

    If the codes in your main table always exist in your lookup table...

  • RE: running stored procedures on a multiprocessor system

    Table scans means that your proc has to trawl through the physical table rather than use indices. There are situations where it Table Scans are unavoidable but in general...

  • RE: Saying Good Bye

    Plato said it first. Words to the affect of when people think alike then very little is thought.

    I think phrases like "you achieve more with honey than you do...

  • RE: Finding Characters Patterns

    I tried the following on an NTEXT column

    SET NOCOUNT ON

    DECLARE @sPattern VARCHAR(50), @lValue TinyInt ,@lPos Int

    SET @lValue=127

    WHILE @lValue0

    SELECT @lValue , @lPos, char(@lValue)

    SET @lValue=@lvalue+1

    END

    WHEN I did SELECT SUBSTRING(Trace5,,1) I...

  • RE: Using something other than datetime for dates and times

    I would tend to stick with the built in DATETIME/SMALLDATETIME data types.

    If you must use SMALLINT for times then I don't see the problem with parsing it.

    For CHAR(4) your programmers...

  • RE: reclaiming the space for deleted rows

    In terms of internal file space I've found that deleting records from an indexed table does not automatically reclaim space.

    Running a DBCC DBREINDEX does that, similarly dropping and recreating indexes...

  • RE: Table rowcount

    As you pointed out the sysindexes script only works if the index statistics are kept up-to-date. I think your best bet would be to keep them up-to-date and use...

Viewing 15 posts - 2,671 through 2,685 (of 3,616 total)