Forum Replies Created

Viewing 15 posts - 43,456 through 43,470 (of 49,552 total)

  • RE: How to delete...

    If all you want to do is remove the P character from the columns, then this will work

    UPDATE SomeTable

    SET SomeColumn = REPLACE(SomeColumn,'P','')

    WHERE SomeColumn LIKE...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: constructing a stored proceedure

    debbie.coates (10/29/2008)


    If I did it this way, would I then have to define all the columns headings/size etc ?

    Yes.

    CREATE TABLE #MyTable (

    ....

    )

    If you don't want to type, then on a...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Clustering

    Hany Ahmad (10/29/2008)


    Thx For your replay.

    what i m trying to do is that i need to cluster the database for recovery at the same time with performance.

    Clustering is not a...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Why we need to use UPDATE STATISTICS ?

    ALZDBA (10/29/2008)


    Actually yesterday I ran into a pk having NULL for stats date, and the table contained +/- 9000 rows.

    A secondary index did have a stats date...

    Coincidentally, I ran into...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: how to Split DateTime value in seprate date and time column

    Getting the date only is fairly easy

    select dateadd(dd, datediff(dd,0, getdate()),0)

    Easiest way to get the time is probably to convert the date to varchar and use substring to get the time...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: The process could not execute 'sp_replcmds' on '--Name withheld--'.

    It might, but then you'll have to reinitialise the replication. I'm concerned about that error recreating transactions from the log.

    Just to be safe, can you run the following command...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: restoring encrypted content

    It might. I don't know where reporting services stores its keys.

    First check and see what's missing. If it is just the connection strings on the data sources, it shouldn't be...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: sql auditing triggers

    nzubaria (10/28/2008)


    Hi

    Actually I am Developing a Database Auditing Infrastructure. I am working in SQL Server 2005.

    So my main focus of area is "SQL Triggers" and "stored Procedures". I ask...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Locks held by a deleted log-in

    todd_dawson (10/28/2008)


    Well I tried tracing the listed event categories, and got no results, so I traced every transaction on the server, if it could be checked marked I checked it....

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Updating Aging Databases

    Wayne West (10/28/2008)


    I'd like to see what the number of users who've posted in the last year is. But that's just me.

    I'd hazard a guess that most of...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Most recent date / most recent sequence where site not in

    What would the output be for the sample data given?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Default 2000 server and database DID NOT get upgraded to 2005

    koln (10/28/2008)


    GilaMonster,

    I went to Add/Remove Progs. and saw that SQL Server 2005 (and 2000) was installed.

    What components of 2000 and 2005?

    I'd say run the upgrade from scratch and pay close...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Default 2000 server and database DID NOT get upgraded to 2005

    What parts of SQL 2005 do you have installed? (Check add-remove programs). What SQL-related services are running?

    It's very easy to go through the upgrade and not upgrade any of the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Transaction Log Backup Failed every night!!

    Leo (10/28/2008)


    You are right, I run the full backup at 1:00AM then Tran Log backup at 4:00AM. As you said, that is completed waste of my time coz......nobody using the...

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass
  • RE: Default 2000 server and database DID NOT get upgraded to 2005

    What did it install? A named instance? Did the installation give any errors?

    Look in the services app. What SQL services are there?

    Gail Shaw
    Microsoft Certified Master: SQL Server, MVP, M.Sc (Comp Sci)
    SQL In The Wild: Discussions on DB performance with occasional diversions into recoverability

    We walk in the dark places no others will enter
    We stand on the bridge and no one may pass

Viewing 15 posts - 43,456 through 43,470 (of 49,552 total)