Forum Replies Created

Viewing 15 posts - 40,246 through 40,260 (of 49,552 total)

  • RE: Deny access to OPENQUERY

    Please post SQL 2000 questions in the SQL 2000 forums in the future.

    It is not possible to restrict users from using openquery. As Books Online notes

    Permissions

    Any user can execute OPENQUERY....

    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: Deny access to OPENQUERY

    Duplicate post. No replies to this thread please. Direct replies to:http://www.sqlservercentral.com/Forums/Topic680206-146-1.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: SQL problem: cachestore flush

    You need to identify what's causing the cache store flush. Is it happening regularly?

    It could be someone running DBCC FREEPROCCACHE

    It could be a database that's set to autoclose

    It could 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: Peformance problem

    David (3/20/2009)


    However

    1. The results could return data from transactions which haven't yet commitment and so could be rolled-back.

    Correct

    2. The results could be inconsistent if the other connection is mid-write. ...

    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: expected tables in tempdb

    ddorfman (3/20/2009)


    Sorry i know im in the 2005 forum , but in have a sql 2008 server and there is only sp 1 for the server.

    And SP1 for 2008 is...

    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: update and group by

    gyessql (3/20/2009)


    Is it possible to use group by this way?

    Why don't you try it and see if SQL likes it or not? Probably faster than waiting for one of use...

    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: My AFTER DELETE Trigger does not work as I expected

    EventData is used in DDL and logon triggers, not DML triggers.

    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: Restore SQL2008 database to SQL2005

    Take a look al SSIS's copy database objects task. I've used that before to 'downgrade' a database.

    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: mid , left , right

    Look up SUBSTRING in Books Online. Lookup CHARINDEX as well.

    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: Peformance problem

    Table definition and index definitions please. Also the execution plan, saved as a .sqlplan file, zipped and attached.

    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: mid, left, right

    Continued here - http://www.sqlservercentral.com/Forums/Topic679935-9-1.aspx

    No more replies to this thread please.

    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: expected tables in tempdb

    umar iqbal (3/19/2009)


    if you want to clean up tempdb u can schedule this script. it will remove temp tables that are older than 12 hrs.

    Did you test out 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: Queries that are running for long time

    All monitoring tools have some impact. You can't check a server's behaviour without using some resources on it.

    For what it's worth, I've never had a noticeable performance degradation from using...

    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: Queries that are running for long time

    SQL Trace. Much lighter weight than the Profiler GUI. There's a recent article at Simple Talk that talks about using SQL Trace to find badly-performing queries.

    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: Secure Programming

    kevin77 (3/19/2009)


    The solution to solving SQL Injection attacks is simply for every RDBMS system to flat out not allow inline SQL. Everything must be done with stored procedures and...

    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 - 40,246 through 40,260 (of 49,552 total)