Forum Replies Created

Viewing 15 posts - 7,741 through 7,755 (of 49,552 total)

  • RE: count of rows.

    CREATE PROC usp_get_counts (@tablename VARCHAR(50))

    AS

    BEGIN

    SELECT SUM(row_count) AS RowCount

    ...

    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 Recover Data From A Corrupt Mdf File?

    Error messages please. Every single message, plus anything that's in the error logs.

    I don't think I've ever seen a case where SQL database files were recovered after deletion and were...

    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: Database Encryption in SQL Server 2012

    Steps are given here:

    http://msdn.microsoft.com/en-us/library/bb934049.aspx

    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: Where's the Thread?

    Koen Verbeeck (9/22/2014)


    Eirikur Eiriksson (9/22/2014)


    There are some other topics missing, some points also went missing, all happened more or less at the same time.

    😎

    Iek, now that you mentioned it, I...

    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 recover SQL server 2005[Standard] Data base in suspeect mode its produciton

    Surely he expects you to figure it out by yourself? Are you going to tell him, when you present the answers, that they were given by other people?

    Anyway, I already...

    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: Where's the Thread?

    Maybe someone accidentally the Thread while cleaning up the weekend's spam (all 8 odd pages of 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: how to concatenate two column value in one column

    SELECT ID, Country + '+{' + CAST(Code as CHAR(2)) + '}' AS Country

    From TableName

    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: In your experience Pros and Cons of sa account in SQL Server in Windows Azure

    Disable the sa account and leave it disabled.

    For an admin account, create your own, windows authent or SQL authent, strong passwords, password policy, all the usual security steps

    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: Diff between offline and online index rebuild operation

    I believe they can both run in parallel.

    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: Altering the DB Role?

    What exactly are you doing?

    Those aren't roles applied to logins. They are database roles, they are applied to the database user.

    Is the login a member of the sysadmin fixed server...

    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: Diff between offline and online index rebuild operation

    Offline = index unavailable for the duration of the operation

    Online = index is available for most of the duration of the operation, more resources required, may take longer than an...

    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: Altering the DB Role?

    You don't alter the role. Users can have many roles. Remove that user from the db_owner role, then add him to the roles you want him to have.

    sp_adddbrole and sp_removedbbrole...

    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: Are the posted questions getting worse?

    Looks like they're scenarios which the previous DBA has set for him.

    i was in to a new organization has to handel the entire setup singly there is no other...

    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 recover SQL server 2005[Standard] Data base in suspeect mode its produciton

    If you have no DR server, then yes, the DB is down until you can finish the restore. No way around that. That's why critical servers should have HA/DR plans,...

    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 the data is stored in Full backup its a backup strategy

    Oh, so these are interview questions you're posting here, not a real set of database problems? Good to know.

    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 - 7,741 through 7,755 (of 49,552 total)