Forum Replies Created

Viewing 15 posts - 2,026 through 2,040 (of 3,221 total)

  • RE: Too Many Indexes

    Tara-1044200

    First be happy that your system is responding rapidly to the users needs, and you have the disc space available to continue what you are doing..

    If response time slows, or...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Record Sorting Problem

    wwei

    the ways I can let it sorted are: don't keep the original identity(the equip_id column on this example), or don't set primary key on the output table

    Do not believe that...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Record Sorting Problem

    wwei

    Thanks, if you have other questions - come on back.

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Index Date

    Here is the code that might do what you require:

    --INdex Size Author: CirquedeSQLeil (Jason ) on SCC

    Declare @DBName varchar(50)

    Set @DBName = 'Yourdatabasename'

    Select Db_name(ps.database_id) as DBName,object_name(ps.object_id) as TableName,I.name as...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Convert a Datetime Parameter in a Stored Procedure

    This bit of code will set the time to be all zeroes.

    DECLARE @midnight DATETIME

    SELECT @midnight = DATEADD(dd,0,DATEDIFF(dd,0,getdate()))

    SELECT @midnight

    Here are some items for date/time you might want to add to your...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: How to design an database for providing concession for school students

    What tables, if any have you designed so far?

    What are the business rules for giving concessions?

    How is the data to be added through a user interface, or?

    Are the values of...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: need way to get disk space used by table

    You might want to use this created by RBarryYoung

    CREATE VIEW vwTableInfo

    --Author: 16-March-2008, RBarryYoung SSC

    AS

    SELECT SCHEMA_NAME(tbl.schema_id) as [Schema]

    , tbl.Name

    , Coalesce((Select pr.name

    From sys.database_principals pr

    Where pr.principal_id = tbl.principal_id)

    , SCHEMA_NAME(tbl.schema_id)) as...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Record Sorting Problem

    As per Jeff change your final select statement to:

    SELECT * FROM equip_output ORDER BY equipnum

    --giving you this output

    equip_idequipnumpaid

    4 44200 ...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Find all objects that use this view?

    Try this

    SQL Server 2008 Books Online (November 2009)

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

    Think it has all that your need.

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Primary Keys

    Still, a great question. I really hope that Paul and Kimberly continue to submit questions, even if they don't have a seminar to promote.

    Heck either way. I've had...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: How do you determine what procedure performed an update on a table?

    I need to also track what procedure is performing the update

    Assuming (and you know what that makes of me = SELECT SUBSTRING('assuming',1,3))

    The following code will return all stored procedures that...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: SQL Script for combine string using 2 tables

    Vijji-429978

    You will get tested assistance if you post the table definitions, some sample data and what you have attempted. Following the suggestions contained in the first link of my...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Are the posted questions getting worse?

    Roy Ernest

    If a SQL Saturday was arranged in our tiny island of Curacao, Would any of you ladies and Gents show up for it?

    Using this site, I think by...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Index size

    Look at the dynamic managment view to see if it has what you are looking for.

    sys.dm_db_index_physical_stats

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

  • RE: Be Responsible

    Tom.Thomson

    If clear warnings were given at first offence the continued offending should make them comparatively easy to fire.

    Used to work for company where the first offense was titled...

    If everything seems to be going well, you have obviously overlooked something.

    Ron

    Please help us, help you -before posting a question please read[/url]
    Before posting a performance problem please read[/url]

Viewing 15 posts - 2,026 through 2,040 (of 3,221 total)