Forum Replies Created

Viewing 15 posts - 13,846 through 13,860 (of 49,552 total)

  • RE: how to create user that can login to create and edit but cannot delete?

    Or, instead of using the roles, you could GRANT SELECT, INSERT, UPDATE on the database instead.

    Make sure that the login is not sysadmin, the user is not db_owner and you're...

    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 2008 - Min and Max server memory

    kevaburg (3/17/2013)


    I understand to an extent your reasoning about allocating too much at the lower-end but too little at the top end?

    Absolutely. The OS needs memory to manage memory, so...

    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 name is visible but not available.

    kevaburg (3/17/2013)


    My thought was that if a user did not necessarily have sysadmin rights but still had rights to take a database offline, that the act of bringing it back...

    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 name is visible but not available.

    kevaburg (3/17/2013)


    If he is a member of the DDL-ADMIN fixed role he could take a database offline (as far as I am aware) and then bring it online.

    He...

    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: Suggestions on TEMPDB Setup

    TempDB files = 1/2-1/4 the number of cores, start with no more than 8, increase if you're still seeing allocation contention (and only split if you're seeing allocation contention to...

    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 2008 - Min and Max server memory

    kevaburg (3/17/2013)


    Anyway, I use a practice of reserving 2GB for the OS and any applications that may be running independently of the database software.

    Typically that's too much at...

    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: Do Users based on logins in master have access to other databases?

    clintonG (3/17/2013)


    However all I really need to do is disallow Users from deleting data while using a LightSwitch app and I will continue to read and learn how to do...

    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: problem in execute the stored procedure

    pooya1072 (3/16/2013)


    but if i execute the sp , it's execue normal and i can show the result . what this mean?

    It means that Management Studio's local intellisense cache is out...

    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: What happenif we run sql statement

    The query optimiser generates an execution plan, which in this case is a trivial plan that just contains the table scan and select operators. The query execution engine executes that...

    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: O(n) , O(n log n), O(n^2)

    karthik M (3/16/2013)


    How to identify whether a code fall under O(n) / O (n2) / O(n log n) by seeing the code ?

    http://en.wikipedia.org/wiki/Analysis_of_algorithms

    Should get you started. The list 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: what is certificate and its usage

    Did you read all the certificate-related pages in Books Online?

    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: Changing passphrase for EncryptByPassPhrase

    You decrypt the entire column, re-encrypt with the new passphrase and change whereever that passphrase is stored in the app/stored proc.

    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: table partitioning

    That's not how partitioning works. Please go and do some reading on partitioning.

    The sliding window method moves entire partitions from one table to another table. Emphasis on *move*. It's 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: table partitioning

    ratheesh4sql (3/16/2013)


    Based on the article from the link i hope we can do the table partition based on region into 3 partition and after a month we can archive 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: Collation settings

    Replication between two databases on the same instance? Not sure why you'd want to do that, but collation doesn't prevent that, or any other SQL feature from working.

    You can have...

    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 - 13,846 through 13,860 (of 49,552 total)