Forum Replies Created

Viewing 15 posts - 121 through 135 (of 197 total)

  • RE: Stored Proc interacting with file system?

    The filename will change depending on a record that needs to be inserted into a DB.

    I will look further into writing a CLR SP. We are using 2005 so it...

  • RE: DBName quandry

    oh, select db_name()...

  • RE: DBName quandry

    Is there a way to get the currently selected DB name?

  • RE: DBName quandry

    I forgot about using dynamic SQL.

    Thanks...

  • RE: Why so many reads?

    The majority of these columns were originally char(10) or char(9) and we are trying to

    standardize the column types so, yes, we do need to trim them.

    The VB.net class that...

  • RE: Why so many reads?

    The SQLPLAN posted is from the correct DB and Table.

    It's just that the indexes listed were from the same table on a different DB.

    The correct indexes are in the screenshot.

  • RE: Problem creating FKey

    Neither. However, I fixed it by removing all records in ptPayments per instructions from up above.

    The table will be populated by a conversion routine from another DB.

  • RE: Why so many reads?

    I ran the DB Tuning Advisor on this and a couple other tables and it recommended 0 changes.

    😉

    I KNOW that something needs to be done to this table as well...

  • RE: Why so many reads?

    rbarryyoung (8/19/2008)


    Well, the total IO is understandable, since you are updating every row in the table as well as every entry in 3 indexes, what surprises me is that the...

  • RE: Why so many reads?

    See image.

  • RE: Why so many reads?

    SQLPlan is attached.

  • RE: Why so many reads?

    No Triggers on this table.

    Here are the indexes and keys:

    Indexes:

    [IX_ptLabResults]

    columns: ([EMRApproved] ASC)

    [IX_ptLabResults_2]

    columns: ([MRN] ASC,

    ...

  • RE: Can't figure this incorrect syntax error out

    Something to remember...thanks!

  • RE: Debugging capabilities of SQLServer Mgmnt Studio?

    GilaMonster (8/15/2008)


    You can connect to a 2005 server from 2008's management studio. The server remains 2005.

    Yes I figured that, it worked that way with 2005 connecting to 2000. However...

    GilaMonster...

  • RE: Debugging capabilities of SQLServer Mgmnt Studio?

    GilaMonster (8/14/2008)


    Or upgrade to SQL Server 2008. It's built right into management studio.

    So can I use 2008 Management Studio on 2005 DBs without harming them? What I mean is can...

Viewing 15 posts - 121 through 135 (of 197 total)