Forum Replies Created

Viewing 15 posts - 31,171 through 31,185 (of 49,552 total)

  • RE: Insert spaces into a decimal field

    There is no way. Decimal is a numeric field, it can store numbers only and anything inserted into it is converted to a numeric representation. A space 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: How to find DB size in Sql 2008/2005

    Allocated as in used space in files?

    sp_spaceused for data. DBCC SQLPERF(LogSpace) for the log.

    Why is this urgent?

    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 express edition complete link

    You need to download Management Studio express as well.

    I don't have the link handy, but a google search for "Management Studio Express" site:mirosoft.com will find 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: help needed in code tuning.

    g.hanuman.c (8/18/2010)


    SQL query for the Northwind sample database (free download). The results obtained by the SQL query return the exact data required, but the query itself does not meet...

    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: Index Defragmentation

    Don't use ShowContig. It's deprecated, will be removed in a future version of SQL server and should not be used for new development.

    The replacement is sys.dm_db_index_physical_stats

    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: Extent allocated to more than on object

    Glad to hear. Tedious to do, but at least you didn't lose a couple month's data.

    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: MaintenancePlan order

    Please post new questions in a new thread. Thank you.

    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 an existing stored proc

    Alter != Drop + Create

    If the Alter failed, then the change of that proc failed and the original one will still be 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
  • RE: Recent Queries

    Sharon Kumar (8/18/2010)


    Once we execute a query, in which location it is stored, and how many days it will be in there

    Executed queries are not stored anywhere.

    What you were querying...

    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: Truncate

    Ken@Work (8/18/2010)


    I've added ddl_admin to the people that need to execute this Stored Procedure.

    Just bear in mind that ddl_admin gives them the permission to create, alter and drop any table,...

    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: Recent Queries

    Mohit K. Gupta (8/18/2010)


    This DMV I think keeps last 500 entries only

    That's the missing index DMV.

    Query stats returns data on the actual, current contents of the plan cache. It 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: Truncate

    iirc, to truncate a table you have to be either

    1) Owner of the table

    2) member of ddl_admin fixed database role.

    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: query sent to suspend mode

    A PageIOLatch is placed onto a page while SQL is moving that page from disk to memory or memory to disk. Significant wait times on that may indicate a poorly...

    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: Date Conversion Fills the Transaction log

    R0gu3Tr4d3r (8/18/2010)


    The WHERE clause doesnt apply to the 'top 100000'

    The Where applies to the table, filters out the rows where the conversion has not been done, that results in 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: ssis and ssrs interview questions

    Raunak Jhawar (8/18/2010)


    Phil...newbie asking for help...don't be mean..

    No one's been mean, just realistic. Memorising answers to interview questions is not going to fool a good interviewer. If it fools 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

Viewing 15 posts - 31,171 through 31,185 (of 49,552 total)