Forum Replies Created

Viewing 15 posts - 3,766 through 3,780 (of 7,496 total)

  • RE: Importing access into sql2005 - schema issue

    If you login to sqlserver sql as a non sysadmin, you should be able to define the wanted schema as default schema for that account.

    btw MS has published a tool...

  • RE: Query for Time Differences in Hours

    We use @temp tables to provide a usable example.

    Just replace the table name in the query and use the currect column names and you should be fine.

  • RE: sqlmangr.exe looking for MSVCR71.dll cluster failover !

    I'm glad it could be of use to you.

    We haven't encountered the issue on any other servers (yet) and still don't know what caused the files to be missing.

  • RE: SQL 2005 query

    - there are a number of split functions available at SSC.

    - or you can use a combination of :

    e.g.

    left(yourcol,charindex(':', yourcol)-1)

    and

    right(yourcol,datalength(yourcol) - charindex(':', yourcol)+1)

  • RE: global temp table issue

    how about an hard IIS reset or "recycle" of application pools .... can that be causing the issue ?

    See the IIS logs.

  • RE: Can't kill a process

    Kent Zhou (4/16/2009)


    Thanks, guys. I found the solution.

    The solution is restart DTC service, not need to restart the engine.

    But what I'm confused is: why Begin distributed transaction doesn't work...

  • RE: Update statistics

    Certainly no blame Gail 😉

    Chances are I misinterpreted the advise and may have taken it to be applicable for as well dbcc updateusage as well as sp_updatestats.

    Once again proves we're...

  • RE: Update statistics

    Hi Gail, it must have been on 2009-03-10.

    That's the date I modified my rebuild proc.

    My "my posts" history only goes back til 2009-03-11 🙁

  • RE: How to split datafiles of a Database in to two

    venu_ksheerasagaram (4/16/2009)


    venu_ksheerasagaram (4/16/2009)


    Hi friends

    ...

  • RE: weird error caused 7hrs of downtime ..

    'sp_OA***' procs have always been on a bumpy road.:sick:

    With sql2005/8, if you can, convert all extended sprocs to CLR modules.

  • RE: Can't kill a process

    it the rollback takes to long, just stop/start sqlserver.

    Also keep in mind, this rollback may cause issues on your linked server (if updated).

  • RE: Query for Time Differences in Hours

    In that case, what would be wrong with this ?

    /*

    What would be wrong with This solution ?

    Keep in mind it starts with date 1900-01-01

    */

    ;With cteSum

    as (

    Select sum...

  • RE: Query for Time Differences in Hours

    You need to add the date column to your time column or you will end up with negative times

    Work with datetime datatype so at the end you just need...

  • RE: Update statistics

    klnsuddu (4/15/2009)


    thanks,

    No need to run the update statistics job for ever or can we run weekly?

    With sql2000 I used to run sp_updatestats and dbcc updateusage (0) with count_rows after the...

  • RE: Restrict Truncation in the tables

    There will be an overhead when deleting rows, and because the dependant table will be empty, that overhead will be minimal.

    But If you have control to that process, you could...

Viewing 15 posts - 3,766 through 3,780 (of 7,496 total)