Forum Replies Created

Viewing 15 posts - 3,631 through 3,645 (of 3,656 total)

  • RE: Tame Those Strings - Part 9

    I found that if I create a stored procedure as follows

    CREATE PROC usp_SetName @sName VARCHAR(50)

    AS

    SET NOCOUNT ON

    SET QUOTED_IDENTIFIER OFF

    INSERT Tbl_Name (Name)

    VALUES (@sName)

    GO

    Then executing the stored proc

    exec usp_SetName "O'Reilly" gets...

  • RE: Non-Continous Replicaton and The LogReader

    Years ago I was told that Microsoft set up a Publisher on one side of the Atlantic and the Distributor/Subscriber at the other.

    When they got their first phone bill it...

  • RE: Worst Practices - Not Using Primary Keys and Clustered Indexes

    quote:


    In our environment, we capture and process millions of transactions per day. We increased throughput on these intense inserts (15%) by...

  • RE: Worst Practices - Not Using Primary Keys and Clustered Indexes

    I would regard having a compound primary key as terrible practice.

    By all means have a unique key on it, but the primary key?

    I have a situation where we have an...

  • RE: You just might be a DBA if.....

    You were the last person consulted on a database issue and got so pissed off you resigned.

    6 months later you see your old job advertised at twice the salary.

    Scott Adams...

  • RE: Is 0% Downtime Possible?

    The problem is that management believes in 0% downtime. Fortunately, they have 50% downtime so its not too hard to sync downtime where they won't notice.

    The worst case...

  • RE: Uses For Derived Tables

    The only down side I have found with derived tables is that they are memory intensive.

    This becomes an issue if you have an application that runs complicated queries for a...

  • RE: Worst Practices - Depending on the GUI

    The great thing about scripting is that you are creating documentation for your database.

    I also find that a well laid out script is useful teaching aid for educating wannabe developers.

    When...

  • RE: .NET , Revolution or Assault?

    I work within a programming company and everyone who has seen .NET absolutely raves about it.

    The one comment that has been made is that VB.NET will make a lot of...

  • RE: Avoid Dynamic SQL

    I've found that if you want to pass a string to use as the IN list in a WHERE clause it doesn't work!

    What I did was put a small header...

  • RE: Certification Should Be Required

    The idea of certification becoming the IT worlds equivalent of a doctor's license to practice medicine is an interesting one.

    I think certification should be levels of certifications i.e. MCDBA grade...

  • RE: Worst Practices - Assigning Users Rights

    Whole heartedly agree.

    I also remove all rights assigned to the PUBLIC group/role so that a user has to be explicitly associated with a specific role. You don't come in...

  • RE: Is there a ROW ID function

    I haven't checked either because I'm working in a pure development environment and at this stage is is all pretty hypothetical.

    I will do some testing at a later stage to...

  • RE: Is there a ROW ID function

    Thanks Guys

    But what I was after was something like

    SELECT @@ROWID,*

    FROM Tbl_

    WHERE @@ROWID BETWEEN 10 AND 20

    I've seen your select TOP queries where a sub-query also has a TOP clause...

  • RE: Worst Practices - Objects Not Owned by DBO

    Yes definitely

    When I did the SQL 6.5 courses I was lucky enough to be taught by a trainer with commercial dba and they stressed the importance of this.

    One thing I...

Viewing 15 posts - 3,631 through 3,645 (of 3,656 total)